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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2743|  98.7M|        {
 2744|  98.7M|             destroy();
 2745|  98.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  884|  98.7M|        {
  885|  98.7M|            switch (storage_kind())
  886|  98.7M|            {
  887|  8.48k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (887:17): [True: 8.48k, False: 98.6M]
  ------------------
  888|  8.48k|                {
  889|  8.48k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (889:25): [True: 8.48k, False: 0]
  ------------------
  890|  8.48k|                    {
  891|  8.48k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  892|  8.48k|                    }
  893|  8.48k|                    break;
  894|      0|                }
  895|   230k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (895:17): [True: 230k, False: 98.4M]
  ------------------
  896|   230k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (896:25): [True: 230k, False: 0]
  ------------------
  897|   230k|                    {
  898|   230k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  899|   230k|                    }
  900|   230k|                    break;
  901|  4.57M|                case json_storage_kind::array:
  ------------------
  |  Branch (901:17): [True: 4.57M, False: 94.1M]
  ------------------
  902|  4.57M|                {
  903|  4.57M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (903:25): [True: 4.57M, False: 0]
  ------------------
  904|  4.57M|                    {
  905|  4.57M|                        auto& stor = cast<array_storage>();
  906|  4.57M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  907|  4.57M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  908|  4.57M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  909|  4.57M|                    }
  910|  4.57M|                    break;
  911|      0|                }
  912|  2.67M|                case json_storage_kind::object:
  ------------------
  |  Branch (912:17): [True: 2.67M, False: 96.0M]
  ------------------
  913|  2.67M|                {
  914|  2.67M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (914:25): [True: 2.67M, False: 0]
  ------------------
  915|  2.67M|                    {
  916|  2.67M|                        auto& stor = cast<object_storage>();
  917|  2.67M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  918|  2.67M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  919|  2.67M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  920|  2.67M|                    }
  921|  2.67M|                    break;
  922|      0|                }
  923|  91.2M|                default:
  ------------------
  |  Branch (923:17): [True: 91.2M, False: 7.48M]
  ------------------
  924|  91.2M|                    break;
  925|  98.7M|            }
  926|  98.7M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1430|   237M|        {
 1431|       |            // It is legal to access 'common_.storage_kind_' even though 
 1432|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1433|       |            // is a part of the common initial sequence of all union members
 1434|       |            // as defined in 11.4-25 of the Standard.
 1435|   237M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1436|   237M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
  990|  85.1k|        {
  991|  85.1k|            return cast(identity<T>());
  992|  85.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1081|  85.1k|        {
 1082|  85.1k|            return long_str_;
 1083|  85.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
  990|  1.68M|        {
  991|  1.68M|            return cast(identity<T>());
  992|  1.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1091|  1.68M|        {
 1092|  1.68M|            return byte_str_;
 1093|  1.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
  990|  37.5M|        {
  991|  37.5M|            return cast(identity<T>());
  992|  37.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1111|  37.5M|        {
 1112|  37.5M|            return array_;
 1113|  37.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2275|  66.1M|        {
 2276|  66.1M|            uninitialized_move(std::move(other));
 2277|  66.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1272|  66.1M|        {
 1273|  66.1M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1273:17): [True: 51.3M, False: 14.7M]
  ------------------
 1274|  51.3M|            {
 1275|  51.3M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1276|  51.3M|            }
 1277|  14.7M|            else
 1278|  14.7M|            {
 1279|  14.7M|                switch (other.storage_kind())
 1280|  14.7M|                {
 1281|  13.7k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1281:21): [True: 13.7k, False: 14.7M]
  ------------------
 1282|  13.7k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1283|  13.7k|                        other.construct<null_storage>();
 1284|  13.7k|                        break;
 1285|   446k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1285:21): [True: 446k, False: 14.3M]
  ------------------
 1286|   446k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1287|   446k|                        other.construct<null_storage>();
 1288|   446k|                        break;
 1289|  8.92M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1289:21): [True: 8.92M, False: 5.86M]
  ------------------
 1290|  8.92M|                        construct<array_storage>(other.cast<array_storage>());
 1291|  8.92M|                        other.construct<null_storage>();
 1292|  8.92M|                        break;
 1293|  5.40M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1293:21): [True: 5.40M, False: 9.38M]
  ------------------
 1294|  5.40M|                        construct<object_storage>(other.cast<object_storage>());
 1295|  5.40M|                        other.construct<null_storage>();
 1296|  5.40M|                        break;
 1297|      0|                    default:
  ------------------
  |  Branch (1297:21): [True: 0, False: 14.7M]
  ------------------
 1298|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1299|      0|                        break;
 1300|  14.7M|                }
 1301|  14.7M|            }
 1302|  66.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
  981|  29.8k|        {
  982|  29.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  29.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  630|  45.9k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  631|  45.9k|            {
  632|  45.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
  981|  14.7M|        {
  982|  14.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  14.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
  990|  20.6M|        {
  991|  20.6M|            return cast(identity<T>());
  992|  20.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1001|  20.6M|        {
 1002|  20.6M|            return null_;
 1003|  20.6M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  454|  16.5M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  455|  16.5M|            {
  456|  16.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
  981|   498k|        {
  982|   498k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|   498k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  679|   551k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  680|   551k|            {
  681|   551k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
  981|  10.2M|        {
  982|  10.2M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  10.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  731|  11.5M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  732|  11.5M|            {
  733|  11.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
  981|  6.49M|        {
  982|  6.49M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  6.49M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  781|  7.57M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  782|  7.57M|            {
  783|  7.57M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4707|  44.8k|        {
 4708|  44.8k|            switch (storage_kind())
 4709|  44.8k|            {
 4710|  44.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (4710:17): [True: 44.8k, False: 0]
  ------------------
 4711|  44.8k|                    return array_range_type(cast<array_storage>().value().begin(),
 4712|  44.8k|                        cast<array_storage>().value().end());
 4713|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4713:17): [True: 0, False: 44.8k]
  ------------------
 4714|      0|                    return cast<ref_storage>().value().array_range();
 4715|      0|                default:
  ------------------
  |  Branch (4715:17): [True: 0, False: 44.8k]
  ------------------
 4716|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4717|  44.8k|            }
 4718|  44.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  754|  3.38M|            {
  755|  3.38M|                return *ptr_;
  756|  3.38M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  353|  44.8k|            : first_(first), last_(last)
  354|  44.8k|        {
  355|  44.8k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  358|  44.8k|        {
  359|  44.8k|            return first_;
  360|  44.8k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  362|  44.8k|        {
  363|  44.8k|            return last_;
  364|  44.8k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3387|   163k|        {
 3388|   163k|            switch (storage_kind())
 3389|   163k|            {
 3390|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3390:17): [True: 0, False: 163k]
  ------------------
 3391|      0|                    return cast<byte_string_storage>().length() == 0;
 3392|      0|                    break;
 3393|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3393:17): [True: 0, False: 163k]
  ------------------
 3394|      0|                    return cast<short_string_storage>().length() == 0;
 3395|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3395:17): [True: 0, False: 163k]
  ------------------
 3396|      0|                    return cast<long_string_storage>().length() == 0;
 3397|   117k|                case json_storage_kind::array:
  ------------------
  |  Branch (3397:17): [True: 117k, False: 46.2k]
  ------------------
 3398|   117k|                    return cast<array_storage>().value().empty();
 3399|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3399:17): [True: 0, False: 163k]
  ------------------
 3400|      0|                    return true;
 3401|  46.2k|                case json_storage_kind::object:
  ------------------
  |  Branch (3401:17): [True: 46.2k, False: 117k]
  ------------------
 3402|  46.2k|                    return cast<object_storage>().value().empty();
 3403|      0|                case json_storage_kind::json_const_ref:
  ------------------
  |  Branch (3403:17): [True: 0, False: 163k]
  ------------------
 3404|      0|                    return cast<const_ref_storage>().value().empty();
 3405|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3405:17): [True: 0, False: 163k]
  ------------------
 3406|      0|                    return cast<ref_storage>().value().empty();
 3407|      0|                default:
  ------------------
  |  Branch (3407:17): [True: 0, False: 163k]
  ------------------
 3408|      0|                    return false;
 3409|   163k|            }
 3410|   163k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
  996|   117k|        {
  997|   117k|            return cast(identity<T>());
  998|   117k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1116|   117k|        {
 1117|   117k|            return array_;
 1118|   117k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  759|   117k|            {
  760|   117k|                return *ptr_;
  761|   117k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
  996|  46.2k|        {
  997|  46.2k|            return cast(identity<T>());
  998|  46.2k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1106|  46.2k|        {
 1107|  46.2k|            return object_;
 1108|  46.2k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  805|  46.2k|            {
  806|  46.2k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  46.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 46.2k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  807|  46.2k|                return *ptr_;
  808|  46.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4103|   397k|        {
 4104|   397k|            switch (storage_kind())
 4105|   397k|            {
 4106|  44.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (4106:17): [True: 44.8k, False: 352k]
  ------------------
 4107|  44.8k|                    cast<array_storage>().value().clear();
 4108|  44.8k|                    break;
 4109|   352k|                case json_storage_kind::object:
  ------------------
  |  Branch (4109:17): [True: 352k, False: 44.8k]
  ------------------
 4110|   352k|                    cast<object_storage>().value().clear();
 4111|   352k|                    break;
 4112|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4112:17): [True: 0, False: 397k]
  ------------------
 4113|      0|                    cast<ref_storage>().value().clear();
 4114|      0|                    break;
 4115|      0|                default:
  ------------------
  |  Branch (4115:17): [True: 0, False: 397k]
  ------------------
 4116|      0|                    break;
 4117|   397k|            }
 4118|   397k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  799|  1.10M|            {
  800|  1.10M|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  1.10M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.10M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  801|  1.10M|                return *ptr_;
  802|  1.10M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4673|   352k|        {
 4674|   352k|            switch (storage_kind())
 4675|   352k|            {
 4676|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4676:17): [True: 0, False: 352k]
  ------------------
 4677|      0|                    return object_range_type(object_iterator(), object_iterator());
 4678|   352k|                case json_storage_kind::object:
  ------------------
  |  Branch (4678:17): [True: 352k, False: 0]
  ------------------
 4679|   352k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4680|   352k|                                                  object_iterator(cast<object_storage>().value().end()));
 4681|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4681:17): [True: 0, False: 352k]
  ------------------
 4682|      0|                    return cast<ref_storage>().value().object_range();
 4683|      0|                default:
  ------------------
  |  Branch (4683:17): [True: 0, False: 352k]
  ------------------
 4684|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4685|   352k|            }
 4686|   352k|        }
_ZN8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEEC2ERKSI_SP_:
  353|   352k|            : first_(first), last_(last)
  354|   352k|        {
  355|   352k|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  122|   704k|            explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)  
  123|   704k|            {
  124|   704k|            }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  358|   352k|        {
  359|   352k|            return first_;
  360|   352k|        }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  362|   352k|        {
  363|   352k|            return last_;
  364|   352k|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  225|   446k|            {
  226|   446k|                return !(*this == rhs);
  227|   446k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  213|   446k|            {
  214|   446k|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (214:21): [True: 0, False: 446k]
  |  Branch (214:36): [True: 0, False: 446k]
  ------------------
  215|      0|                {
  216|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (216:28): [True: 0, False: 0]
  ------------------
  217|      0|                }
  218|   446k|                else
  219|   446k|                {
  220|   446k|                    return it_ == rhs.it_;
  221|   446k|                }
  222|   446k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  144|  93.9k|            {
  145|  93.9k|                return *it_;
  146|  93.9k|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  154|  93.9k|            {
  155|  93.9k|                ++it_;
  156|  93.9k|                return *this;
  157|  93.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
  990|  22.1M|        {
  991|  22.1M|            return cast(identity<T>());
  992|  22.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1101|  22.1M|        {
 1102|  22.1M|            return object_;
 1103|  22.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2243|  6.63k|        {
 2244|  6.63k|            construct<empty_object_storage>(semantic_tag::none);
 2245|  6.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
  981|  6.63k|        {
  982|  6.63k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  6.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
  990|  11.1k|        {
  991|  11.1k|            return cast(identity<T>());
  992|  11.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1011|  11.1k|        {
 1012|  11.1k|            return empty_object_;
 1013|  11.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  466|  6.63k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  467|  6.63k|            {
  468|  6.63k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3446|  18.6k|        {
 3447|  18.6k|            if (n > 0)
  ------------------
  |  Branch (3447:17): [True: 18.6k, False: 0]
  ------------------
 3448|  18.6k|            {
 3449|  18.6k|                switch (storage_kind())
 3450|  18.6k|                {
 3451|  18.6k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3451:21): [True: 18.6k, False: 0]
  ------------------
 3452|  18.6k|                        cast<array_storage>().value().reserve(n);
 3453|  18.6k|                        break;
 3454|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3454:21): [True: 0, False: 18.6k]
  ------------------
 3455|      0|                        create_object_implicitly();
 3456|      0|                        cast<object_storage>().value().reserve(n);
 3457|      0|                        break;
 3458|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3458:21): [True: 0, False: 18.6k]
  ------------------
 3459|      0|                        cast<object_storage>().value().reserve(n);
 3460|      0|                        break;
 3461|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3461:21): [True: 0, False: 18.6k]
  ------------------
 3462|      0|                        cast<ref_storage>().value().reserve(n);
 3463|      0|                        break;
 3464|      0|                    default:
  ------------------
  |  Branch (3464:21): [True: 0, False: 18.6k]
  ------------------
 3465|      0|                        break;
 3466|  18.6k|                }
 3467|  18.6k|            }
 3468|  18.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2288|  2.67M|        {
 2289|  2.67M|            auto ptr = create_object(alloc);
 2290|  2.67M|            construct<object_storage>(ptr, tag);
 2291|  2.67M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  962|  2.67M|        {
  963|  2.67M|            using stor_allocator_type = typename object_storage::allocator_type;
  964|  2.67M|            stor_allocator_type stor_alloc(alloc);
  965|  2.67M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  966|  2.67M|            JSONCONS_TRY
  ------------------
  |  |   37|  2.67M|    #define JSONCONS_TRY try
  ------------------
  967|  2.67M|            {
  968|  2.67M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  969|  2.67M|                    std::forward<Args>(args)...);
  970|  2.67M|            }
  971|  2.67M|            JSONCONS_CATCH(...)
  972|  2.67M|            {
  973|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  974|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  975|      0|            }
  976|  2.67M|            return ptr;
  977|  2.67M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  981|  2.67M|        {
  982|  2.67M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.67M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  776|  2.67M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  777|  2.67M|            {
  778|  2.67M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1421|  18.9M|        {
 1422|  18.9M|            if (this != &other)
  ------------------
  |  Branch (1422:17): [True: 18.9M, False: 0]
  ------------------
 1423|  18.9M|            {
 1424|  18.9M|                move_assignment(std::move(other));
 1425|  18.9M|            }
 1426|  18.9M|            return *this;
 1427|  18.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1373|  18.9M|        {
 1374|  18.9M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1374:17): [True: 18.9M, False: 0]
  |  Branch (1374:55): [True: 16.4M, False: 2.46M]
  ------------------
 1375|  16.4M|            {
 1376|  16.4M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1377|  16.4M|            }
 1378|  2.46M|            else
 1379|  2.46M|            {
 1380|  2.46M|                swap(other);
 1381|  2.46M|            }
 1382|  18.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4649|  3.23M|        {
 4650|  3.23M|            switch (storage_kind())
 4651|  3.23M|            {
 4652|  3.23M|                case json_storage_kind::array:
  ------------------
  |  Branch (4652:17): [True: 3.23M, False: 0]
  ------------------
 4653|  3.23M|                    cast<array_storage>().value().push_back(std::move(val));
 4654|  3.23M|                    break;
 4655|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4655:17): [True: 0, False: 3.23M]
  ------------------
 4656|      0|                    cast<ref_storage>().value().push_back(std::move(val));
 4657|      0|                    break;
 4658|      0|                default:
  ------------------
  |  Branch (4658:17): [True: 0, False: 3.23M]
  ------------------
 4659|      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
  ------------------
 4660|  3.23M|            }
 4661|  3.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1902|  2.46M|        {
 1903|  2.46M|            if (this == &other)
  ------------------
  |  Branch (1903:17): [True: 0, False: 2.46M]
  ------------------
 1904|      0|            {
 1905|      0|                return;
 1906|      0|            }
 1907|  2.46M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1907:17): [True: 2.46M, False: 0]
  |  Branch (1907:55): [True: 0, False: 2.46M]
  ------------------
 1908|      0|            {
 1909|      0|                basic_json temp;               
 1910|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1911|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1912|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1913|      0|            }
 1914|  2.46M|            else
 1915|  2.46M|            {
 1916|  2.46M|                switch (storage_kind())
 1917|  2.46M|                {
 1918|  2.05M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1918:21): [True: 2.05M, False: 418k]
  ------------------
 1919|  2.24k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1919:21): [True: 2.24k, False: 2.46M]
  ------------------
 1920|  40.5k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1920:21): [True: 40.5k, False: 2.42M]
  ------------------
 1921|  46.6k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1921:21): [True: 46.6k, False: 2.42M]
  ------------------
 1922|   317k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1922:21): [True: 317k, False: 2.15M]
  ------------------
 1923|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1923:21): [True: 0, False: 2.46M]
  ------------------
 1924|  1.32k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1924:21): [True: 1.32k, False: 2.46M]
  ------------------
 1925|  9.98k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1925:21): [True: 9.98k, False: 2.45M]
  ------------------
 1926|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1926:21): [True: 0, False: 2.46M]
  ------------------
 1927|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1927:21): [True: 0, False: 2.46M]
  ------------------
 1928|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1928:21): [True: 0, False: 2.46M]
  ------------------
 1929|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1929:21): [True: 0, False: 2.46M]
  ------------------
 1930|      0|                    case json_storage_kind::json_const_ref: swap_l<const_ref_storage>(other); break;
  ------------------
  |  Branch (1930:21): [True: 0, False: 2.46M]
  ------------------
 1931|      0|                    case json_storage_kind::json_ref: swap_l<ref_storage>(other); break;
  ------------------
  |  Branch (1931:21): [True: 0, False: 2.46M]
  ------------------
 1932|      0|                    default:
  ------------------
  |  Branch (1932:21): [True: 0, False: 2.46M]
  ------------------
 1933|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1934|      0|                        break;
 1935|  2.46M|                }
 1936|  2.46M|            }
 1937|  2.46M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1156|  2.05M|        {
 1157|  2.05M|            switch (other.storage_kind())
 1158|  2.05M|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 2.05M]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 2.05M]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 2.05M]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 2.05M]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 2.05M]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 2.05M]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 2.05M]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 2.05M]
  ------------------
 1167|  5.18k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 5.18k, False: 2.04M]
  ------------------
 1168|  31.9k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 31.9k, False: 2.01M]
  ------------------
 1169|  1.05M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 1.05M, False: 992k]
  ------------------
 1170|   954k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 954k, False: 1.09M]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.05M]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.05M]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.05M]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  2.05M|            }
 1177|  2.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
  981|  2.05M|        {
  982|  2.05M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
  981|  2.24k|        {
  982|  2.24k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.24k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
  990|  2.32M|        {
  991|  2.32M|            return cast(identity<T>());
  992|  2.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1021|  2.32M|        {
 1022|  2.32M|            return boolean_;
 1023|  2.32M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
  981|  40.5k|        {
  982|  40.5k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  40.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
  990|  3.21M|        {
  991|  3.21M|            return cast(identity<T>());
  992|  3.21M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1031|  3.21M|        {
 1032|  3.21M|            return int64_;
 1033|  3.21M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
  981|  46.6k|        {
  982|  46.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  46.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
  990|  18.0M|        {
  991|  18.0M|            return cast(identity<T>());
  992|  18.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1041|  18.0M|        {
 1042|  18.0M|            return uint64_;
 1043|  18.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
  981|   317k|        {
  982|   317k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|   317k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
  990|  59.4k|        {
  991|  59.4k|            return cast(identity<T>());
  992|  59.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1061|  59.4k|        {
 1062|  59.4k|            return float64_;
 1063|  59.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
  981|  1.32k|        {
  982|  1.32k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  1.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
  990|   487k|        {
  991|   487k|            return cast(identity<T>());
  992|   487k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1071|   487k|        {
 1072|   487k|            return short_str_;
 1073|   487k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  589|  9.98k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  590|  9.98k|            {
  591|  9.98k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  592|  9.98k|                data_[short_str_length_] = 0;
  593|  9.98k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
  981|  9.98k|        {
  982|  9.98k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  9.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1142|  5.18k|        {
 1143|  5.18k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  5.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  5.18k|        {
 1149|  5.18k|            TypeR temp{other.cast<TypeR>()};
 1150|  5.18k|            other.construct<TypeL>(cast<TypeL>());
 1151|  5.18k|            construct<TypeR>(temp);
 1152|  5.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1142|  31.9k|        {
 1143|  31.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  31.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  31.9k|        {
 1149|  31.9k|            TypeR temp{other.cast<TypeR>()};
 1150|  31.9k|            other.construct<TypeL>(cast<TypeL>());
 1151|  31.9k|            construct<TypeR>(temp);
 1152|  31.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1142|  1.05M|        {
 1143|  1.05M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  1.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  1.05M|        {
 1149|  1.05M|            TypeR temp{other.cast<TypeR>()};
 1150|  1.05M|            other.construct<TypeL>(cast<TypeL>());
 1151|  1.05M|            construct<TypeR>(temp);
 1152|  1.05M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1142|   954k|        {
 1143|   954k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|   954k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|   954k|        {
 1149|   954k|            TypeR temp{other.cast<TypeR>()};
 1150|   954k|            other.construct<TypeL>(cast<TypeL>());
 1151|   954k|            construct<TypeR>(temp);
 1152|   954k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1156|  2.24k|        {
 1157|  2.24k|            switch (other.storage_kind())
 1158|  2.24k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 2.24k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 2.24k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 2.24k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 2.24k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 2.24k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 2.24k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 2.24k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 2.24k]
  ------------------
 1167|    725|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 725, False: 1.52k]
  ------------------
 1168|     11|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 11, False: 2.23k]
  ------------------
 1169|    216|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 216, False: 2.03k]
  ------------------
 1170|  1.29k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 1.29k, False: 952]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 2.24k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 2.24k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 2.24k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  2.24k|            }
 1177|  2.24k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1142|    725|        {
 1143|    725|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    725|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    725|        {
 1149|    725|            TypeR temp{other.cast<TypeR>()};
 1150|    725|            other.construct<TypeL>(cast<TypeL>());
 1151|    725|            construct<TypeR>(temp);
 1152|    725|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1142|     11|        {
 1143|     11|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|     11|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|     11|        {
 1149|     11|            TypeR temp{other.cast<TypeR>()};
 1150|     11|            other.construct<TypeL>(cast<TypeL>());
 1151|     11|            construct<TypeR>(temp);
 1152|     11|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1142|    216|        {
 1143|    216|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    216|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    216|        {
 1149|    216|            TypeR temp{other.cast<TypeR>()};
 1150|    216|            other.construct<TypeL>(cast<TypeL>());
 1151|    216|            construct<TypeR>(temp);
 1152|    216|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1142|  1.29k|        {
 1143|  1.29k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  1.29k|        {
 1149|  1.29k|            TypeR temp{other.cast<TypeR>()};
 1150|  1.29k|            other.construct<TypeL>(cast<TypeL>());
 1151|  1.29k|            construct<TypeR>(temp);
 1152|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1156|  40.5k|        {
 1157|  40.5k|            switch (other.storage_kind())
 1158|  40.5k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 40.5k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 40.5k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 40.5k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 40.5k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 40.5k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 40.5k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 40.5k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 40.5k]
  ------------------
 1167|    307|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 307, False: 40.2k]
  ------------------
 1168|    626|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 626, False: 39.9k]
  ------------------
 1169|  25.0k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 25.0k, False: 15.5k]
  ------------------
 1170|  14.6k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 14.6k, False: 25.9k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 40.5k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 40.5k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 40.5k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  40.5k|            }
 1177|  40.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1142|    307|        {
 1143|    307|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    307|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    307|        {
 1149|    307|            TypeR temp{other.cast<TypeR>()};
 1150|    307|            other.construct<TypeL>(cast<TypeL>());
 1151|    307|            construct<TypeR>(temp);
 1152|    307|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1142|    626|        {
 1143|    626|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    626|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    626|        {
 1149|    626|            TypeR temp{other.cast<TypeR>()};
 1150|    626|            other.construct<TypeL>(cast<TypeL>());
 1151|    626|            construct<TypeR>(temp);
 1152|    626|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1142|  25.0k|        {
 1143|  25.0k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  25.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  25.0k|        {
 1149|  25.0k|            TypeR temp{other.cast<TypeR>()};
 1150|  25.0k|            other.construct<TypeL>(cast<TypeL>());
 1151|  25.0k|            construct<TypeR>(temp);
 1152|  25.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1142|  14.6k|        {
 1143|  14.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  14.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  14.6k|        {
 1149|  14.6k|            TypeR temp{other.cast<TypeR>()};
 1150|  14.6k|            other.construct<TypeL>(cast<TypeL>());
 1151|  14.6k|            construct<TypeR>(temp);
 1152|  14.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1156|  46.6k|        {
 1157|  46.6k|            switch (other.storage_kind())
 1158|  46.6k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 46.6k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 46.6k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 46.6k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 46.6k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 46.6k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 46.6k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 46.6k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 46.6k]
  ------------------
 1167|  2.13k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 2.13k, False: 44.5k]
  ------------------
 1168|  2.78k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 2.78k, False: 43.9k]
  ------------------
 1169|  25.4k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 25.4k, False: 21.2k]
  ------------------
 1170|  16.3k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 16.3k, False: 30.3k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 46.6k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 46.6k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 46.6k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  46.6k|            }
 1177|  46.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1142|  2.13k|        {
 1143|  2.13k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  2.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  2.13k|        {
 1149|  2.13k|            TypeR temp{other.cast<TypeR>()};
 1150|  2.13k|            other.construct<TypeL>(cast<TypeL>());
 1151|  2.13k|            construct<TypeR>(temp);
 1152|  2.13k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1142|  2.78k|        {
 1143|  2.78k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  2.78k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  2.78k|        {
 1149|  2.78k|            TypeR temp{other.cast<TypeR>()};
 1150|  2.78k|            other.construct<TypeL>(cast<TypeL>());
 1151|  2.78k|            construct<TypeR>(temp);
 1152|  2.78k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1142|  25.4k|        {
 1143|  25.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  25.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  25.4k|        {
 1149|  25.4k|            TypeR temp{other.cast<TypeR>()};
 1150|  25.4k|            other.construct<TypeL>(cast<TypeL>());
 1151|  25.4k|            construct<TypeR>(temp);
 1152|  25.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1142|  16.3k|        {
 1143|  16.3k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  16.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  16.3k|        {
 1149|  16.3k|            TypeR temp{other.cast<TypeR>()};
 1150|  16.3k|            other.construct<TypeL>(cast<TypeL>());
 1151|  16.3k|            construct<TypeR>(temp);
 1152|  16.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1156|   317k|        {
 1157|   317k|            switch (other.storage_kind())
 1158|   317k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 317k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 317k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 317k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 317k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 317k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 317k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 317k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 317k]
  ------------------
 1167|  6.88k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 6.88k, False: 310k]
  ------------------
 1168|  16.2k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 16.2k, False: 301k]
  ------------------
 1169|   202k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 202k, False: 115k]
  ------------------
 1170|  91.8k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 91.8k, False: 225k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 317k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 317k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 317k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|   317k|            }
 1177|   317k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1142|  6.88k|        {
 1143|  6.88k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  6.88k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  6.88k|        {
 1149|  6.88k|            TypeR temp{other.cast<TypeR>()};
 1150|  6.88k|            other.construct<TypeL>(cast<TypeL>());
 1151|  6.88k|            construct<TypeR>(temp);
 1152|  6.88k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1142|  16.2k|        {
 1143|  16.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  16.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  16.2k|        {
 1149|  16.2k|            TypeR temp{other.cast<TypeR>()};
 1150|  16.2k|            other.construct<TypeL>(cast<TypeL>());
 1151|  16.2k|            construct<TypeR>(temp);
 1152|  16.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1142|   202k|        {
 1143|   202k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|   202k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|   202k|        {
 1149|   202k|            TypeR temp{other.cast<TypeR>()};
 1150|   202k|            other.construct<TypeL>(cast<TypeL>());
 1151|   202k|            construct<TypeR>(temp);
 1152|   202k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1142|  91.8k|        {
 1143|  91.8k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  91.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  91.8k|        {
 1149|  91.8k|            TypeR temp{other.cast<TypeR>()};
 1150|  91.8k|            other.construct<TypeL>(cast<TypeL>());
 1151|  91.8k|            construct<TypeR>(temp);
 1152|  91.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1156|  1.32k|        {
 1157|  1.32k|            switch (other.storage_kind())
 1158|  1.32k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 1.32k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 1.32k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 1.32k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 1.32k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 1.32k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 1.32k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 1.32k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 1.32k]
  ------------------
 1167|    324|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 324, False: 1.00k]
  ------------------
 1168|    270|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 270, False: 1.05k]
  ------------------
 1169|    431|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 431, False: 894]
  ------------------
 1170|    300|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 300, False: 1.02k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 1.32k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 1.32k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 1.32k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  1.32k|            }
 1177|  1.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1142|    324|        {
 1143|    324|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    324|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    324|        {
 1149|    324|            TypeR temp{other.cast<TypeR>()};
 1150|    324|            other.construct<TypeL>(cast<TypeL>());
 1151|    324|            construct<TypeR>(temp);
 1152|    324|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1142|    270|        {
 1143|    270|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    270|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    270|        {
 1149|    270|            TypeR temp{other.cast<TypeR>()};
 1150|    270|            other.construct<TypeL>(cast<TypeL>());
 1151|    270|            construct<TypeR>(temp);
 1152|    270|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1142|    431|        {
 1143|    431|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    431|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    431|        {
 1149|    431|            TypeR temp{other.cast<TypeR>()};
 1150|    431|            other.construct<TypeL>(cast<TypeL>());
 1151|    431|            construct<TypeR>(temp);
 1152|    431|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1142|    300|        {
 1143|    300|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    300|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    300|        {
 1149|    300|            TypeR temp{other.cast<TypeR>()};
 1150|    300|            other.construct<TypeL>(cast<TypeL>());
 1151|    300|            construct<TypeR>(temp);
 1152|    300|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1156|  9.98k|        {
 1157|  9.98k|            switch (other.storage_kind())
 1158|  9.98k|            {
 1159|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1159:17): [True: 0, False: 9.98k]
  ------------------
 1160|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1160:17): [True: 0, False: 9.98k]
  ------------------
 1161|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1161:17): [True: 0, False: 9.98k]
  ------------------
 1162|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1162:17): [True: 0, False: 9.98k]
  ------------------
 1163|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1163:17): [True: 0, False: 9.98k]
  ------------------
 1164|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1164:17): [True: 0, False: 9.98k]
  ------------------
 1165|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1165:17): [True: 0, False: 9.98k]
  ------------------
 1166|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1166:17): [True: 0, False: 9.98k]
  ------------------
 1167|    554|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1167:17): [True: 554, False: 9.42k]
  ------------------
 1168|    552|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1168:17): [True: 552, False: 9.42k]
  ------------------
 1169|  2.65k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1169:17): [True: 2.65k, False: 7.33k]
  ------------------
 1170|  6.22k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1170:17): [True: 6.22k, False: 3.75k]
  ------------------
 1171|      0|                case json_storage_kind::json_const_ref : swap_l_r<TypeL, const_ref_storage>(other); break;
  ------------------
  |  Branch (1171:17): [True: 0, False: 9.98k]
  ------------------
 1172|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, ref_storage>(other); break;
  ------------------
  |  Branch (1172:17): [True: 0, False: 9.98k]
  ------------------
 1173|      0|                default:
  ------------------
  |  Branch (1173:17): [True: 0, False: 9.98k]
  ------------------
 1174|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1175|      0|                    break;
 1176|  9.98k|            }
 1177|  9.98k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1142|    554|        {
 1143|    554|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    554|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    554|        {
 1149|    554|            TypeR temp{other.cast<TypeR>()};
 1150|    554|            other.construct<TypeL>(cast<TypeL>());
 1151|    554|            construct<TypeR>(temp);
 1152|    554|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1142|    552|        {
 1143|    552|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|    552|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|    552|        {
 1149|    552|            TypeR temp{other.cast<TypeR>()};
 1150|    552|            other.construct<TypeL>(cast<TypeL>());
 1151|    552|            construct<TypeR>(temp);
 1152|    552|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1142|  2.65k|        {
 1143|  2.65k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  2.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  2.65k|        {
 1149|  2.65k|            TypeR temp{other.cast<TypeR>()};
 1150|  2.65k|            other.construct<TypeL>(cast<TypeL>());
 1151|  2.65k|            construct<TypeR>(temp);
 1152|  2.65k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1142|  6.22k|        {
 1143|  6.22k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1144|  6.22k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1148|  6.22k|        {
 1149|  6.22k|            TypeR temp{other.cast<TypeR>()};
 1150|  6.22k|            other.construct<TypeL>(cast<TypeL>());
 1151|  6.22k|            construct<TypeR>(temp);
 1152|  6.22k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2583|  17.4M|        {
 2584|  17.4M|            construct<uint64_storage>(val, tag);
 2585|  17.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
  981|  17.4M|        {
  982|  17.4M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  17.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  520|  17.4M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  521|  17.4M|                  val_(val)
  522|  17.4M|            {
  523|  17.4M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2614|  3.12M|        {
 2615|  3.12M|            construct<int64_storage>(val, tag);
 2616|  3.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
  981|  3.12M|        {
  982|  3.12M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  3.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  500|  3.12M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  501|  3.12M|                  val_(val)
  502|  3.12M|            {
  503|  3.12M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2571|  56.7k|        {
 2572|  56.7k|            construct<double_storage>(val, tag);
 2573|  56.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
  981|  56.7k|        {
  982|  56.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  56.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  559|  56.7k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  560|  56.7k|                  val_(val)
  561|  56.7k|            {
  562|  56.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2369|  4.57M|        {
 2370|  4.57M|            auto ptr = create_array(Allocator());
 2371|  4.57M|            construct<array_storage>(ptr, tag);
 2372|  4.57M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  943|  4.57M|        {
  944|  4.57M|            using stor_allocator_type = typename array_storage::allocator_type;
  945|  4.57M|            stor_allocator_type stor_alloc(alloc);
  946|  4.57M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  947|  4.57M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.57M|    #define JSONCONS_TRY try
  ------------------
  948|  4.57M|            {
  949|  4.57M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  950|  4.57M|                    std::forward<Args>(args)...);
  951|  4.57M|            }
  952|  4.57M|            JSONCONS_CATCH(...)
  953|  4.57M|            {
  954|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  955|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  956|      0|            }
  957|  4.57M|            return ptr;
  958|  4.57M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
  981|  4.57M|        {
  982|  4.57M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  4.57M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  726|  4.57M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  727|  4.57M|            {
  728|  4.57M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2660|  1.75M|        {
 2661|  1.75M|            construct<null_storage>(tag);
 2662|  1.75M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
  981|  1.75M|        {
  982|  1.75M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  1.75M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2670|  2.24M|        {
 2671|  2.24M|            construct<bool_storage>(val,tag);
 2672|  2.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
  981|  2.24M|        {
  982|  2.24M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  2.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  479|  2.24M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  480|  2.24M|                  val_(val)
  481|  2.24M|            {
  482|  2.24M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2518|   475k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2519|   475k|        {
 2520|   475k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2548|   475k|        {
 2549|   475k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2549:17): [True: 467k, False: 8.48k]
  ------------------
 2550|   467k|            {
 2551|   467k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2552|   467k|            }
 2553|  8.48k|            else
 2554|  8.48k|            {
 2555|  8.48k|                auto ptr = create_long_string(alloc, s, length);
 2556|  8.48k|                construct<long_string_storage>(ptr, tag);
 2557|  8.48k|            }
 2558|   475k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
  981|   467k|        {
  982|   467k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|   467k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  581|   467k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  582|   467k|            {
  583|   467k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   45|   467k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 467k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  584|   467k|                std::memcpy(data_,p,length*sizeof(char_type));
  585|   467k|                data_[length] = 0;
  586|   467k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  929|  8.48k|        {
  930|  8.48k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  931|  8.48k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  932|  8.48k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
  981|  8.48k|        {
  982|  8.48k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  8.48k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  625|  8.48k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  626|  8.48k|            {
  627|  8.48k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2680|    812|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2681|    812|        {
 2682|    812|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2688|   165k|        {
 2689|   165k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2690|       |            
 2691|   165k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2692|   165k|            construct<byte_string_storage>(ptr, tag);
 2693|   165k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  936|   230k|        {
  937|   230k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  938|   230k|            return heap_string_factory_type::create(data, length, ext_tag, alloc); 
  939|   230k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
  981|   165k|        {
  982|   165k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|   165k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  674|   230k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  675|   230k|            {
  676|   230k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2700|      6|        {
 2701|      6|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2702|       |
 2703|      6|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2704|      6|            construct<byte_string_storage>(ptr, tag);
 2705|      6|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2711|  65.7k|        {
 2712|  65.7k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2713|       |
 2714|  65.7k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), ext_tag);
 2715|  65.7k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2716|  65.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
  981|  65.7k|        {
  982|  65.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
  983|  65.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2723|      5|        {
 2724|      5|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2725|       |
 2726|      5|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), ext_tag);
 2727|      5|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2728|      5|        }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  239|  8.48k|    {
  240|  8.48k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  8.48k|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  8.48k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  239|   230k|    {
  240|   230k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|   230k|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|   230k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  8.48k|    {
  240|  8.48k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  8.48k|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|  8.48k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|   230k|    {
  240|   230k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|   230k|        return std::launder(reinterpret_cast<T>(u));
  242|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
  243|       |        return __builtin_launder(reinterpret_cast<T>(u));
  244|       |    #else
  245|       |        return reinterpret_cast<T>(u);
  246|       |    #endif
  247|   230k|    }

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

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

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   61|   230k|            : data_(data), size_(size)
   62|   230k|        {
   63|   230k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  111|   230k|        {
  112|   230k|            return data_;
  113|   230k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  116|   230k|        {
  117|   230k|            return size_;
  118|   230k|        }

_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  858|  6.63k|            : destination_(std::addressof(visitor)), 
  859|  6.63k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  860|  6.63k|        {
  861|  6.63k|            level_stack_.emplace_back(target_t::destination,container_t::root); // root
  862|  6.63k|        }
_ZN8jsoncons24basic_item_event_visitorIcEC2Ev:
   51|  6.63k|        basic_item_event_visitor() = default;
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  293|  6.62M|        {
  294|  6.62M|            visit_begin_array(length, tag, context, ec);
  295|  6.62M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.62M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  296|  6.62M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  362|  34.8M|        {
  363|  34.8M|            visit_uint64(value, tag, context, ec);
  364|  34.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  34.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  365|  34.8M|        }
_ZN8jsoncons24basic_item_event_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  299|  6.58M|        {
  300|  6.58M|            visit_end_array(context, ec);
  301|  6.58M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  302|  6.58M|        }
_ZN8jsoncons24basic_item_event_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  371|  5.08M|        {
  372|  5.08M|            visit_int64(value, tag, context, ec);
  373|  5.08M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  374|  5.08M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  389|   122k|        {
  390|   122k|            visit_double(value, tag, context, ec);
  391|   122k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   122k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  392|   122k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5levelC2ENS4_8target_tENS4_11container_tE:
  797|  9.75M|                : state_(state), type_(type), even_odd_(type == container_t::object ? 0 : 1)
  ------------------
  |  Branch (797:57): [True: 3.12M, False: 6.63M]
  ------------------
  798|  9.75M|            {
  799|  9.75M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1011|  6.62M|        {
 1012|  6.62M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1012:17): [True: 751k, False: 5.87M]
  ------------------
 1013|   751k|            {
 1014|   751k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1014:21): [True: 525k, False: 226k]
  |  Branch (1014:73): [True: 522k, False: 2.52k]
  ------------------
 1015|   522k|                {
 1016|   522k|                    key_buffer_.push_back(',');
 1017|   522k|                }
 1018|   751k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
 1019|   751k|                key_buffer_.push_back('[');
 1020|   751k|            }
 1021|  5.87M|            else
 1022|  5.87M|            {
 1023|  5.87M|                switch (level_stack_.back().target())
 1024|  5.87M|                {
 1025|  1.29M|                    case target_t::buffer:
  ------------------
  |  Branch (1025:21): [True: 1.29M, False: 4.57M]
  ------------------
 1026|  1.29M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1026:29): [True: 770k, False: 526k]
  |  Branch (1026:65): [True: 751k, False: 19.2k]
  ------------------
 1027|   751k|                        {
 1028|   751k|                            key_buffer_.push_back(',');
 1029|   751k|                        }
 1030|  1.29M|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
 1031|  1.29M|                        key_buffer_.push_back('[');
 1032|  1.29M|                        break;
 1033|  4.57M|                    default:
  ------------------
  |  Branch (1033:21): [True: 4.57M, False: 1.29M]
  ------------------
 1034|  4.57M|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1035|  4.57M|                        destination_->begin_array(length, tag, context, ec);
 1036|  4.57M|                        break;
 1037|  5.87M|                }
 1038|  5.87M|            }
 1039|  6.62M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.62M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1040|  6.62M|        }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6is_keyEv:
  814|   209M|            {
  815|   209M|                return even_odd_ == 0;
  816|   209M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6targetEv:
  824|   136M|            {
  825|   136M|                return state_;
  826|   136M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level5countEv:
  829|  28.8M|            {
  830|  28.8M|                return count_;
  831|  28.8M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level9is_objectEv:
  819|   101M|            {
  820|   101M|                return type_ == container_t::object;
  821|   101M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1043|  6.58M|        {
 1044|  6.58M|            switch (level_stack_.back().target())
 1045|  6.58M|            {
 1046|  2.04M|                case target_t::buffer:
  ------------------
  |  Branch (1046:17): [True: 2.04M, False: 4.54M]
  ------------------
 1047|  2.04M|                    key_buffer_.push_back(']');
 1048|  2.04M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  2.04M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.04M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1049|  2.04M|                    level_stack_.pop_back();
 1050|  2.04M|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (1050:25): [True: 225k, False: 1.81M]
  ------------------
 1051|   225k|                    {
 1052|   225k|                        destination_->key(key_buffer_, context, ec);
 1053|   225k|                        key_buffer_.clear();
 1054|   225k|                    }
 1055|  1.81M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1055:30): [True: 524k, False: 1.28M]
  ------------------
 1056|   524k|                    {
 1057|   524k|                        key_buffer_.push_back(':');
 1058|   524k|                    }
 1059|  2.04M|                    level_stack_.back().advance();
 1060|  2.04M|                    break;
 1061|  4.54M|                default:
  ------------------
  |  Branch (1061:17): [True: 4.54M, False: 2.04M]
  ------------------
 1062|  4.54M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  4.54M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.54M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
 1063|  4.54M|                    level_stack_.pop_back();
 1064|  4.54M|                    level_stack_.back().advance();
 1065|  4.54M|                    destination_->end_array(context, ec);
 1066|  4.54M|                    break;
 1067|  6.58M|            }
 1068|  6.58M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1069|  6.58M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level7advanceEv:
  802|  72.6M|            {
  803|  72.6M|                if (!is_key())
  ------------------
  |  Branch (803:21): [True: 61.4M, False: 11.2M]
  ------------------
  804|  61.4M|                {
  805|  61.4M|                    ++count_;
  806|  61.4M|                }
  807|  72.6M|                if (is_object())
  ------------------
  |  Branch (807:21): [True: 22.5M, False: 50.1M]
  ------------------
  808|  22.5M|                {
  809|  22.5M|                    even_odd_ = !even_odd_;
  810|  22.5M|                }
  811|  72.6M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1236|  34.8M|        {
 1237|  34.8M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1237:17): [True: 8.04M, False: 26.8M]
  |  Branch (1237:49): [True: 9.40M, False: 17.4M]
  ------------------
 1238|  17.4M|            {
 1239|  17.4M|                key_.clear();
 1240|  17.4M|                jsoncons::from_integer(value,key_);
 1241|  17.4M|            }
 1242|       |
 1243|  34.8M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1243:17): [True: 8.04M, False: 26.8M]
  ------------------
 1244|  8.04M|            {
 1245|  8.04M|                switch (level_stack_.back().target())
 1246|  8.04M|                {
 1247|  5.14M|                    case target_t::buffer:
  ------------------
  |  Branch (1247:21): [True: 5.14M, False: 2.89M]
  ------------------
 1248|  5.14M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1248:29): [True: 5.13M, False: 13.1k]
  ------------------
 1249|  5.13M|                        {
 1250|  5.13M|                            key_buffer_.push_back(',');
 1251|  5.13M|                        }
 1252|  5.14M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1253|  5.14M|                        key_buffer_.push_back(':');
 1254|  5.14M|                        break;
 1255|  2.89M|                    default:
  ------------------
  |  Branch (1255:21): [True: 2.89M, False: 5.14M]
  ------------------
 1256|  2.89M|                        destination_->key(key_, context, ec);
 1257|  2.89M|                        break;
 1258|  8.04M|                }
 1259|  8.04M|            }
 1260|  26.8M|            else
 1261|  26.8M|            {
 1262|  26.8M|                switch (level_stack_.back().target())
 1263|  26.8M|                {
 1264|  9.40M|                    case target_t::buffer:
  ------------------
  |  Branch (1264:21): [True: 9.40M, False: 17.4M]
  ------------------
 1265|  9.40M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1265:29): [True: 4.26M, False: 5.13M]
  |  Branch (1265:65): [True: 4.26M, False: 9.02k]
  ------------------
 1266|  4.26M|                        {
 1267|  4.26M|                            key_buffer_.push_back(',');
 1268|  4.26M|                        }
 1269|  9.40M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1270|  9.40M|                        break;
 1271|  17.4M|                    default:
  ------------------
  |  Branch (1271:21): [True: 17.4M, False: 9.40M]
  ------------------
 1272|  17.4M|                        destination_->uint64_value(value, tag, context, ec);
 1273|  17.4M|                        break;
 1274|  26.8M|                }
 1275|  26.8M|            }
 1276|       |
 1277|  34.8M|            level_stack_.back().advance();
 1278|  34.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  34.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1279|  34.8M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1282|  5.08M|        {
 1283|  5.08M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1283:17): [True: 322k, False: 4.76M]
  |  Branch (1283:49): [True: 1.63M, False: 3.12M]
  ------------------
 1284|  1.95M|            {
 1285|  1.95M|                key_.clear();
 1286|  1.95M|                jsoncons::from_integer(value,key_);
 1287|  1.95M|            }
 1288|       |
 1289|  5.08M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1289:17): [True: 322k, False: 4.76M]
  ------------------
 1290|   322k|            {
 1291|   322k|                switch (level_stack_.back().target())
 1292|   322k|                {
 1293|   199k|                    case target_t::buffer:
  ------------------
  |  Branch (1293:21): [True: 199k, False: 123k]
  ------------------
 1294|   199k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1294:29): [True: 190k, False: 8.38k]
  ------------------
 1295|   190k|                        {
 1296|   190k|                            key_buffer_.push_back(',');
 1297|   190k|                        }
 1298|   199k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1299|   199k|                        key_buffer_.push_back(':');
 1300|   199k|                        break;
 1301|   123k|                    default:
  ------------------
  |  Branch (1301:21): [True: 123k, False: 199k]
  ------------------
 1302|   123k|                        destination_->key(key_, context, ec);
 1303|   123k|                        break;
 1304|   322k|                }
 1305|   322k|            }
 1306|  4.76M|            else
 1307|  4.76M|            {
 1308|  4.76M|                switch (level_stack_.back().target())
 1309|  4.76M|                {
 1310|  1.63M|                    case target_t::buffer:
  ------------------
  |  Branch (1310:21): [True: 1.63M, False: 3.12M]
  ------------------
 1311|  1.63M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1311:29): [True: 1.43M, False: 197k]
  |  Branch (1311:65): [True: 1.43M, False: 1.77k]
  ------------------
 1312|  1.43M|                        {
 1313|  1.43M|                            key_buffer_.push_back(',');
 1314|  1.43M|                        }
 1315|  1.63M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1316|  1.63M|                        break;
 1317|  3.12M|                    default:
  ------------------
  |  Branch (1317:21): [True: 3.12M, False: 1.63M]
  ------------------
 1318|  3.12M|                        destination_->int64_value(value, tag, context, ec);
 1319|  3.12M|                        break;
 1320|  4.76M|                }
 1321|  4.76M|            }
 1322|       |
 1323|  5.08M|            level_stack_.back().advance();
 1324|  5.08M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1325|  5.08M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1377|   122k|        {
 1378|   122k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1378:17): [True: 26.2k, False: 95.9k]
  |  Branch (1378:49): [True: 39.1k, False: 56.7k]
  ------------------
 1379|  65.4k|            {
 1380|  65.4k|                key_.clear();
 1381|  65.4k|                string_sink<string_type> sink(key_);
 1382|  65.4k|                jsoncons::write_double f{float_chars_format::general,0};
 1383|  65.4k|                f(value, sink);
 1384|  65.4k|            }
 1385|       |
 1386|   122k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1386:17): [True: 26.2k, False: 95.9k]
  ------------------
 1387|  26.2k|            {
 1388|  26.2k|                switch (level_stack_.back().target())
 1389|  26.2k|                {
 1390|  18.2k|                    case target_t::buffer:
  ------------------
  |  Branch (1390:21): [True: 18.2k, False: 8.05k]
  ------------------
 1391|  18.2k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1391:29): [True: 14.3k, False: 3.88k]
  ------------------
 1392|  14.3k|                        {
 1393|  14.3k|                            key_buffer_.push_back(',');
 1394|  14.3k|                        }
 1395|  18.2k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1396|  18.2k|                        key_buffer_.push_back(':');
 1397|  18.2k|                        break;
 1398|  8.05k|                    default:
  ------------------
  |  Branch (1398:21): [True: 8.05k, False: 18.2k]
  ------------------
 1399|  8.05k|                        destination_->key(key_, context, ec);
 1400|  8.05k|                        break;
 1401|  26.2k|                }
 1402|  26.2k|            }
 1403|  95.9k|            else
 1404|  95.9k|            {
 1405|  95.9k|                switch (level_stack_.back().target())
 1406|  95.9k|                {
 1407|  39.1k|                    case target_t::buffer:
  ------------------
  |  Branch (1407:21): [True: 39.1k, False: 56.7k]
  ------------------
 1408|  39.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1408:29): [True: 24.1k, False: 14.9k]
  |  Branch (1408:65): [True: 22.7k, False: 1.41k]
  ------------------
 1409|  22.7k|                        {
 1410|  22.7k|                            key_buffer_.push_back(',');
 1411|  22.7k|                        }
 1412|  39.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1413|  39.1k|                        break;
 1414|  56.7k|                    default:
  ------------------
  |  Branch (1414:21): [True: 56.7k, False: 39.1k]
  ------------------
 1415|  56.7k|                        destination_->double_value(value, tag, context, ec);
 1416|  56.7k|                        break;
 1417|  95.9k|                }
 1418|  95.9k|            }
 1419|       |
 1420|   122k|            level_stack_.back().advance();
 1421|   122k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   122k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1422|   122k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  884|  2.35k|        {
  885|  2.35k|            destination_->flush();
  886|  2.35k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  917|  3.12M|        {
  918|  3.12M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (918:17): [True: 251k, False: 2.87M]
  ------------------
  919|   251k|            {
  920|   251k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (920:21): [True: 42.4k, False: 208k]
  |  Branch (920:73): [True: 36.4k, False: 5.96k]
  ------------------
  921|  36.4k|                {
  922|  36.4k|                    key_buffer_.push_back(',');
  923|  36.4k|                }
  924|   251k|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  925|   251k|                key_buffer_.push_back('{');
  926|   251k|            }
  927|  2.87M|            else
  928|  2.87M|            {
  929|  2.87M|                switch (level_stack_.back().target())
  930|  2.87M|                {
  931|   202k|                    case target_t::buffer:
  ------------------
  |  Branch (931:21): [True: 202k, False: 2.67M]
  ------------------
  932|   202k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (932:29): [True: 146k, False: 56.3k]
  |  Branch (932:65): [True: 144k, False: 2.35k]
  ------------------
  933|   144k|                        {
  934|   144k|                            key_buffer_.push_back(',');
  935|   144k|                        }
  936|   202k|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  937|   202k|                        key_buffer_.push_back('{');
  938|   202k|                        break;
  939|  2.67M|                    default:
  ------------------
  |  Branch (939:21): [True: 2.67M, False: 202k]
  ------------------
  940|  2.67M|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  941|  2.67M|                        destination_->begin_object(length, tag, context, ec);
  942|  2.67M|                        break;
  943|  2.87M|                }
  944|  2.87M|            }
  945|  3.12M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  946|  3.12M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  949|  3.11M|        {
  950|  3.11M|            switch (level_stack_.back().target())
  951|  3.11M|            {
  952|   446k|                case target_t::buffer:
  ------------------
  |  Branch (952:17): [True: 446k, False: 2.66M]
  ------------------
  953|   446k|                    key_buffer_.push_back('}');
  954|   446k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|   446k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 446k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  955|   446k|                    level_stack_.pop_back();
  956|       |                    
  957|   446k|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (957:25): [True: 208k, False: 238k]
  ------------------
  958|   208k|                    {
  959|   208k|                        destination_->key(key_buffer_,context, ec);
  960|   208k|                        key_buffer_.clear();
  961|   208k|                    }
  962|   238k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (962:30): [True: 40.6k, False: 198k]
  ------------------
  963|  40.6k|                    {
  964|  40.6k|                        key_buffer_.push_back(':');
  965|  40.6k|                    }
  966|   446k|                    level_stack_.back().advance();
  967|   446k|                    break;
  968|  2.66M|                default:
  ------------------
  |  Branch (968:17): [True: 2.66M, False: 446k]
  ------------------
  969|  2.66M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  2.66M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.66M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  970|  2.66M|                    level_stack_.pop_back();
  971|  2.66M|                    level_stack_.back().advance();
  972|  2.66M|                    destination_->end_object(context, ec);
  973|  2.66M|                    break;
  974|  3.11M|            }
  975|  3.11M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.11M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  976|  3.11M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1478|  2.83M|        {
 1479|  2.83M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1479:17): [True: 376k, False: 2.46M]
  |  Branch (1479:49): [True: 703k, False: 1.75M]
  ------------------
 1480|  1.07M|            {
 1481|  1.07M|                key_.clear(); 
 1482|  1.07M|                key_.insert(key_.begin(), null_constant.begin(), null_constant.end());
 1483|  1.07M|            }
 1484|       |
 1485|  2.83M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1485:17): [True: 376k, False: 2.46M]
  ------------------
 1486|   376k|            {
 1487|   376k|                switch (level_stack_.back().target())
 1488|   376k|                {
 1489|   302k|                    case target_t::buffer:
  ------------------
  |  Branch (1489:21): [True: 302k, False: 73.6k]
  ------------------
 1490|   302k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1490:29): [True: 301k, False: 1.06k]
  ------------------
 1491|   301k|                        {
 1492|   301k|                            key_buffer_.push_back(',');
 1493|   301k|                        }
 1494|   302k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1495|   302k|                        key_buffer_.push_back(':');
 1496|   302k|                        break;
 1497|  73.6k|                    default:
  ------------------
  |  Branch (1497:21): [True: 73.6k, False: 302k]
  ------------------
 1498|  73.6k|                        destination_->key(key_, context, ec);
 1499|  73.6k|                        break;
 1500|   376k|                }
 1501|   376k|            }
 1502|  2.46M|            else
 1503|  2.46M|            {
 1504|  2.46M|                switch (level_stack_.back().target())
 1505|  2.46M|                {
 1506|   703k|                    case target_t::buffer:
  ------------------
  |  Branch (1506:21): [True: 703k, False: 1.75M]
  ------------------
 1507|   703k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1507:29): [True: 401k, False: 302k]
  |  Branch (1507:65): [True: 400k, False: 1.09k]
  ------------------
 1508|   400k|                        {
 1509|   400k|                            key_buffer_.push_back(',');
 1510|   400k|                        }
 1511|   703k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1512|   703k|                        break;
 1513|  1.75M|                    default:
  ------------------
  |  Branch (1513:21): [True: 1.75M, False: 703k]
  ------------------
 1514|  1.75M|                        destination_->null_value(tag, context, ec);
 1515|  1.75M|                        break;
 1516|  2.46M|                }
 1517|  2.46M|            }
 1518|       |
 1519|  2.83M|            level_stack_.back().advance();
 1520|  2.83M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1521|  2.83M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1425|  18.9M|        {
 1426|  18.9M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1426:17): [True: 1.34M, False: 17.6M]
  |  Branch (1426:49): [True: 15.4M, False: 2.24M]
  ------------------
 1427|  16.7M|            {
 1428|  16.7M|                key_.clear(); 
 1429|  16.7M|                if (value)
  ------------------
  |  Branch (1429:21): [True: 61.1k, False: 16.6M]
  ------------------
 1430|  61.1k|                {
 1431|  61.1k|                    key_.insert(key_.begin(), true_constant.begin(), true_constant.end());
 1432|  61.1k|                }
 1433|  16.6M|                else
 1434|  16.6M|                {
 1435|  16.6M|                    key_.insert(key_.begin(), false_constant.begin(), false_constant.end());
 1436|  16.6M|                }
 1437|  16.7M|            }
 1438|       |
 1439|  18.9M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1439:17): [True: 1.34M, False: 17.6M]
  ------------------
 1440|  1.34M|            {
 1441|  1.34M|                switch (level_stack_.back().target())
 1442|  1.34M|                {
 1443|   600k|                    case target_t::buffer:
  ------------------
  |  Branch (1443:21): [True: 600k, False: 744k]
  ------------------
 1444|   600k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1444:29): [True: 594k, False: 6.52k]
  ------------------
 1445|   594k|                        {
 1446|   594k|                            key_buffer_.push_back(',');
 1447|   594k|                        }
 1448|   600k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1449|   600k|                        key_buffer_.push_back(':');
 1450|   600k|                        break;
 1451|   744k|                    default:
  ------------------
  |  Branch (1451:21): [True: 744k, False: 600k]
  ------------------
 1452|   744k|                        destination_->key(key_, context, ec);
 1453|   744k|                        break;
 1454|  1.34M|                }
 1455|  1.34M|            }
 1456|  17.6M|            else
 1457|  17.6M|            {
 1458|  17.6M|                switch (level_stack_.back().target())
 1459|  17.6M|                {
 1460|  15.4M|                    case target_t::buffer:
  ------------------
  |  Branch (1460:21): [True: 15.4M, False: 2.24M]
  ------------------
 1461|  15.4M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1461:29): [True: 14.8M, False: 602k]
  |  Branch (1461:65): [True: 14.7M, False: 2.51k]
  ------------------
 1462|  14.7M|                        {
 1463|  14.7M|                            key_buffer_.push_back(',');
 1464|  14.7M|                        }
 1465|  15.4M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1466|  15.4M|                        break;
 1467|  2.24M|                    default:
  ------------------
  |  Branch (1467:21): [True: 2.24M, False: 15.4M]
  ------------------
 1468|  2.24M|                        destination_->bool_value(value, tag, context, ec);
 1469|  2.24M|                        break;
 1470|  17.6M|                }
 1471|  17.6M|            }
 1472|       |
 1473|  18.9M|            level_stack_.back().advance();
 1474|  18.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  18.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1475|  18.9M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1075|   742k|        {
 1076|   742k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1076:17): [True: 111k, False: 631k]
  ------------------
 1077|   111k|            {
 1078|   111k|                switch (level_stack_.back().target())
 1079|   111k|                {
 1080|  76.0k|                    case target_t::buffer:
  ------------------
  |  Branch (1080:21): [True: 76.0k, False: 35.4k]
  ------------------
 1081|  76.0k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1081:29): [True: 74.3k, False: 1.74k]
  ------------------
 1082|  74.3k|                        {
 1083|  74.3k|                            key_buffer_.push_back(',');
 1084|  74.3k|                        }
 1085|  76.0k|                        key_buffer_.push_back('\"');
 1086|  76.0k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1087|  76.0k|                        key_buffer_.push_back('\"');
 1088|  76.0k|                        key_buffer_.push_back(':');
 1089|  76.0k|                        break;
 1090|  35.4k|                    default:
  ------------------
  |  Branch (1090:21): [True: 35.4k, False: 76.0k]
  ------------------
 1091|  35.4k|                        destination_->key(value, context, ec);
 1092|  35.4k|                        break;
 1093|   111k|                }
 1094|   111k|            }
 1095|   631k|            else
 1096|   631k|            {
 1097|   631k|                switch (level_stack_.back().target())
 1098|   631k|                {
 1099|   155k|                    case target_t::buffer:
  ------------------
  |  Branch (1099:21): [True: 155k, False: 475k]
  ------------------
 1100|   155k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1100:29): [True: 84.9k, False: 70.6k]
  |  Branch (1100:65): [True: 83.8k, False: 1.01k]
  ------------------
 1101|  83.8k|                        {
 1102|  83.8k|                            key_buffer_.push_back(',');
 1103|  83.8k|                        }
 1104|   155k|                        key_buffer_.push_back('\"');
 1105|   155k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1106|   155k|                        key_buffer_.push_back('\"');
 1107|   155k|                        break;
 1108|   475k|                    default:
  ------------------
  |  Branch (1108:21): [True: 475k, False: 155k]
  ------------------
 1109|   475k|                        destination_->string_value(value, tag, context, ec);
 1110|   475k|                        break;
 1111|   631k|                }
 1112|   631k|            }
 1113|       |
 1114|   742k|            level_stack_.back().advance();
 1115|   742k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   742k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1116|   742k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1122|   203k|        {
 1123|   203k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1123:17): [True: 22.5k, False: 180k]
  |  Branch (1123:49): [True: 15.6k, False: 165k]
  ------------------
 1124|  38.2k|            {
 1125|  38.2k|                key_.clear();
 1126|  38.2k|                switch (tag)
 1127|  38.2k|                {
 1128|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1128:21): [True: 0, False: 38.2k]
  ------------------
 1129|      0|                        bytes_to_base64(value.begin(), value.end(), key_);
 1130|      0|                        break;
 1131|      0|                    case semantic_tag::base16:
  ------------------
  |  Branch (1131:21): [True: 0, False: 38.2k]
  ------------------
 1132|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1133|      0|                        break;
 1134|  38.2k|                    default:
  ------------------
  |  Branch (1134:21): [True: 38.2k, False: 0]
  ------------------
 1135|  38.2k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1136|  38.2k|                        break;
 1137|  38.2k|                }
 1138|  38.2k|            }
 1139|       |
 1140|   203k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1140:17): [True: 22.5k, False: 180k]
  ------------------
 1141|  22.5k|            {
 1142|  22.5k|                switch (level_stack_.back().target())
 1143|  22.5k|                {
 1144|  12.9k|                    case target_t::buffer:
  ------------------
  |  Branch (1144:21): [True: 12.9k, False: 9.66k]
  ------------------
 1145|  12.9k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1145:29): [True: 11.7k, False: 1.23k]
  ------------------
 1146|  11.7k|                        {
 1147|  11.7k|                            key_buffer_.push_back(',');
 1148|  11.7k|                        }
 1149|  12.9k|                        key_buffer_.push_back('\"');
 1150|  12.9k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1151|  12.9k|                        key_buffer_.push_back('\"');
 1152|  12.9k|                        key_buffer_.push_back(':');
 1153|  12.9k|                        break;
 1154|  9.66k|                    default:
  ------------------
  |  Branch (1154:21): [True: 9.66k, False: 12.9k]
  ------------------
 1155|  9.66k|                        destination_->key(key_, context, ec);
 1156|  9.66k|                        break;
 1157|  22.5k|                }
 1158|  22.5k|            }
 1159|   180k|            else
 1160|   180k|            {
 1161|   180k|                switch (level_stack_.back().target())
 1162|   180k|                {
 1163|  15.6k|                    case target_t::buffer:
  ------------------
  |  Branch (1163:21): [True: 15.6k, False: 165k]
  ------------------
 1164|  15.6k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1164:29): [True: 3.86k, False: 11.7k]
  |  Branch (1164:65): [True: 3.54k, False: 318]
  ------------------
 1165|  3.54k|                        {
 1166|  3.54k|                            key_buffer_.push_back(',');
 1167|  3.54k|                        }
 1168|  15.6k|                        key_buffer_.push_back('\"');
 1169|  15.6k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1170|  15.6k|                        key_buffer_.push_back('\"');
 1171|  15.6k|                        break;
 1172|   165k|                    default:
  ------------------
  |  Branch (1172:21): [True: 165k, False: 15.6k]
  ------------------
 1173|   165k|                        destination_->byte_string_value(value, tag, context, ec);
 1174|   165k|                        break;
 1175|   180k|                }
 1176|   180k|            }
 1177|       |
 1178|   203k|            level_stack_.back().advance();
 1179|   203k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   203k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1180|   203k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1186|   105k|        {
 1187|   105k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1187:17): [True: 12.1k, False: 93.6k]
  |  Branch (1187:49): [True: 27.9k, False: 65.7k]
  ------------------
 1188|  40.0k|            {
 1189|  40.0k|                key_.clear();
 1190|  40.0k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1191|  40.0k|            }
 1192|       |
 1193|   105k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1193:17): [True: 12.1k, False: 93.6k]
  ------------------
 1194|  12.1k|            {
 1195|  12.1k|                switch (level_stack_.back().target())
 1196|  12.1k|                {
 1197|  7.97k|                    case target_t::buffer:
  ------------------
  |  Branch (1197:21): [True: 7.97k, False: 4.16k]
  ------------------
 1198|  7.97k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1198:29): [True: 6.54k, False: 1.43k]
  ------------------
 1199|  6.54k|                        {
 1200|  6.54k|                            key_buffer_.push_back(',');
 1201|  6.54k|                        }
 1202|  7.97k|                        key_buffer_.push_back('\"');
 1203|  7.97k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1204|  7.97k|                        key_buffer_.push_back('\"');
 1205|  7.97k|                        key_buffer_.push_back(':');
 1206|  7.97k|                        break;
 1207|  4.16k|                    default:
  ------------------
  |  Branch (1207:21): [True: 4.16k, False: 7.97k]
  ------------------
 1208|  4.16k|                        destination_->key(key_, context, ec);
 1209|  4.16k|                        break;
 1210|  12.1k|                }
 1211|  12.1k|            }
 1212|  93.6k|            else
 1213|  93.6k|            {
 1214|  93.6k|                switch (level_stack_.back().target())
 1215|  93.6k|                {
 1216|  27.9k|                    case target_t::buffer:
  ------------------
  |  Branch (1216:21): [True: 27.9k, False: 65.7k]
  ------------------
 1217|  27.9k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1217:29): [True: 20.4k, False: 7.47k]
  |  Branch (1217:65): [True: 19.5k, False: 903]
  ------------------
 1218|  19.5k|                        {
 1219|  19.5k|                            key_buffer_.push_back(',');
 1220|  19.5k|                        }
 1221|  27.9k|                        key_buffer_.push_back('\"');
 1222|  27.9k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1223|  27.9k|                        key_buffer_.push_back('\"');
 1224|  27.9k|                        break;
 1225|  65.7k|                    default:
  ------------------
  |  Branch (1225:21): [True: 65.7k, False: 27.9k]
  ------------------
 1226|  65.7k|                        destination_->byte_string_value(value, ext_tag, context, ec);
 1227|  65.7k|                        break;
 1228|  93.6k|                }
 1229|  93.6k|            }
 1230|       |
 1231|   105k|            level_stack_.back().advance();
 1232|   105k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   105k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1233|   105k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  275|  3.12M|        {
  276|  3.12M|            visit_begin_object(length, tag, context, ec);
  277|  3.12M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  278|  3.12M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  331|   742k|        {
  332|   742k|            visit_string(value, tag, context, ec);
  333|   742k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   742k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  334|   742k|        }
_ZN8jsoncons24basic_item_event_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  313|  2.83M|        {
  314|  2.83M|            visit_null(tag, context, ec);
  315|  2.83M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  316|  2.83M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  322|  18.9M|        {
  323|  18.9M|            visit_bool(value, tag, context, ec);
  324|  18.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  18.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  325|  18.9M|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  342|   203k|        {
  343|   203k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  344|   203k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   203k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|   203k|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  353|   105k|        {
  354|   105k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  355|   105k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   105k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  356|   105k|        }
_ZN8jsoncons24basic_item_event_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  281|  3.11M|        {
  282|  3.11M|            visit_end_object(context, ec);
  283|  3.11M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.11M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  3.11M|        }
_ZN8jsoncons24basic_item_event_visitorIcE5flushEv:
   56|  2.35k|        {
   57|  2.35k|            visit_flush();
   58|  2.35k|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  107|  4.59M|        {
  108|  4.59M|            flatten_and_destroy();
  109|  4.59M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  246|  4.59M|        {
  247|  5.63M|            while (!elements_.empty())
  ------------------
  |  Branch (247:20): [True: 1.04M, False: 4.59M]
  ------------------
  248|  1.04M|            {
  249|  1.04M|                value_type current = std::move(elements_.back());
  250|  1.04M|                elements_.pop_back();
  251|  1.04M|                switch (current.storage_kind())
  252|  1.04M|                {
  253|  44.8k|                    case json_storage_kind::array:
  ------------------
  |  Branch (253:21): [True: 44.8k, False: 1.00M]
  ------------------
  254|  44.8k|                    {
  255|  44.8k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (255:42): [True: 2.23M, False: 44.8k]
  ------------------
  256|  2.23M|                        {
  257|  2.23M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (257:34): [True: 108k, False: 2.12M]
  |  Branch (257:85): [True: 9.92k, False: 2.11M]
  ------------------
  258|   118k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (258:36): [True: 12.8k, False: 105k]
  ------------------
  259|  12.8k|                            {
  260|  12.8k|                                elements_.push_back(std::move(item));
  261|  12.8k|                            }
  262|  2.23M|                        }
  263|  44.8k|                        current.clear();                           
  264|  44.8k|                        break;
  265|      0|                    }
  266|   352k|                    case json_storage_kind::object:
  ------------------
  |  Branch (266:21): [True: 352k, False: 692k]
  ------------------
  267|   352k|                    {
  268|   352k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (268:40): [True: 93.9k, False: 352k]
  ------------------
  269|  93.9k|                        {
  270|  93.9k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (270:34): [True: 3.15k, False: 90.8k]
  |  Branch (270:91): [True: 26.7k, False: 64.0k]
  ------------------
  271|  29.9k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (271:36): [True: 25.9k, False: 3.94k]
  ------------------
  272|  25.9k|                            {
  273|  25.9k|                                elements_.push_back(std::move(kv.value()));
  274|  25.9k|                            }
  275|  93.9k|                        }
  276|   352k|                        current.clear();                           
  277|   352k|                        break;
  278|      0|                    }
  279|   648k|                    default:
  ------------------
  |  Branch (279:21): [True: 648k, False: 397k]
  ------------------
  280|   648k|                        break;
  281|  1.04M|                }
  282|  1.04M|            }
  283|  4.59M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  220|  44.8k|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  222|  44.8k|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  127|   117k|        {
  128|   117k|            return elements_.empty();
  129|   117k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  140|  44.8k|        void clear() {elements_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   51|  16.5k|            : allocator_holder<allocator_type>(alloc), 
   52|  16.5k|              elements_(value_allocator_type(alloc))
   53|  16.5k|        {
   54|  16.5k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  215|  7.41k|        {
  216|  7.41k|            elements_.emplace_back(std::forward<Args>(args)...);
  217|  7.41k|            return elements_.back();
  218|  7.41k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  151|  18.6k|        void reserve(std::size_t n) {elements_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr3std16allocator_traitsIT0_E15is_always_equalE5valueEvE4typeEOT_:
  176|  3.23M|        {
  177|  3.23M|            elements_.emplace_back(std::forward<T>(value));
  178|  3.23M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   47|  4.57M|        {
   48|  4.57M|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  6.63k|        : allocator_(alloc),
   75|  6.63k|          result_(),
   76|  6.63k|          name_(alloc),
   77|  6.63k|          item_stack_(alloc),
   78|  6.63k|          structure_stack_(temp_alloc)
   79|  6.63k|    {
   80|  6.63k|        item_stack_.reserve(1000);
   81|  6.63k|        structure_stack_.reserve(100);
   82|  6.63k|        structure_stack_.emplace_back(structure_type::root_t, 0);
   83|  6.63k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   51|  7.25M|            : type_(type), container_index_(offset)
   52|  7.25M|        {
   53|  7.25M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  179|  4.54M|    {
  180|  4.54M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   45|  4.54M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.54M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  181|  4.54M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |   45|  4.54M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.54M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  182|  4.54M|        const size_t container_index = structure_stack_.back().container_index_;
  183|  4.54M|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |   45|  4.54M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.54M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  184|       |
  185|  4.54M|        auto& container = item_stack_[container_index].value;
  186|       |
  187|  4.54M|        const size_t size = item_stack_.size() - (container_index + 1);
  188|       |        //std::cout << "size on item stack: " << size << "\n";
  189|       |
  190|  4.54M|        if (size > 0)
  ------------------
  |  Branch (190:13): [True: 18.6k, False: 4.52M]
  ------------------
  191|  18.6k|        {
  192|  18.6k|            container.reserve(size);
  193|  18.6k|            auto first = item_stack_.begin() + (container_index+1);
  194|  18.6k|            auto last = first + size;
  195|  3.25M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (195:35): [True: 3.23M, False: 18.6k]
  ------------------
  196|  3.23M|            {
  197|  3.23M|                container.push_back(std::move((*it).value));
  198|  3.23M|            }
  199|  18.6k|            item_stack_.erase(first, item_stack_.end());
  200|  18.6k|        }
  201|       |
  202|  4.54M|        structure_stack_.pop_back();
  203|  4.54M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (203:13): [True: 216, False: 4.54M]
  ------------------
  204|    216|        {
  205|    216|            result_.swap(item_stack_.front().value);
  206|    216|            item_stack_.pop_back();
  207|    216|            is_valid_ = true;
  208|    216|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    216|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  209|    216|        }
  210|  4.54M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.54M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  211|  4.54M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  296|  17.4M|    {
  297|  17.4M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (297:17): [True: 17.4M, False: 0]
  ------------------
  298|  17.4M|        {
  299|  2.87M|            case structure_type::object_t:
  ------------------
  |  Branch (299:13): [True: 2.87M, False: 14.5M]
  ------------------
  300|  17.4M|            case structure_type::array_t:
  ------------------
  |  Branch (300:13): [True: 14.5M, False: 2.87M]
  ------------------
  301|  17.4M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  302|  17.4M|                break;
  303|     12|            case structure_type::root_t:
  ------------------
  |  Branch (303:13): [True: 12, False: 17.4M]
  ------------------
  304|     12|                result_ = Json(value,tag);
  305|     12|                is_valid_ = true;
  306|     12|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     12|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  307|  17.4M|        }
  308|  17.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  17.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  309|  17.4M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  277|  3.12M|    {
  278|  3.12M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (278:17): [True: 3.12M, False: 0]
  ------------------
  279|  3.12M|        {
  280|  93.6k|            case structure_type::object_t:
  ------------------
  |  Branch (280:13): [True: 93.6k, False: 3.03M]
  ------------------
  281|  3.12M|            case structure_type::array_t:
  ------------------
  |  Branch (281:13): [True: 3.03M, False: 93.6k]
  ------------------
  282|  3.12M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  283|  3.12M|                break;
  284|      6|            case structure_type::root_t:
  ------------------
  |  Branch (284:13): [True: 6, False: 3.12M]
  ------------------
  285|      6|                result_ = Json(value,tag);
  286|      6|                is_valid_ = true;
  287|      6|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      6|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  288|  3.12M|        }
  289|  3.12M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|  3.12M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  334|  56.7k|    {
  335|  56.7k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (335:17): [True: 56.7k, False: 0]
  ------------------
  336|  56.7k|        {
  337|  4.80k|            case structure_type::object_t:
  ------------------
  |  Branch (337:13): [True: 4.80k, False: 51.9k]
  ------------------
  338|  56.7k|            case structure_type::array_t:
  ------------------
  |  Branch (338:13): [True: 51.9k, False: 4.80k]
  ------------------
  339|  56.7k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  340|  56.7k|                break;
  341|      2|            case structure_type::root_t:
  ------------------
  |  Branch (341:13): [True: 2, False: 56.7k]
  ------------------
  342|      2|                result_ = Json(value, tag);
  343|      2|                is_valid_ = true;
  344|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|  56.7k|        }
  346|  56.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  56.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|  56.7k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  2.35k|    {
  123|  2.35k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  2.67M|    {
  127|  2.67M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (127:13): [True: 4.45k, False: 2.66M]
  ------------------
  128|  4.45k|        {
  129|  4.45k|            index_ = 0;
  130|  4.45k|            item_stack_.clear();
  131|  4.45k|            is_valid_ = false;
  132|  4.45k|        }
  133|  2.67M|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  134|  2.67M|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  135|  2.67M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.67M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  136|  2.67M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  139|  2.66M|    {
  140|  2.66M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   45|  2.66M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.66M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  141|  2.66M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |   45|  2.66M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.66M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  142|  2.66M|        const size_t structure_index = structure_stack_.back().container_index_;
  143|  2.66M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   45|  2.66M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.66M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  144|  2.66M|        const size_t count = item_stack_.size() - (structure_index + 1);
  145|  2.66M|        auto first = item_stack_.begin() + (structure_index+1);
  146|       |
  147|  2.66M|        if (count > 0)
  ------------------
  |  Branch (147:13): [True: 50.1k, False: 2.61M]
  ------------------
  148|  50.1k|        {
  149|  50.1k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  150|  50.1k|                &item_stack_[structure_index+1], count);
  151|  50.1k|        }
  152|       |
  153|  2.66M|        item_stack_.erase(first, item_stack_.end());
  154|  2.66M|        structure_stack_.pop_back();
  155|  2.66M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (155:13): [True: 1.29k, False: 2.66M]
  ------------------
  156|  1.29k|        {
  157|  1.29k|            result_.swap(item_stack_.front().value);
  158|  1.29k|            item_stack_.pop_back();
  159|  1.29k|            is_valid_ = true;
  160|  1.29k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.29k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  161|  1.29k|        }
  162|  2.66M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.66M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  163|  2.66M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  166|  4.57M|    {
  167|  4.57M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (167:13): [True: 971, False: 4.57M]
  ------------------
  168|    971|        {
  169|    971|            index_ = 0;
  170|    971|            item_stack_.clear();
  171|    971|            is_valid_ = false;
  172|    971|        }
  173|  4.57M|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  174|  4.57M|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  175|  4.57M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  176|  4.57M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  214|  4.32M|    {
  215|  4.32M|        name_ = key_type(name.data(),name.length(),allocator_);
  216|  4.32M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.32M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  4.32M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|  1.75M|    {
  367|  1.75M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 1.75M, False: 0]
  ------------------
  368|  1.75M|        {
  369|  73.8k|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 73.8k, False: 1.68M]
  ------------------
  370|  1.75M|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 1.68M, False: 73.8k]
  ------------------
  371|  1.75M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  372|  1.75M|                break;
  373|      1|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 1, False: 1.75M]
  ------------------
  374|      1|                result_ = Json(null_type(), tag);
  375|      1|                is_valid_ = true;
  376|      1|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      1|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  1.75M|        }
  378|  1.75M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.75M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  379|  1.75M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|  2.24M|    {
  351|  2.24M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 2.24M, False: 0]
  ------------------
  352|  2.24M|        {
  353|   746k|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 746k, False: 1.49M]
  ------------------
  354|  2.24M|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 1.49M, False: 746k]
  ------------------
  355|  2.24M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|  2.24M|                break;
  357|      2|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 2, False: 2.24M]
  ------------------
  358|      2|                result_ = Json(value, tag);
  359|      2|                is_valid_ = true;
  360|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  361|  2.24M|        }
  362|  2.24M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.24M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  363|  2.24M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  220|   475k|    {
  221|   475k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (221:17): [True: 475k, False: 0]
  ------------------
  222|   475k|        {
  223|  33.8k|            case structure_type::object_t:
  ------------------
  |  Branch (223:13): [True: 33.8k, False: 441k]
  ------------------
  224|   475k|            case structure_type::array_t:
  ------------------
  |  Branch (224:13): [True: 441k, False: 34.6k]
  ------------------
  225|   475k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  226|   475k|                break;
  227|    812|            case structure_type::root_t:
  ------------------
  |  Branch (227:13): [True: 812, False: 475k]
  ------------------
  228|    812|                result_ = Json(sv, tag, allocator_);
  229|    812|                is_valid_ = true;
  230|    812|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    812|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  231|   475k|        }
  232|   475k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   475k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  233|   475k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  239|   165k|    {
  240|   165k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (240:17): [True: 165k, False: 0]
  ------------------
  241|   165k|        {
  242|  28.1k|            case structure_type::object_t:
  ------------------
  |  Branch (242:13): [True: 28.1k, False: 136k]
  ------------------
  243|   165k|            case structure_type::array_t:
  ------------------
  |  Branch (243:13): [True: 136k, False: 28.1k]
  ------------------
  244|   165k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  245|   165k|                break;
  246|      6|            case structure_type::root_t:
  ------------------
  |  Branch (246:13): [True: 6, False: 165k]
  ------------------
  247|      6|                result_ = Json(byte_string_arg, b, tag, allocator_);
  248|      6|                is_valid_ = true;
  249|      6|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      6|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  250|   165k|        }
  251|   165k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   165k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  252|   165k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  258|  65.7k|    {
  259|  65.7k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (259:17): [True: 65.7k, False: 0]
  ------------------
  260|  65.7k|        {
  261|  3.60k|            case structure_type::object_t:
  ------------------
  |  Branch (261:13): [True: 3.60k, False: 62.1k]
  ------------------
  262|  65.7k|            case structure_type::array_t:
  ------------------
  |  Branch (262:13): [True: 62.1k, False: 3.60k]
  ------------------
  263|  65.7k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, ext_tag);
  264|  65.7k|                break;
  265|      5|            case structure_type::root_t:
  ------------------
  |  Branch (265:13): [True: 5, False: 65.7k]
  ------------------
  266|      5|                result_ = Json(byte_string_arg, b, ext_tag, allocator_);
  267|      5|                is_valid_ = true;
  268|      5|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      5|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  269|  65.7k|        }
  270|  65.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  65.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  271|  65.7k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  2.35k|    {
  109|  2.35k|        return is_valid_;
  110|  2.35k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  2.35k|    {
  114|  2.35k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   45|  2.35k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.35k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  115|  2.35k|        is_valid_ = false;
  116|  2.35k|        return std::move(result_);
  117|  2.35k|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  6.63k|{
 1065|  6.63k|    return json_visitor_adaptor<From, To>(to);
 1066|  6.63k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  6.63k|        : supertype(visitor)
  984|  6.63k|    {
  985|  6.63k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  6.63k|        : destination1_(std::addressof(visitor))
  722|  6.63k|    {
  723|  6.63k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  777|  4.57M|    {
  778|  4.57M|        destination1_->begin_array(length, tag, context, ec);
  779|  4.57M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  4.57M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  4.54M|    {
  784|  4.54M|        destination1_->end_array(context, ec);
  785|  4.54M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.54M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  4.54M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  17.4M|    {
  826|  17.4M|        destination1_->uint64_value(value, tag, context, ec);
  827|  17.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  17.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  17.4M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  3.12M|    {
  820|  3.12M|        destination1_->int64_value(value, tag, context, ec);
  821|  3.12M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  3.12M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  56.7k|    {
  814|  56.7k|        destination1_->double_value(value, tag, context, ec);
  815|  56.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  56.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  56.7k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.35k|    {
  739|  2.35k|        destination1_->flush();
  740|  2.35k|    }
_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.67M|    {
  755|  2.67M|        destination1_->begin_object(length, tag, context, ec);
  756|  2.67M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.67M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  2.67M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  2.66M|    {
  761|  2.66M|        destination1_->end_object(context, ec);
  762|  2.66M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.66M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  2.66M|    }
_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.32M|    {
  996|  4.32M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  4.32M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  4.80M|    {
  733|  4.80M|        return *destination1_;
  734|  4.80M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  1.75M|    {
  838|  1.75M|        destination1_->null_value(tag, context, ec);
  839|  1.75M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.75M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  1.75M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  2.24M|    {
  832|  2.24M|        destination1_->bool_value(value, tag, context, ec);
  833|  2.24M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.24M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  2.24M|    }
_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|   475k|    {
 1004|   475k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|   475k|    }
_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|   165k|    {
  793|   165k|        destination1_->byte_string_value(b, tag, context, ec);
  794|   165k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   165k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|   165k|    }
_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|  65.7k|    {
  802|  65.7k|        destination1_->byte_string_value(b, ext_tag, context, ec);
  803|  65.7k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  65.7k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  65.7k|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  432|  46.2k|        {
  433|  46.2k|            return members_.empty();
  434|  46.2k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  465|   352k|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  442|   352k|        {
  443|   352k|            return members_.begin();
  444|   352k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  447|   352k|        {
  448|   352k|            return members_.end();
  449|   352k|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   358k|        {
  121|   358k|            return value_;
  122|   358k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  427|  2.67M|        {
  428|  2.67M|            flatten_and_destroy();
  429|  2.67M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  986|  2.67M|        {
  987|  2.67M|            if (!members_.empty())
  ------------------
  |  Branch (987:17): [True: 16.5k, False: 2.65M]
  ------------------
  988|  16.5k|            {
  989|  16.5k|                json_array<Json> temp(get_allocator());
  990|       |
  991|  16.5k|                for (auto& kv : members_)
  ------------------
  |  Branch (991:31): [True: 94.9k, False: 16.5k]
  ------------------
  992|  94.9k|                {
  993|  94.9k|                    switch (kv.value().storage_kind())
  994|  94.9k|                    {
  995|  5.90k|                        case json_storage_kind::array:
  ------------------
  |  Branch (995:25): [True: 5.90k, False: 89.0k]
  ------------------
  996|  15.4k|                        case json_storage_kind::object:
  ------------------
  |  Branch (996:25): [True: 9.50k, False: 85.4k]
  ------------------
  997|  15.4k|                            if (!kv.value().empty())
  ------------------
  |  Branch (997:33): [True: 7.41k, False: 8.00k]
  ------------------
  998|  7.41k|                            {
  999|  7.41k|                                temp.emplace_back(std::move(kv.value()));
 1000|  7.41k|                            }
 1001|  15.4k|                            break;
 1002|  79.5k|                        default:
  ------------------
  |  Branch (1002:25): [True: 79.5k, False: 15.4k]
  ------------------
 1003|  79.5k|                            break;
 1004|  94.9k|                    }
 1005|  94.9k|                }
 1006|  16.5k|            }
 1007|  2.67M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  61.3M|        index_key_value(index_key_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
  334|  2.67M|        {
  335|  2.67M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  18.9M|        index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  17.4M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  17.4M|        {
   45|  17.4M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.12M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.12M|        {
   45|  3.12M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  56.7k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  56.7k|        {
   45|  56.7k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.67M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.67M|        {
   45|  2.67M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  539|  50.1k|        {
  540|  50.1k|            if (count > 0)
  ------------------
  |  Branch (540:17): [True: 50.1k, False: 0]
  ------------------
  541|  50.1k|            {
  542|  50.1k|                members_.reserve(count);
  543|       |
  544|  50.1k|                std::sort(items, items+count, compare);
  545|  50.1k|                members_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  546|       |                
  547|  3.30M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (547:41): [True: 3.25M, False: 50.1k]
  ------------------
  548|  3.25M|                {
  549|  3.25M|                    auto& item = items[i];
  550|  3.25M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (550:25): [True: 138k, False: 3.11M]
  ------------------
  551|   138k|                    {
  552|   138k|                        members_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  553|   138k|                    }
  554|  3.25M|                }
  555|  50.1k|            }
  556|  50.1k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  530|  69.5M|        {
  531|  69.5M|            int comp = item1.name.compare(item2.name); 
  532|  69.5M|            if (comp < 0) return true;
  ------------------
  |  Branch (532:17): [True: 1.81M, False: 67.7M]
  ------------------
  533|  67.7M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (533:17): [True: 66.2M, False: 1.47M]
  ------------------
  534|       |
  535|  1.47M|            return false;
  536|  67.7M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   188k|            : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   188k|        {
   88|   188k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.57M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.57M|        {
   45|  4.57M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.75M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.75M|        {
   45|  1.75M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.24M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.24M|        {
   45|  2.24M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|   475k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   475k|        {
   45|   475k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   165k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   165k|        {
   45|   165k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  65.7k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  65.7k|        {
   45|  65.7k|        }

_ZN8jsoncons18is_trivial_storageENS_17json_storage_kindE:
  210|   108M|    {
  211|   108M|        static const uint8_t mask{ uint8_t(json_storage_kind::long_str) & uint8_t(json_storage_kind::byte_str) 
  212|   108M|            & uint8_t(json_storage_kind::array) & uint8_t(json_storage_kind::object) };
  213|   108M|        return (uint8_t(storage_kind) & mask) != mask;
  214|   108M|    }

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  19.8k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  26.5k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  4.57M|        {
  561|  4.57M|            visit_begin_array(tag, context, ec);
  562|  4.57M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.57M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  4.57M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  2.67M|        {
  545|  2.67M|            visit_begin_object(tag, context, ec);
  546|  2.67M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.67M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  2.67M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  9.15M|        {
  346|  9.15M|            visit_begin_array(length, tag, context, ec);
  347|  9.15M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.15M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  9.15M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  34.8M|        {
  415|  34.8M|            visit_uint64(value, tag, context, ec);
  416|  34.8M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  34.8M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  34.8M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  9.08M|        {
  352|  9.08M|            visit_end_array(context, ec);
  353|  9.08M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.08M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  9.08M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  6.25M|        {
  424|  6.25M|            visit_int64(value, tag, context, ec);
  425|  6.25M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  6.25M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|   113k|        {
  442|   113k|            visit_double(value, tag, context, ec);
  443|   113k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   113k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|   113k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.71k|        {
  109|  4.71k|            visit_flush();
  110|  4.71k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  5.34M|        {
  328|  5.34M|            visit_begin_object(length, tag, context, ec);
  329|  5.34M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.34M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  5.34M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  5.33M|        {
  334|  5.33M|            visit_end_object(context, ec);
  335|  5.33M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.33M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  5.33M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  8.65M|        {
  358|  8.65M|            visit_key(name, context, ec);
  359|  8.65M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.65M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  8.65M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  3.51M|        {
  366|  3.51M|            visit_null(tag, context, ec);
  367|  3.51M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.51M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  3.51M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  4.48M|        {
  375|  4.48M|            visit_bool(value, tag, context, ec);
  376|  4.48M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.48M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  4.48M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|   951k|        {
  384|   951k|            visit_string(value, tag, context, ec);
  385|   951k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   951k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|   951k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   330k|        {
  395|   330k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   330k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   330k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   330k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   131k|        {
  406|   131k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  407|   131k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   131k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   131k|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  6.63k|        basic_default_json_visitor() = default;

_ZN8jsoncons11ser_contextD2Ev:
   21|  6.63k|    virtual ~ser_context() = default;
_ZN8jsoncons10read_errorC2ENSt3__110error_codeEmm:
   63|  4.27k|        : ec_{ec}, line_{line}, column_{column}
   64|  4.27k|    {
   65|  4.27k|    }
_ZNK8jsoncons10read_error4codeEv:
   81|  4.27k|    {
   82|  4.27k|        return ec_;
   83|  4.27k|    }
_ZNK8jsoncons10read_error4lineEv:
   89|  4.27k|    {
   90|  4.27k|        return line_;
   91|  4.27k|    }
_ZNK8jsoncons10read_error6columnEv:
   93|  4.27k|    {
   94|  4.27k|        return column_;
   95|  4.27k|    }

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

_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEEC2ERNS1_13basic_istreamIcNS1_11char_traitsIcEEEERKS3_:
  171|  6.63k|            : alloc_(alloc), stream_ptr_(std::addressof(is)), sbuf_(is.rdbuf()),
  172|  6.63k|              buffer_size_(default_max_buffer_size)
  173|  6.63k|        {
  174|  6.63k|            buffer_ = std::allocator_traits<char_allocator_type>::allocate(alloc_, buffer_size_);
  175|  6.63k|            data_ = buffer_;
  176|  6.63k|        }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   54|  6.63k|          : std::basic_istream<CharT>(&nb_)
   55|  6.63k|        {
   56|  6.63k|        }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   40|  6.63k|            null_buffer() = default;
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEED2Ev:
  188|  6.63k|        {
  189|  6.63k|            if (buffer_)
  ------------------
  |  Branch (189:17): [True: 6.63k, False: 0]
  ------------------
  190|  6.63k|            {
  191|  6.63k|                std::allocator_traits<char_allocator_type>::deallocate(alloc_, buffer_, buffer_size_);
  192|  6.63k|            }
  193|  6.63k|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8positionEv:
  281|  4.27k|        {
  282|  4.27k|            return position_;
  283|  4.27k|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE8is_errorEv:
  276|  72.7M|        {
  277|  72.7M|            return stream_ptr_->bad();  
  278|  72.7M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE4readEPhm:
  343|  78.9M|        {
  344|  78.9M|            std::size_t len = 0;
  345|  78.9M|            if (length_ > 0)
  ------------------
  |  Branch (345:17): [True: 78.9M, False: 15.1k]
  ------------------
  346|  78.9M|            {
  347|  78.9M|                len = (std::min)(length_, length);
  348|  78.9M|                std::memcpy(p, data_, len*sizeof(value_type));
  349|  78.9M|                data_ += len;
  350|  78.9M|                length_ -= len;
  351|  78.9M|                position_ += len;
  352|  78.9M|            }
  353|  78.9M|            if (length - len == 0)
  ------------------
  |  Branch (353:17): [True: 78.9M, False: 16.2k]
  ------------------
  354|  78.9M|            {
  355|  78.9M|                return len;
  356|  78.9M|            }
  357|  16.2k|            else if (length - len < buffer_size_)
  ------------------
  |  Branch (357:22): [True: 15.9k, False: 275]
  ------------------
  358|  15.9k|            {
  359|  15.9k|                fill_buffer();
  360|  15.9k|                if (length_ > 0)
  ------------------
  |  Branch (360:21): [True: 12.0k, False: 3.91k]
  ------------------
  361|  12.0k|                {
  362|  12.0k|                    std::size_t len2 = (std::min)(length_, length-len);
  363|  12.0k|                    std::memcpy(p+len, data_, len2*sizeof(value_type));
  364|  12.0k|                    data_ += len2;
  365|  12.0k|                    length_ -= len2;
  366|  12.0k|                    position_ += len2;
  367|  12.0k|                    len += len2;
  368|  12.0k|                }
  369|  15.9k|                return len;
  370|  15.9k|            }
  371|    275|            else
  372|    275|            {
  373|    275|                if (stream_ptr_->eof())
  ------------------
  |  Branch (373:21): [True: 0, False: 275]
  ------------------
  374|      0|                {
  375|      0|                    length_ = 0;
  376|      0|                    return 0;
  377|      0|                }
  378|    275|                JSONCONS_TRY
  ------------------
  |  |   37|    275|    #define JSONCONS_TRY try
  ------------------
  379|    275|                {
  380|    275|                    std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  381|    275|                    std::size_t len2 = static_cast<std::size_t>(count);
  382|    275|                    if (len2 < length-len)
  ------------------
  |  Branch (382:25): [True: 25, False: 250]
  ------------------
  383|     25|                    {
  384|     25|                        stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  385|     25|                    }
  386|    275|                    len += len2;
  387|    275|                    position_ += len2;
  388|    275|                    return len;
  389|    275|                }
  390|    275|                JSONCONS_CATCH(const std::exception&)     
  391|    275|                {
  392|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  393|      0|                    return 0;
  394|      0|                }
  395|    275|            }
  396|  78.9M|        }
_ZN8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE11fill_bufferEv:
  399|  15.9k|        {
  400|  15.9k|            if (stream_ptr_->eof())
  ------------------
  |  Branch (400:17): [True: 3.88k, False: 12.0k]
  ------------------
  401|  3.88k|            {
  402|  3.88k|                length_ = 0;
  403|  3.88k|                return;
  404|  3.88k|            }
  405|       |
  406|  12.0k|            data_ = buffer_;
  407|  12.0k|            JSONCONS_TRY
  ------------------
  |  |   37|  12.0k|    #define JSONCONS_TRY try
  ------------------
  408|  12.0k|            {
  409|  12.0k|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(buffer_), buffer_size_);
  410|  12.0k|                length_ = static_cast<std::size_t>(count);
  411|       |
  412|  12.0k|                if (length_ < buffer_size_)
  ------------------
  |  Branch (412:21): [True: 6.59k, False: 5.49k]
  ------------------
  413|  6.59k|                {
  414|  6.59k|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  415|  6.59k|                }
  416|  12.0k|            }
  417|  12.0k|            JSONCONS_CATCH(const std::exception&)     
  418|  12.0k|            {
  419|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  420|      0|                length_ = 0;
  421|      0|            }
  422|  12.0k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_12basic_stringIcNS2_11char_traitsIcEENS3_IcEEEEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISE_EE5valuentsr10ext_traits14has_data_exactIPhSE_EE5valueEmE4typeERS5_RSE_m:
  882|   722k|        {
  883|   722k|            std::size_t unread = length;
  884|       |
  885|   722k|            std::size_t n = (std::min)(max_buffer_length, unread);
  886|   726k|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (886:20): [True: 3.95k, False: 722k]
  |  Branch (886:29): [True: 3.79k, False: 154]
  ------------------
  887|  3.79k|            {
  888|  3.79k|                v.reserve(v.size()+n);
  889|  3.79k|                std::size_t actual = 0;
  890|  5.38M|                while (actual < n)
  ------------------
  |  Branch (890:24): [True: 5.38M, False: 3.69k]
  ------------------
  891|  5.38M|                {
  892|  5.38M|                    typename Source::value_type c{};
  893|  5.38M|                    if (source.read(&c,1) != 1)
  ------------------
  |  Branch (893:25): [True: 103, False: 5.38M]
  ------------------
  894|    103|                    {
  895|    103|                        break;
  896|    103|                    }
  897|  5.38M|                    v.push_back(c);
  898|  5.38M|                    ++actual;
  899|  5.38M|                }
  900|  3.79k|                unread -= actual;
  901|  3.79k|                n = (std::min)(max_buffer_length, unread);
  902|  3.79k|            }
  903|       |
  904|   722k|            return length - unread;
  905|   722k|        }
_ZNK8jsoncons13stream_sourceIhNSt3__19allocatorIhEEE3eofEv:
  271|   111k|        {
  272|   111k|            return length_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (272:20): [True: 886, False: 111k]
  |  Branch (272:36): [True: 464, False: 422]
  ------------------
  273|   111k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhNSt3__19allocatorIhEEEEE4readINS2_6vectorIhS4_EEEENS2_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr10ext_traits11has_reserveISB_EE5valuesr10ext_traits14has_data_exactIPhSB_EE5valueEmE4typeERS5_RSB_m:
  859|   309k|        {
  860|   309k|            std::size_t unread = length;
  861|       |
  862|   309k|            std::size_t n = (std::min)(max_buffer_length, unread);
  863|   417k|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (863:20): [True: 107k, False: 309k]
  |  Branch (863:29): [True: 107k, False: 310]
  ------------------
  864|   107k|            {
  865|   107k|                std::size_t offset = v.size();
  866|   107k|                v.resize(v.size()+n);
  867|   107k|                std::size_t actual = source.read(v.data()+offset, n);
  868|   107k|                unread -= actual;
  869|   107k|                n = (std::min)(max_buffer_length, unread);
  870|   107k|            }
  871|       |
  872|   309k|            return length - unread;
  873|   309k|        }

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  678|  77.4k|        : storage_(n, alloc)
  679|  77.4k|    {
  680|  77.4k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  345|  77.4k|        : word_allocator_type(alloc)
  346|  77.4k|    {
  347|  77.4k|        ::new (&inlined_) inlined_storage(n);
  348|  77.4k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  137|  77.4k|            : is_allocated_(false),
  138|  77.4k|            is_negative_(false),
  139|  77.4k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (139:19): [True: 26.5k, False: 50.8k]
  ------------------
  140|  77.4k|        {
  141|  77.4k|            values_[0] = n;
  142|  77.4k|            values_[1] = 0;
  143|  77.4k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  928|  20.8k|    {
  929|  20.8k|        auto this_view = get_storage_view();
  930|  20.8k|        size_type len0 = this_view.size();
  931|  20.8k|        word_type dig = this_view[0];
  932|  20.8k|        word_type carry = 0;
  933|       |
  934|  20.8k|        resize(this_view.size() + 1);
  935|  20.8k|        this_view = get_storage_view();
  936|       |
  937|  20.8k|        size_type i = 0;
  938|  40.0k|        for (; i < len0; i++ )
  ------------------
  |  Branch (938:16): [True: 19.2k, False: 20.8k]
  ------------------
  939|  19.2k|        {
  940|  19.2k|            word_type hi;
  941|  19.2k|            word_type lo;
  942|  19.2k|            DDproduct( dig, y, hi, lo );
  943|  19.2k|            this_view[i] = lo + carry;
  944|  19.2k|            dig = this_view[i+1];
  945|  19.2k|            carry = hi + (this_view[i] < lo);
  946|  19.2k|        }
  947|  20.8k|        this_view[i] = carry;
  948|  20.8k|        reduce();
  949|  20.8k|        return *this;
  950|  20.8k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  703|   309k|    {
  704|   309k|        return storage_.get_storage_view();
  705|   309k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  505|   447k|    {
  506|   447k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (506:16): [True: 103k, False: 343k]
  ------------------
  507|   103k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  508|   447k|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  509|   447k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   63|   447k|            : data_(data), size_(size)
   64|   447k|        {
   65|   447k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   83|   757k|        {
   84|   757k|            return size_;
   85|   757k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   68|   288k|        {
   69|   288k|            return data_[i];
   70|   288k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  820|  50.0k|    {
  821|  50.0k|        storage_.resize(new_length);
  822|  50.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  519|   112k|    {
  520|   112k|        size_type old_length = common_.size_;
  521|   112k|        reserve(new_length);
  522|   112k|        common_.size_ = new_length;
  523|       |
  524|   112k|        if (old_length < new_length)
  ------------------
  |  Branch (524:13): [True: 62.6k, False: 50.2k]
  ------------------
  525|  62.6k|        {
  526|  62.6k|            if (is_allocated())
  ------------------
  |  Branch (526:17): [True: 7.97k, False: 54.6k]
  ------------------
  527|  7.97k|            {
  528|  7.97k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  529|  7.97k|            }
  530|  54.6k|            else
  531|  54.6k|            {
  532|  54.6k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   45|  54.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 54.6k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  533|   133k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (533:48): [True: 78.8k, False: 54.6k]
  ------------------
  534|  78.8k|                {
  535|  78.8k|                    inlined_.values_[i] = 0;
  536|  78.8k|                }
  537|  54.6k|            }
  538|  62.6k|        }
  539|   112k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  437|   112k|    {
  438|   112k|       if (capacity() < n)
  ------------------
  |  Branch (438:12): [True: 7.97k, False: 104k]
  ------------------
  439|  7.97k|       {
  440|  7.97k|           if (!is_allocated())
  ------------------
  |  Branch (440:16): [True: 7.97k, False: 0]
  ------------------
  441|  7.97k|           {
  442|  7.97k|               size_type size = inlined_.size_;
  443|  7.97k|               size_type is_neg = inlined_.is_negative_;
  444|  7.97k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  445|       |
  446|  7.97k|               ::new (&allocated_) allocated_storage();
  447|  7.97k|               allocated_.reserve(n, get_allocator());
  448|  7.97k|               allocated_.size_ = size;
  449|  7.97k|               allocated_.is_negative_ = is_neg;
  450|  7.97k|               if (n >= 1)
  ------------------
  |  Branch (450:20): [True: 7.97k, False: 0]
  ------------------
  451|  7.97k|               {
  452|  7.97k|                   allocated_.data_[0] = values[0];
  453|  7.97k|               }
  454|  7.97k|               if (n >= 2)
  ------------------
  |  Branch (454:20): [True: 7.97k, False: 0]
  ------------------
  455|  7.97k|               {
  456|  7.97k|                   allocated_.data_[1] = values[1];
  457|  7.97k|               }
  458|  7.97k|           }
  459|      0|           else
  460|      0|           {
  461|      0|               allocated_.reserve(n, get_allocator());
  462|      0|           }
  463|  7.97k|       }
  464|   112k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  490|   112k|    {
  491|   112k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (491:16): [True: 15.9k, False: 96.8k]
  ------------------
  492|   112k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  201|  7.97k|            : is_allocated_(true),
  202|  7.97k|            is_negative_(false)
  203|  7.97k|        {
  204|  7.97k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  253|  7.97k|        {
  254|  7.97k|            size_type capacity_new = round_up(n);
  255|       |
  256|  7.97k|            real_allocator_type alloc(a);
  257|  7.97k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  258|  7.97k|            if (size_ > 0)
  ------------------
  |  Branch (258:17): [True: 0, False: 7.97k]
  ------------------
  259|      0|            {
  260|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  261|      0|            }
  262|  7.97k|            if (data_ != nullptr)
  ------------------
  |  Branch (262:17): [True: 0, False: 7.97k]
  ------------------
  263|      0|            {
  264|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  265|      0|            }
  266|  7.97k|            capacity_ = capacity_new;
  267|  7.97k|            data_ = data_new;
  268|  7.97k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  272|  39.8k|        {
  273|  39.8k|            return ((i + 1/3) / mem_unit + 1) * mem_unit;
  274|  39.8k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  467|   206k|    {
  468|   206k|        return static_cast<const word_allocator_type&>(*this);
  469|   206k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  485|   530k|    {
  486|   530k|        return common_.is_allocated_;
  487|   530k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1709|  27.5k|    {
 1710|  27.5k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1711|  27.5k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1712|       |
 1713|  27.5k|        lo = loA * loB;
 1714|  27.5k|        hi = hiA * hiB;
 1715|  27.5k|        word_type mid1 = loA * hiB;
 1716|  27.5k|        word_type mid2 = hiA * loB;
 1717|  27.5k|        word_type old = lo;
 1718|  27.5k|        lo += mid1 << word_type_half_bits;
 1719|  27.5k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1720|  27.5k|        old = lo;
 1721|  27.5k|        lo += mid2 << word_type_half_bits;
 1722|  27.5k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1723|  27.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1845|  75.0k|    {
 1846|  75.0k|        storage_.reduce();
 1847|  75.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  414|  75.0k|    {
  415|  75.0k|        if (common_.size_ > 0)
  ------------------
  |  Branch (415:13): [True: 75.0k, False: 0]
  ------------------
  416|  75.0k|        {
  417|  75.0k|            auto this_view = get_storage_view();
  418|  75.0k|            word_type* p = this_view.end() - 1;
  419|  75.0k|            word_type* first = this_view.begin();
  420|   117k|            while ( p >= first )
  ------------------
  |  Branch (420:21): [True: 114k, False: 3.93k]
  ------------------
  421|   114k|            {
  422|   114k|                if ( *p )
  ------------------
  |  Branch (422:22): [True: 71.1k, False: 42.8k]
  ------------------
  423|  71.1k|                {
  424|  71.1k|                    break;
  425|  71.1k|                }
  426|  42.8k|                --common_.size_;
  427|  42.8k|                --p;
  428|  42.8k|            }
  429|  75.0k|        }
  430|  75.0k|        if (common_.size_ == 0)
  ------------------
  |  Branch (430:13): [True: 3.93k, False: 71.1k]
  ------------------
  431|  3.93k|        {
  432|  3.93k|            common_.is_negative_ = false;
  433|  3.93k|        }
  434|  75.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   92|  75.0k|        {
   93|  75.0k|            return data_ + size_;
   94|  75.0k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   87|  75.0k|        {
   88|  75.0k|            return data_;
   89|  75.0k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  850|  20.8k|    {
  851|  20.8k|        auto y_view = y.get_storage_view();
  852|       |        
  853|  20.8k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (853:14): [True: 0, False: 20.8k]
  ------------------
  854|      0|            return *this -= -y;
  855|  20.8k|        word_type d;
  856|  20.8k|        word_type carry = 0;
  857|       |
  858|  20.8k|        auto this_view = get_storage_view();
  859|  20.8k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  860|  20.8k|        this_view = get_storage_view();
  861|       |
  862|  39.2k|        for (size_type i = 0; i < this_view.size(); i++ )
  ------------------
  |  Branch (862:31): [True: 38.8k, False: 363]
  ------------------
  863|  38.8k|        {
  864|  38.8k|            if ( i >= y_view.size() && carry == 0 )
  ------------------
  |  Branch (864:18): [True: 24.0k, False: 14.8k]
  |  Branch (864:40): [True: 20.5k, False: 3.56k]
  ------------------
  865|  20.5k|                break;
  866|  18.3k|            d = this_view[i] + carry;
  867|  18.3k|            carry = d < carry;
  868|  18.3k|            if ( i < y_view.size())
  ------------------
  |  Branch (868:18): [True: 14.8k, False: 3.56k]
  ------------------
  869|  14.8k|            {
  870|  14.8k|                this_view[i] = d + y_view[i];
  871|  14.8k|                if (this_view[i] < d)
  ------------------
  |  Branch (871:21): [True: 3.56k, False: 11.2k]
  ------------------
  872|  3.56k|                    carry = 1;
  873|  14.8k|            }
  874|  3.56k|            else
  875|  3.56k|            {
  876|  3.56k|                this_view[i] = d;
  877|  3.56k|            }
  878|  18.3k|        }
  879|  20.8k|        reduce();
  880|  20.8k|        return *this;
  881|  20.8k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  708|   128k|    {
  709|   128k|        return storage_.get_storage_view();
  710|   128k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  512|   191k|    {
  513|   191k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (513:16): [True: 39.8k, False: 151k]
  ------------------
  514|  39.8k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  515|   191k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  516|   191k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   63|   191k|            : data_(data), size_(size)
   64|   191k|        {
   65|   191k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  713|   310k|    {
  714|   310k|        return storage_.is_negative();
  715|   310k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  495|   310k|    {
  496|   310k|        return common_.is_negative_;
  497|   310k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  837|  2.47k|    {
  838|  2.47k|        basic_bigint<Allocator> v(*this);
  839|  2.47k|        v.set_negative(!v.is_negative());
  840|  2.47k|        return v;
  841|  2.47k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  656|  23.3k|        : storage_(other.storage_)
  657|  23.3k|    {
  658|  23.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  291|  23.3k|        : word_allocator_type(other.get_allocator())
  292|  23.3k|    {
  293|  23.3k|        if (!other.is_allocated())
  ------------------
  |  Branch (293:13): [True: 15.3k, False: 7.97k]
  ------------------
  294|  15.3k|        {
  295|  15.3k|            ::new (&inlined_) inlined_storage(other.inlined_);
  296|  15.3k|        }
  297|  7.97k|        else
  298|  7.97k|        {
  299|  7.97k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  300|  7.97k|        }
  301|  23.3k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  177|  79.2k|            : is_allocated_(false),
  178|  79.2k|            is_negative_(stor.is_negative_),
  179|  79.2k|            size_(stor.size_)
  180|  79.2k|        {
  181|  79.2k|            values_[0] = stor.values_[0];
  182|  79.2k|            values_[1] = stor.values_[1];
  183|  79.2k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  207|  31.8k|            : is_allocated_(true),
  208|  31.8k|              is_negative_(stor.is_negative_),
  209|  31.8k|              size_(stor.size_),
  210|  31.8k|              capacity_(round_up(stor.size_))
  211|  31.8k|        {
  212|  31.8k|            real_allocator_type alloc(a);
  213|       |
  214|  31.8k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  215|  31.8k|            JSONCONS_TRY
  ------------------
  |  |   37|  31.8k|    #define JSONCONS_TRY try
  ------------------
  216|  31.8k|            {
  217|  31.8k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  218|  31.8k|            }
  219|  31.8k|            JSONCONS_CATCH(...)
  220|  31.8k|            {
  221|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  222|      0|                data_ = nullptr;
  223|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  224|      0|            }
  225|  31.8k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   45|  31.8k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 31.8k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  226|  31.8k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  227|  31.8k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  718|   144k|    {
  719|   144k|        storage_.set_negative(value);
  720|   144k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  500|   144k|    {
  501|   144k|        common_.is_negative_ = value;
  502|   144k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   83|   484k|        {
   84|   484k|            return size_;
   85|   484k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   68|   112k|        {
   69|   112k|            return data_[i];
   70|   112k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  693|   236k|    {
  694|   236k|        storage_.destroy();
  695|   236k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  472|   236k|    {
  473|   236k|        if (is_allocated())
  ------------------
  |  Branch (473:13): [True: 39.8k, False: 196k]
  ------------------
  474|  39.8k|        {
  475|  39.8k|            allocated_.destroy(get_allocator());
  476|  39.8k|            allocated_.~allocated_storage();
  477|  39.8k|        }
  478|   196k|        else
  479|   196k|        {
  480|   196k|            inlined_.~inlined_storage();
  481|   196k|        }
  482|   236k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  244|  39.8k|        {
  245|  39.8k|            if (data_ != nullptr)
  ------------------
  |  Branch (245:17): [True: 39.8k, False: 0]
  ------------------
  246|  39.8k|            {
  247|  39.8k|                real_allocator_type alloc(a);
  248|  39.8k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  249|  39.8k|            }
  250|  39.8k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1288|  20.8k|    {
 1289|  20.8k|        basic_bigint<Allocator> v(*this);
 1290|  20.8k|        auto v_view = v.get_storage_view();
 1291|       |
 1292|  20.8k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1293|  20.8k|        data.reserve(len);
 1294|       |
 1295|  20.8k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1295:14): [True: 1.14k, False: 19.7k]
  ------------------
 1296|  1.14k|        {
 1297|  1.14k|            data.push_back('0');
 1298|  1.14k|        }
 1299|  19.7k|        else
 1300|  19.7k|        {
 1301|  19.7k|            word_type r;
 1302|  19.7k|            basic_bigint<Allocator> R(get_allocator());
 1303|  19.7k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1304|       |
 1305|  19.7k|            do
 1306|  35.5k|            {
 1307|  35.5k|                v.divide( LP10, v, R, true );
 1308|  35.5k|                v_view = v.get_storage_view();
 1309|       |
 1310|  35.5k|                auto R_view = R.get_storage_view();
 1311|  35.5k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1311:22): [True: 32.3k, False: 3.22k]
  ------------------
 1312|   441k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1312:38): [True: 425k, False: 15.7k]
  ------------------
 1313|   425k|                {
 1314|   425k|                    data.push_back(char(r % 10u + '0'));
 1315|   425k|                    r /= 10u;
 1316|   425k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1316:26): [True: 19.7k, False: 405k]
  ------------------
 1317|  19.7k|                        break;
 1318|   425k|                }
 1319|  35.5k|            } 
 1320|  35.5k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1320:21): [True: 15.7k, False: 19.7k]
  ------------------
 1321|       |
 1322|  19.7k|            if (is_negative())
  ------------------
  |  Branch (1322:17): [True: 2.47k, False: 17.2k]
  ------------------
 1323|  2.47k|            {
 1324|  2.47k|                data.push_back('-');
 1325|  2.47k|            }
 1326|  19.7k|            std::reverse(data.begin(),data.end());
 1327|  19.7k|        }
 1328|  20.8k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  698|   127k|    {
  699|   127k|        return storage_.get_allocator();
  700|   127k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  629|  19.7k|        : storage_(alloc)
  630|  19.7k|    {
  631|  19.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  285|  19.7k|        : word_allocator_type(alloc)
  286|  19.7k|    {
  287|  19.7k|        ::new (&inlined_) inlined_storage();
  288|  19.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  112|  19.7k|            : is_allocated_(false),
  113|  19.7k|            is_negative_(false),
  114|  19.7k|            size_(0),
  115|  19.7k|            values_{0, 0}
  116|  19.7k|        {
  117|  19.7k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1603|  35.5k|    {
 1604|  35.5k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1605|  35.5k|        auto denom_view = denom.get_storage_view();
 1606|       |
 1607|  35.5k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1607:13): [True: 0, False: 35.5k]
  ------------------
 1608|      0|        {
 1609|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1610|      0|        }
 1611|  35.5k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1612|  35.5k|        bool rem_neg = is_negative();
 1613|  35.5k|        basic_bigint<Allocator> num(*this, get_allocator());
 1614|  35.5k|        num.set_negative(false);
 1615|  35.5k|        denom.set_negative(false);
 1616|  35.5k|        if ( num < denom )
  ------------------
  |  Branch (1616:14): [True: 19.7k, False: 15.7k]
  ------------------
 1617|  19.7k|        {
 1618|  19.7k|            quot = word_type(0);
 1619|  19.7k|            quot.set_negative(quot_neg);
 1620|  19.7k|            rem = num;
 1621|  19.7k|            rem.set_negative(rem_neg);
 1622|  19.7k|            return;
 1623|  19.7k|        }
 1624|       |
 1625|  15.7k|        auto num_view = num.get_storage_view();
 1626|  15.7k|        auto quot_view = quot.get_storage_view();
 1627|  15.7k|        auto this_view = get_storage_view();
 1628|       |
 1629|  15.7k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1629:14): [True: 15.7k, False: 0]
  |  Branch (1629:40): [True: 7.46k, False: 8.33k]
  ------------------
 1630|  7.46k|        {
 1631|  7.46k|            quot = word_type( num_view[0]/denom_view[0] );
 1632|  7.46k|            rem = word_type( num_view[0]%denom_view[0] );
 1633|  7.46k|            quot.set_negative(quot_neg);
 1634|  7.46k|            rem.set_negative(rem_neg);
 1635|  7.46k|            return;
 1636|  7.46k|        }
 1637|  8.33k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1637:13): [True: 8.33k, False: 0]
  |  Branch (1637:39): [True: 0, False: 8.33k]
  ------------------
 1638|      0|        {
 1639|       |            // Denominator fits into a half word
 1640|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1641|      0|            quot.resize(this_view.size());
 1642|      0|            quot_view = quot.get_storage_view();
 1643|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1643:48): [True: 0, False: 0]
  ------------------
 1644|      0|            {
 1645|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1646|      0|                q1 = dividend/divisor;
 1647|      0|                r = dividend % divisor;
 1648|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1649|      0|                q2 = dividend/divisor;
 1650|      0|                dHi = dividend % divisor;
 1651|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1652|      0|            }
 1653|      0|            quot.reduce();
 1654|      0|            rem = dHi;
 1655|      0|            quot.set_negative(quot_neg);
 1656|      0|            rem.set_negative(rem_neg);
 1657|      0|            return;
 1658|      0|        }
 1659|  8.33k|        basic_bigint<Allocator> num0(num, get_allocator());
 1660|  8.33k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1661|  8.33k|        int x = 0;
 1662|  8.33k|        bool second_done = normalize(denom, num, x);
 1663|  8.33k|        denom_view = denom.get_storage_view();
 1664|  8.33k|        num_view = num.get_storage_view();
 1665|       |
 1666|  8.33k|        size_type l = denom_view.size() - 1;
 1667|  8.33k|        size_type n = num_view.size() - 1;
 1668|  8.33k|        quot.resize(n - l);
 1669|  8.33k|        quot_view = quot.get_storage_view();
 1670|  16.6k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1670:46): [True: 8.33k, False: 8.33k]
  ------------------
 1671|  8.33k|        {
 1672|  8.33k|            quot_view[i] = 0;
 1673|  8.33k|        }
 1674|  8.33k|        rem = num;
 1675|  8.33k|        auto rem_view = rem.get_storage_view();
 1676|  8.33k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1676:14): [True: 0, False: 8.33k]
  ------------------
 1677|      0|        {
 1678|      0|            rem.resize(rem_view.size() + 1);
 1679|      0|            rem_view = rem.get_storage_view();
 1680|      0|            n++;
 1681|      0|            quot.resize(quot_view.size() + 1);
 1682|      0|            quot_view = quot.get_storage_view();
 1683|      0|        }
 1684|  8.33k|        word_type d = denom_view[l];
 1685|       |
 1686|  16.6k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1686:32): [True: 8.33k, False: 8.33k]
  ------------------
 1687|  8.33k|        {
 1688|  8.33k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1689|  8.33k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1690|  8.33k|            quot_view[k - l - 1] = q;
 1691|  8.33k|        }
 1692|  8.33k|        quot.reduce();
 1693|  8.33k|        quot.set_negative(quot_neg);
 1694|  8.33k|        if (remDesired)
  ------------------
  |  Branch (1694:13): [True: 8.33k, False: 0]
  ------------------
 1695|  8.33k|        {
 1696|  8.33k|            unnormalize(rem, x, second_done);
 1697|  8.33k|            rem.set_negative(rem_neg);
 1698|  8.33k|        }
 1699|  8.33k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  661|  87.7k|        : storage_(other.storage_, alloc)
  662|  87.7k|    {
  663|  87.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  304|  87.7k|        : word_allocator_type(alloc)
  305|  87.7k|    {
  306|  87.7k|        if (!other.is_allocated())
  ------------------
  |  Branch (306:13): [True: 63.8k, False: 23.9k]
  ------------------
  307|  63.8k|        {
  308|  63.8k|            ::new (&inlined_) inlined_storage(other.inlined_);
  309|  63.8k|        }
  310|  23.9k|        else
  311|  23.9k|        {
  312|  23.9k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  313|  23.9k|        }
  314|  87.7k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1405|  35.5k|    {
 1406|  35.5k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1406:15): [True: 19.7k, False: 15.7k]
  ------------------
 1407|  35.5k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1570|  44.8k|    {
 1571|  44.8k|        auto this_view = get_storage_view();
 1572|  44.8k|        auto y_view = y.get_storage_view();
 1573|       |
 1574|  44.8k|        if ( this_view.size() == 0 && y_view.size() == 0 )
  ------------------
  |  Branch (1574:14): [True: 670, False: 44.2k]
  |  Branch (1574:39): [True: 670, False: 0]
  ------------------
 1575|    670|            return 0;
 1576|  44.2k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1576:14): [True: 2.47k, False: 41.7k]
  ------------------
 1577|  2.47k|            return y.is_negative() - is_negative();
 1578|  41.7k|        int code = 0;
 1579|  41.7k|        if ( this_view.size() < y_view.size())
  ------------------
  |  Branch (1579:14): [True: 0, False: 41.7k]
  ------------------
 1580|      0|            code = -1;
 1581|  41.7k|        else if ( this_view.size() > y_view.size())
  ------------------
  |  Branch (1581:19): [True: 14.5k, False: 27.1k]
  ------------------
 1582|  14.5k|            code = +1;
 1583|  27.1k|        else
 1584|  27.1k|        {
 1585|  29.2k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1585:50): [True: 27.1k, False: 2.09k]
  ------------------
 1586|  27.1k|            {
 1587|  27.1k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1587:21): [True: 5.36k, False: 21.8k]
  ------------------
 1588|  5.36k|                {
 1589|  5.36k|                    code = 1;
 1590|  5.36k|                    break;
 1591|  5.36k|                }
 1592|  21.8k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1592:26): [True: 19.7k, False: 2.09k]
  ------------------
 1593|  19.7k|                {
 1594|  19.7k|                    code = -1;
 1595|  19.7k|                    break;
 1596|  19.7k|                }
 1597|  27.1k|            }
 1598|  27.1k|        }
 1599|  41.7k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1599:16): [True: 0, False: 41.7k]
  ------------------
 1600|  44.2k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  844|  62.7k|    {
  845|  62.7k|        storage_ = y.storage_;
  846|  62.7k|        return *this;
  847|  62.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  351|  62.7k|    {
  352|  62.7k|        if (this != &other)
  ------------------
  |  Branch (352:13): [True: 62.7k, False: 0]
  ------------------
  353|  62.7k|        {
  354|  62.7k|            auto other_view = other.get_storage_view();
  355|  62.7k|            resize(other_view.size());
  356|  62.7k|            auto this_view = get_storage_view();
  357|  62.7k|            if (other_view.size() > 0)
  ------------------
  |  Branch (357:17): [True: 40.9k, False: 21.8k]
  ------------------
  358|  40.9k|            {
  359|  40.9k|                common_.is_negative_ = other.common_.is_negative_;
  360|  40.9k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  361|  40.9k|            }
  362|  62.7k|        }
  363|  62.7k|        return *this;
  364|  62.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   78|  40.9k|        {
   79|  40.9k|            return data_;
   80|  40.9k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1800|  8.33k|    {
 1801|  8.33k|        auto denom_view = denom.get_storage_view();
 1802|  8.33k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1802:13): [True: 0, False: 8.33k]
  ------------------
 1803|      0|        {
 1804|      0|            return false;
 1805|      0|        }
 1806|  8.33k|        size_type r = denom_view.size() - 1;
 1807|  8.33k|        word_type y = denom_view[r];
 1808|       |
 1809|  8.33k|        x = 0;
 1810|  8.33k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1810:17): [True: 0, False: 8.33k]
  ------------------
 1811|      0|        {
 1812|      0|            y <<= 1;
 1813|      0|            x++;
 1814|      0|        }
 1815|  8.33k|        denom <<= x;
 1816|  8.33k|        num <<= x;
 1817|       |
 1818|  8.33k|        denom_view = denom.get_storage_view();
 1819|  8.33k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1819:14): [True: 0, False: 8.33k]
  |  Branch (1819:23): [True: 0, False: 0]
  ------------------
 1820|      0|        {
 1821|      0|            denom *= max_word;
 1822|      0|            num *= max_word;
 1823|      0|            return true;
 1824|      0|        }
 1825|  8.33k|        return false;
 1826|  8.33k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1046|  16.6k|    {
 1047|  16.6k|        auto this_view = get_storage_view();
 1048|  16.6k|        size_type q = k / word_type_bits;
 1049|  16.6k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1049:14): [True: 0, False: 16.6k]
  ------------------
 1050|      0|        {
 1051|      0|            resize(this_view.size() + q);
 1052|      0|            this_view = get_storage_view();
 1053|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1053:50): [True: 0, False: 0]
  ------------------
 1054|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1054:34): [True: 0, False: 0]
  ------------------
 1055|      0|            k %= word_type_bits;
 1056|      0|        }
 1057|  16.6k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1057:14): [True: 0, False: 16.6k]
  ------------------
 1058|      0|        {
 1059|      0|            size_type k1 = word_type_bits - k;
 1060|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1061|      0|            resize( this_view.size() + 1 );
 1062|      0|            this_view = get_storage_view();
 1063|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1063:50): [True: 0, False: 0]
  ------------------
 1064|      0|            {
 1065|      0|                this_view[i] <<= k;
 1066|      0|                if ( i > 0 )
  ------------------
  |  Branch (1066:22): [True: 0, False: 0]
  ------------------
 1067|      0|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1068|      0|            }
 1069|      0|        }
 1070|  16.6k|        reduce();
 1071|  16.6k|        return *this;
 1072|  16.6k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1727|  8.33k|    {
 1728|  8.33k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1729|  8.33k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1730|  8.33k|        qHi = A/(dHi + 1);
 1731|       |        // This initial guess of qHi may be too small.
 1732|  8.33k|        middle = qHi * dLo;
 1733|  8.33k|        left = qHi * dHi;
 1734|  8.33k|        x = B - (middle << word_type_half_bits);
 1735|  8.33k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1736|  8.33k|        B = x;
 1737|  8.33k|        dLo1 = dLo << word_type_half_bits;
 1738|       |        // Increase qHi if necessary:
 1739|  8.33k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1739:17): [True: 0, False: 8.33k]
  |  Branch (1739:29): [True: 0, False: 8.33k]
  |  Branch (1739:41): [True: 0, False: 0]
  ------------------
 1740|      0|        {
 1741|      0|            x = B - dLo1;
 1742|      0|            A -= dHi + (x > B);
 1743|      0|            B = x;
 1744|      0|            qHi++;
 1745|      0|        }
 1746|  8.33k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1747|       |        // This initial guess of qLo may be too small.
 1748|  8.33k|        right = qLo * dLo;
 1749|  8.33k|        middle = qLo * dHi;
 1750|  8.33k|        x = B - right;
 1751|  8.33k|        A -= (x > B);
 1752|  8.33k|        B = x;
 1753|  8.33k|        x = B - (middle << word_type_half_bits);
 1754|  8.33k|            A -= (middle >> word_type_half_bits) + (x > B);
 1755|  8.33k|        B = x;
 1756|       |        // Increase qLo if necessary:
 1757|  10.1k|        while ( A || B >= d )
  ------------------
  |  Branch (1757:17): [True: 0, False: 10.1k]
  |  Branch (1757:22): [True: 1.77k, False: 8.33k]
  ------------------
 1758|  1.77k|        {
 1759|  1.77k|            x = B - d;
 1760|  1.77k|            A -= (x > B);
 1761|  1.77k|            B = x;
 1762|  1.77k|            qLo++;
 1763|  1.77k|        }
 1764|  8.33k|        return (qHi << word_type_half_bits) + qLo;
 1765|  8.33k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1769|  8.33k|    {
 1770|  8.33k|        word_type hi, lo, d, carry = 0;
 1771|  8.33k|        size_type i;
 1772|  16.6k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1772:22): [True: 8.33k, False: 8.33k]
  ------------------
 1773|  8.33k|        {
 1774|  8.33k|            DDproduct( b[i], q, hi, lo );
 1775|  8.33k|            d = a[i];
 1776|  8.33k|            a[i] -= lo;
 1777|  8.33k|            if ( a[i] > d )
  ------------------
  |  Branch (1777:18): [True: 4.02k, False: 4.30k]
  ------------------
 1778|  4.02k|                carry++;
 1779|  8.33k|            d = a[i + 1];
 1780|  8.33k|            a[i + 1] -= hi + carry;
 1781|  8.33k|            carry = a[i + 1] > d;
 1782|  8.33k|        }
 1783|  8.33k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1783:14): [True: 0, False: 8.33k]
  ------------------
 1784|      0|        {
 1785|      0|            q--;
 1786|      0|            carry = 0;
 1787|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1787:26): [True: 0, False: 0]
  ------------------
 1788|      0|            {
 1789|      0|                d = a[i] + carry;
 1790|      0|                carry = d < carry;
 1791|      0|                a[i] = d + b[i];
 1792|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1792:22): [True: 0, False: 0]
  ------------------
 1793|      0|                    carry = 1;
 1794|      0|            }
 1795|      0|            a[n] = 0;
 1796|      0|        }
 1797|  8.33k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   78|  57.5k|        {
   79|  57.5k|            return data_;
   80|  57.5k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1829|  8.33k|    {
 1830|  8.33k|        if (secondDone)
  ------------------
  |  Branch (1830:13): [True: 0, False: 8.33k]
  ------------------
 1831|      0|        {
 1832|      0|            rem /= max_word;
 1833|      0|        }
 1834|  8.33k|        if ( x > 0 )
  ------------------
  |  Branch (1834:14): [True: 0, False: 8.33k]
  ------------------
 1835|      0|        {
 1836|      0|            rem >>= x;
 1837|      0|        }
 1838|  8.33k|        else
 1839|  8.33k|        {
 1840|  8.33k|            rem.reduce();
 1841|  8.33k|        }
 1842|  8.33k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  678|  18.6k|        : storage_(n, alloc)
  679|  18.6k|    {
  680|  18.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  345|  18.6k|        : word_allocator_type(alloc)
  346|  18.6k|    {
  347|  18.6k|        ::new (&inlined_) inlined_storage(n);
  348|  18.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  124|  18.6k|            : is_allocated_(false),
  125|  18.6k|            is_negative_(n < 0),
  126|  18.6k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (126:19): [True: 10.0k, False: 8.67k]
  ------------------
  127|  18.6k|        {
  128|  18.6k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (128:26): [True: 2.47k, False: 16.2k]
  ------------------
  129|  18.6k|            values_[1] = 0;
  130|  18.6k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1410|  9.34k|    {
 1411|  9.34k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1411:15): [True: 2.47k, False: 6.87k]
  ------------------
 1412|  9.34k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  678|  9.34k|        : storage_(n, alloc)
  679|  9.34k|    {
  680|  9.34k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  345|  9.34k|        : word_allocator_type(alloc)
  346|  9.34k|    {
  347|  9.34k|        ::new (&inlined_) inlined_storage(n);
  348|  9.34k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  137|  9.34k|            : is_allocated_(false),
  138|  9.34k|            is_negative_(false),
  139|  9.34k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (139:19): [True: 2.30k, False: 7.04k]
  ------------------
  140|  9.34k|        {
  141|  9.34k|            values_[0] = n;
  142|  9.34k|            values_[1] = 0;
  143|  9.34k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  884|  2.47k|    {
  885|  2.47k|        auto y_view = y.get_storage_view();
  886|       |
  887|  2.47k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (887:14): [True: 2.47k, False: 0]
  ------------------
  888|  2.47k|            return *this += -y;
  889|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (889:15): [True: 0, False: 0]
  |  Branch (889:33): [True: 0, False: 0]
  |  Branch (889:48): [True: 0, False: 0]
  |  Branch (889:65): [True: 0, False: 0]
  ------------------
  890|      0|            return *this = -(y - *this);
  891|      0|        word_type borrow = 0;
  892|      0|        word_type d;
  893|      0|        auto this_view = get_storage_view();
  894|      0|        for (size_type i = 0; i < this_view.size(); i++ )
  ------------------
  |  Branch (894:31): [True: 0, False: 0]
  ------------------
  895|      0|        {
  896|      0|            if ( i >= y_view.size() && borrow == 0 )
  ------------------
  |  Branch (896:18): [True: 0, False: 0]
  |  Branch (896:40): [True: 0, False: 0]
  ------------------
  897|      0|                break;
  898|      0|            d = this_view[i] - borrow;
  899|      0|            borrow = d > this_view[i];
  900|      0|            if ( i < y_view.size())
  ------------------
  |  Branch (900:18): [True: 0, False: 0]
  ------------------
  901|      0|            {
  902|      0|                this_view[i] = d - y_view[i];
  903|      0|                if ( this_view[i] > d )
  ------------------
  |  Branch (903:22): [True: 0, False: 0]
  ------------------
  904|      0|                    borrow = 1;
  905|      0|            }
  906|      0|            else 
  907|      0|            {
  908|      0|                this_view[i] = d;
  909|      0|            }
  910|      0|        }
  911|      0|        reduce();
  912|      0|        return *this;
  913|      0|    }

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

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  8.48k|    {       
  242|  8.48k|        return (ptr);
  243|  8.48k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|   230k|    {       
  242|   230k|        return (ptr);
  243|   230k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  9.15M|    {       
  242|  9.15M|        return (ptr);
  243|  9.15M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  5.34M|    {       
  242|  5.34M|        return (ptr);
  243|  5.34M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   239k|    {       
  242|   239k|        return (ptr);
  243|   239k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|  31.8k|    {       
  242|  31.8k|        return (ptr);
  243|  31.8k|    }  

_ZN8jsoncons16decstr_to_doubleEPKcmRd:
  866|  3.53k|{
  867|  3.53k|    const char* cur = s+length;
  868|  3.53k|    char *end = nullptr;
  869|  3.53k|    val = strtod(s, &end);
  870|  3.53k|    const char* str_end = end;
  871|  3.53k|    if (JSONCONS_UNLIKELY(end < cur))
  ------------------
  |  |   78|  3.53k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.53k]
  |  |  ------------------
  ------------------
  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|  3.53k|    if (JSONCONS_UNLIKELY(val <= -HUGE_VAL || val >= HUGE_VAL))
  ------------------
  |  |   78|  7.06k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 0, False: 3.53k]
  |  |  |  Branch (78:50): [True: 0, False: 3.53k]
  |  |  |  Branch (78:50): [True: 0, False: 3.53k]
  |  |  ------------------
  ------------------
  888|      0|    {
  889|      0|        return to_number_result<char>{str_end, std::errc::result_out_of_range};
  890|      0|    }
  891|  3.53k|    return to_number_result<char>{str_end};
  892|  3.53k|}
_ZN8jsoncons16to_number_resultIcEC2EPKc:
  137|  3.53k|        : ptr(ptr_), ec(std::errc{})
  138|  3.53k|    {
  139|  3.53k|    }

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1134|   722k|    {
 1135|   722k|        conv_errc  result = conv_errc();
 1136|   722k|        const CharT* last = data + length;
 1137|  2.73M|        while (data != last) 
  ------------------
  |  Branch (1137:16): [True: 2.01M, False: 722k]
  ------------------
 1138|  2.01M|        {
 1139|  2.01M|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1140|  2.01M|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1140:17): [True: 7, False: 2.01M]
  ------------------
 1141|      7|            {
 1142|      7|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1143|      7|            }
 1144|  2.01M|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1144:17): [True: 112, False: 2.01M]
  ------------------
 1145|    112|            {
 1146|    112|                return convert_result<CharT>{data,result} ;
 1147|    112|            }
 1148|  2.01M|            data += len;
 1149|  2.01M|        }
 1150|   722k|        return convert_result<CharT>{data,result} ;
 1151|   722k|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  303|  2.01M|    {
  304|  2.01M|        uint8_t a;
  305|  2.01M|        const CharT* srcptr = first+length;
  306|  2.01M|        switch (length) {
  307|     10|        default:
  ------------------
  |  Branch (307:9): [True: 10, False: 2.01M]
  ------------------
  308|     10|            return conv_errc::over_long_utf8_sequence;
  309|    596|        case 4:
  ------------------
  |  Branch (309:9): [True: 596, False: 2.01M]
  ------------------
  310|    596|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (310:17): [True: 4, False: 592]
  ------------------
  311|      4|                return conv_errc::expected_continuation_byte;
  312|    592|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    592|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  313|  1.31k|        case 3:
  ------------------
  |  Branch (313:9): [True: 724, False: 2.01M]
  ------------------
  314|  1.31k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 4, False: 1.31k]
  ------------------
  315|      4|                return conv_errc::expected_continuation_byte;
  316|  1.31k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.31k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  1.78k|        case 2:
  ------------------
  |  Branch (317:9): [True: 471, False: 2.01M]
  ------------------
  318|  1.78k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 29, False: 1.75k]
  ------------------
  319|     29|                return conv_errc::expected_continuation_byte;
  320|       |
  321|  1.75k|            switch (static_cast<uint8_t>(*first)) 
  322|  1.75k|            {
  323|       |                // no fall-through in this inner switch
  324|    300|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (324:17): [True: 300, False: 1.45k]
  |  Branch (324:32): [True: 8, False: 292]
  ------------------
  325|    333|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (325:17): [True: 333, False: 1.42k]
  |  Branch (325:32): [True: 2, False: 331]
  ------------------
  326|    331|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (326:17): [True: 286, False: 1.46k]
  |  Branch (326:32): [True: 5, False: 281]
  ------------------
  327|    281|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (327:17): [True: 206, False: 1.54k]
  |  Branch (327:32): [True: 3, False: 203]
  ------------------
  328|    629|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (328:17): [True: 629, False: 1.12k]
  |  Branch (328:32): [True: 0, False: 629]
  ------------------
  329|  1.75k|            }
  330|       |
  331|  1.73k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.73k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  332|  2.01M|        case 1:
  ------------------
  |  Branch (332:9): [True: 2.01M, False: 1.80k]
  ------------------
  333|  2.01M|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (333:17): [True: 1.78k, False: 2.01M]
  |  Branch (333:57): [True: 46, False: 1.73k]
  ------------------
  334|     46|                return conv_errc::source_illegal;
  335|  2.01M|            break;
  336|  2.01M|        }
  337|  2.01M|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (337:13): [True: 1, False: 2.01M]
  ------------------
  338|      1|            return conv_errc::source_illegal;
  339|       |
  340|  2.01M|        return conv_errc();
  341|  2.01M|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  17.4M|{
   43|  17.4M|    using char_type = typename Result::value_type;
   44|       |
   45|  17.4M|    char_type buf[255];
   46|  17.4M|    char_type *p = buf;
   47|  17.4M|    const char_type* last = buf+255;
   48|       |
   49|  17.4M|    bool is_negative = value < 0;
   50|       |
   51|  17.4M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 17.4M]
  ------------------
   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.4M|    else
   60|  17.4M|    {
   61|       |
   62|  17.4M|        do
   63|  20.3M|        {
   64|  20.3M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  20.3M|        }
   66|  20.3M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 2.93M, False: 17.4M]
  |  Branch (66:33): [True: 2.93M, False: 0]
  ------------------
   67|  17.4M|    }
   68|  17.4M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  17.4M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 17.4M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  17.4M|    std::size_t count = (p - buf);
   71|  17.4M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 17.4M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  37.8M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 20.3M, False: 17.4M]
  ------------------
   77|  20.3M|    {
   78|  20.3M|        result.push_back(*p);
   79|  20.3M|    }
   80|       |
   81|  17.4M|    return count;
   82|  17.4M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  1.95M|{
   43|  1.95M|    using char_type = typename Result::value_type;
   44|       |
   45|  1.95M|    char_type buf[255];
   46|  1.95M|    char_type *p = buf;
   47|  1.95M|    const char_type* last = buf+255;
   48|       |
   49|  1.95M|    bool is_negative = value < 0;
   50|       |
   51|  1.95M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 1.95M, False: 746]
  ------------------
   52|  1.95M|    {
   53|  1.95M|        do
   54|  4.04M|        {
   55|  4.04M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  4.04M|        }
   57|  4.04M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 2.08M, False: 1.95M]
  |  Branch (57:33): [True: 2.08M, False: 0]
  ------------------
   58|  1.95M|    }
   59|    746|    else
   60|    746|    {
   61|       |
   62|    746|        do
   63|  5.56k|        {
   64|  5.56k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  5.56k|        }
   66|  5.56k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 4.81k, False: 746]
  |  Branch (66:33): [True: 4.81k, False: 0]
  ------------------
   67|    746|    }
   68|  1.95M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  1.95M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.95M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   69|       |
   70|  1.95M|    std::size_t count = (p - buf);
   71|  1.95M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 1.95M, False: 746]
  ------------------
   72|  1.95M|    {
   73|  1.95M|        result.push_back('-');
   74|  1.95M|        ++count;
   75|  1.95M|    }
   76|  6.00M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 4.05M, False: 1.95M]
  ------------------
   77|  4.05M|    {
   78|  4.05M|        result.push_back(*p);
   79|  4.05M|    }
   80|       |
   81|  1.95M|    return count;
   82|  1.95M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  65.4k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  65.4k|    {
  489|  65.4k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  65.4k|        struct lconv *lc = localeconv();
  491|  65.4k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 65.4k, False: 0]
  |  Branch (491:30): [True: 65.4k, False: 0]
  ------------------
  492|  65.4k|        {
  493|  65.4k|            decimal_point_ = lc->decimal_point[0];
  494|  65.4k|        }
  495|  65.4k|#endif
  496|  65.4k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  65.4k|    {
  504|  65.4k|        std::size_t count = 0;
  505|       |
  506|  65.4k|        char number_buffer[200];
  507|  65.4k|        int length = 0;
  508|       |
  509|  65.4k|        switch (float_format_)
  510|  65.4k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 65.4k]
  ------------------
  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: 65.4k]
  ------------------
  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|  65.4k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 65.4k, False: 0]
  ------------------
  552|  65.4k|            {
  553|  65.4k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 65.4k]
  ------------------
  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|  65.4k|                else
  563|  65.4k|                {
  564|  65.4k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 65.4k]
  ------------------
  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|  65.4k|                }             
  569|  65.4k|                break;
  570|  65.4k|            }
  571|  65.4k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 65.4k]
  ------------------
  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|  65.4k|        }
  575|  65.4k|        return count;
  576|  65.4k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  3.53k|{
  244|  3.53k|    const char *sbeg = buffer;
  245|  3.53k|    const char *send = sbeg + length;
  246|       |
  247|  3.53k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 3.53k, False: 0]
  ------------------
  248|  3.53k|    {
  249|  3.53k|        bool needs_dot = true;
  250|  61.7k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 58.1k, False: 3.53k]
  ------------------
  251|  58.1k|        {
  252|  58.1k|            switch (*q)
  253|  58.1k|            {
  254|  1.55k|            case '-':
  ------------------
  |  Branch (254:13): [True: 1.55k, False: 56.6k]
  ------------------
  255|  3.55k|            case '0':
  ------------------
  |  Branch (255:13): [True: 1.99k, False: 56.1k]
  ------------------
  256|  9.72k|            case '1':
  ------------------
  |  Branch (256:13): [True: 6.17k, False: 52.0k]
  ------------------
  257|  13.5k|            case '2':
  ------------------
  |  Branch (257:13): [True: 3.81k, False: 54.3k]
  ------------------
  258|  16.5k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.05k, False: 55.1k]
  ------------------
  259|  20.4k|            case '4':
  ------------------
  |  Branch (259:13): [True: 3.87k, False: 54.3k]
  ------------------
  260|  29.2k|            case '5':
  ------------------
  |  Branch (260:13): [True: 8.81k, False: 49.3k]
  ------------------
  261|  32.8k|            case '6':
  ------------------
  |  Branch (261:13): [True: 3.57k, False: 54.6k]
  ------------------
  262|  38.0k|            case '7':
  ------------------
  |  Branch (262:13): [True: 5.20k, False: 52.9k]
  ------------------
  263|  44.5k|            case '8':
  ------------------
  |  Branch (263:13): [True: 6.50k, False: 51.6k]
  ------------------
  264|  48.2k|            case '9':
  ------------------
  |  Branch (264:13): [True: 3.64k, False: 54.5k]
  ------------------
  265|  50.4k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.22k, False: 55.9k]
  ------------------
  266|  50.4k|                result.push_back(*q);
  267|  50.4k|                break;
  268|  2.43k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.43k, False: 55.7k]
  ------------------
  269|  2.43k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 58.1k]
  ------------------
  270|  2.43k|                result.push_back('e');
  271|  2.43k|                needs_dot = false;
  272|  2.43k|                break;
  273|  5.30k|            default:
  ------------------
  |  Branch (273:13): [True: 5.30k, False: 52.8k]
  ------------------
  274|  5.30k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 2.58k, False: 2.71k]
  ------------------
  275|  2.58k|                {
  276|  2.58k|                    needs_dot = false;
  277|  2.58k|                    result.push_back('.');
  278|  2.58k|                }
  279|  5.30k|                break;
  280|  58.1k|            }
  281|  58.1k|        }
  282|  3.53k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 948, False: 2.58k]
  ------------------
  283|    948|        {
  284|    948|            result.push_back('.');
  285|    948|            result.push_back('0');
  286|    948|        }
  287|  3.53k|    }
  288|  3.53k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmiiiRT_:
  171|  59.6k|{
  172|  59.6k|    int nb_digits = (int)length;
  173|  59.6k|    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|  59.6k|    int kk = nb_digits + k;
  179|       |
  180|  59.6k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 45.5k, False: 14.0k]
  |  Branch (180:28): [True: 39.2k, False: 6.35k]
  ------------------
  181|  39.2k|    {
  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|   316k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 277k, False: 39.2k]
  ------------------
  186|   277k|        {
  187|   277k|            result.push_back(buffer[i]);
  188|   277k|        }
  189|  40.5k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 1.34k, False: 39.2k]
  ------------------
  190|  1.34k|        {
  191|  1.34k|            result.push_back('0');
  192|  1.34k|        }
  193|  39.2k|        result.push_back('.');
  194|  39.2k|        result.push_back('0');
  195|  39.2k|    } 
  196|  20.4k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 10.8k, False: 9.53k]
  |  Branch (196:24): [True: 4.54k, False: 6.35k]
  ------------------
  197|  4.54k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  18.2k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 13.7k, False: 4.54k]
  ------------------
  200|  13.7k|        {
  201|  13.7k|            result.push_back(buffer[i]);
  202|  13.7k|        }
  203|  4.54k|        result.push_back('.');
  204|  55.7k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 51.2k, False: 4.54k]
  ------------------
  205|  51.2k|        {
  206|  51.2k|            result.push_back(buffer[i]);
  207|  51.2k|        }
  208|  4.54k|    } 
  209|  15.8k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 7.18k, False: 8.70k]
  |  Branch (209:30): [True: 832, False: 6.35k]
  ------------------
  210|    832|    {
  211|    832|        offset = 2 - kk;
  212|       |
  213|    832|        result.push_back('0');
  214|    832|        result.push_back('.');
  215|  2.31k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.48k, False: 832]
  ------------------
  216|  1.48k|            result.push_back('0');
  217|  10.8k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 10.0k, False: 832]
  ------------------
  218|  10.0k|        {
  219|  10.0k|            result.push_back(buffer[i]);
  220|  10.0k|        }
  221|    832|    } 
  222|  15.0k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 840, False: 14.2k]
  ------------------
  223|    840|    {
  224|    840|        result.push_back(buffer[0]);
  225|    840|        result.push_back('e');
  226|    840|        fill_exponent(kk - 1, result);
  227|    840|    } 
  228|  14.2k|    else
  229|  14.2k|    {
  230|  14.2k|        result.push_back(buffer[0]);
  231|  14.2k|        result.push_back('.');
  232|   232k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 218k, False: 14.2k]
  ------------------
  233|   218k|        {
  234|   218k|            result.push_back(buffer[i]);
  235|   218k|        }
  236|  14.2k|        result.push_back('e');
  237|  14.2k|        fill_exponent(kk - 1, result);
  238|  14.2k|    }
  239|  59.6k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  15.0k|{
  137|  15.0k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 8.70k, False: 6.35k]
  ------------------
  138|  8.70k|    {
  139|  8.70k|        result.push_back('-');
  140|  8.70k|        K = -K;
  141|  8.70k|    }
  142|  6.35k|    else
  143|  6.35k|    {
  144|  6.35k|        result.push_back('+'); // compatibility with sprintf
  145|  6.35k|    }
  146|       |
  147|  15.0k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 2.77k, False: 12.2k]
  ------------------
  148|  2.77k|    {
  149|  2.77k|        result.push_back('0'); // compatibility with sprintf
  150|  2.77k|        result.push_back((char)('0' + K));
  151|  2.77k|    }
  152|  12.2k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 8.23k, False: 4.04k]
  ------------------
  153|  8.23k|    {
  154|  8.23k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  8.23k|        result.push_back((char)('0' + K));
  156|  8.23k|    }
  157|  4.04k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 4.04k, False: 0]
  ------------------
  158|  4.04k|    {
  159|  4.04k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  4.04k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  4.04k|        result.push_back((char)('0' + K));
  162|  4.04k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  15.0k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  65.4k|{
  476|  65.4k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  65.4k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  65.4k|{
  367|  65.4k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 2.29k, False: 63.1k]
  ------------------
  368|  2.29k|    {
  369|  2.29k|        result.push_back('0');
  370|  2.29k|        result.push_back('.');
  371|  2.29k|        result.push_back('0');
  372|  2.29k|        return true;
  373|  2.29k|    }
  374|       |
  375|  63.1k|    int length = 0;
  376|  63.1k|    int k;
  377|       |
  378|  63.1k|    char buffer[100];
  379|       |
  380|  63.1k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 54.6k, False: 8.51k]
  ------------------
  381|  63.1k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 59.6k, False: 3.53k]
  ------------------
  382|  59.6k|    {
  383|  59.6k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 53.3k, False: 6.31k]
  ------------------
  384|  53.3k|        {
  385|  53.3k|            result.push_back('-');
  386|  53.3k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  59.6k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  59.6k|        return true;
  391|  59.6k|    }
  392|  3.53k|    else
  393|  3.53k|    {
  394|  3.53k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  3.53k|    }
  396|  63.1k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  3.53k|{
  330|  3.53k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 3.53k]
  ------------------
  331|      0|    {
  332|      0|        result.push_back('0');
  333|      0|        result.push_back('.');
  334|      0|        result.push_back('0');
  335|      0|        return true;
  336|      0|    }
  337|       |
  338|  3.53k|    char buffer[100];
  339|  3.53k|    int precision = std::numeric_limits<double>::digits10;
  340|  3.53k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  3.53k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 3.53k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  3.53k|    double x{0};
  346|  3.53k|    auto res = decstr_to_double(buffer, length, x);
  347|  3.53k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 3.53k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  3.53k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 2.24k, False: 1.29k]
  ------------------
  352|  2.24k|    {
  353|  2.24k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  2.24k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  2.24k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 2.24k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  2.24k|    }
  360|  3.53k|    dump_buffer(buffer, length, decimal_point, result);
  361|  3.53k|    return true;
  362|  3.53k|}

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

_ZN8jsoncons7msgpack15make_error_codeENS0_12msgpack_errcE:
   82|  4.27k|{
   83|  4.27k|    return std::error_code(static_cast<int>(e),msgpack_error_category());
   84|  4.27k|}
_ZN8jsoncons7msgpack22msgpack_error_categoryEv:
   75|  4.27k|{
   76|  4.27k|  static msgpack_error_category_impl instance;
   77|  4.27k|  return instance;
   78|  4.27k|}
_ZNK8jsoncons7msgpack27msgpack_error_category_impl7messageEi:
   42|  4.27k|    {
   43|  4.27k|        switch (static_cast<msgpack_errc>(ev))
   44|  4.27k|        {
   45|  4.12k|            case msgpack_errc::unexpected_eof:
  ------------------
  |  Branch (45:13): [True: 4.12k, False: 145]
  ------------------
   46|  4.12k|                return "Unexpected end of file";
   47|      0|            case msgpack_errc::source_error:
  ------------------
  |  Branch (47:13): [True: 0, False: 4.27k]
  ------------------
   48|      0|                return "Source error";
   49|    119|            case msgpack_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (49:13): [True: 119, False: 4.15k]
  ------------------
   50|    119|                return "Illegal UTF-8 encoding in text string";
   51|      0|            case msgpack_errc::array_length_required:
  ------------------
  |  Branch (51:13): [True: 0, False: 4.27k]
  ------------------
   52|      0|                return "MessagePack encoder requires array length";
   53|      0|            case msgpack_errc::object_length_required:
  ------------------
  |  Branch (53:13): [True: 0, False: 4.27k]
  ------------------
   54|      0|                return "MessagePack encoder requires object length";
   55|      0|            case msgpack_errc::too_many_items:
  ------------------
  |  Branch (55:13): [True: 0, False: 4.27k]
  ------------------
   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.27k]
  ------------------
   58|      0|                return "Too few items were added to a MessagePack object or array";
   59|      2|            case msgpack_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (59:13): [True: 2, False: 4.27k]
  ------------------
   60|      2|                return "Data item nesting exceeds limit in options";
   61|      0|            case msgpack_errc::length_is_negative:
  ------------------
  |  Branch (61:13): [True: 0, False: 4.27k]
  ------------------
   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.27k]
  ------------------
   64|      0|                return "Invalid timestamp";
   65|     24|            case msgpack_errc::unknown_type:
  ------------------
  |  Branch (65:13): [True: 24, False: 4.24k]
  ------------------
   66|     24|                return "An unknown type was found in the stream";
   67|      0|            default:
  ------------------
  |  Branch (67:13): [True: 0, False: 4.27k]
  ------------------
   68|      0|                return "Unknown MessagePack parser error";
   69|  4.27k|        }
   70|  4.27k|    }

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

_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_22msgpack_decode_optionsERKS7_:
   86|  6.63k|       : source_(std::forward<Sourceable>(source)),
   87|  6.63k|         max_nesting_depth_(options.max_nesting_depth()),
   88|  6.63k|         text_buffer_(alloc),
   89|  6.63k|         bytes_buffer_(alloc),
   90|  6.63k|         state_stack_(alloc)
   91|  6.63k|    {
   92|  6.63k|        state_stack_.emplace_back(parse_mode::root,0);
   93|  6.63k|    }
_ZN8jsoncons7msgpack11parse_stateC2ENS0_10parse_modeEm:
   46|  9.76M|        : mode(mode), length(length)
   47|  9.76M|    {
   48|  9.76M|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  4.27k|    {
  150|  4.27k|        return 0;
  151|  4.27k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  4.27k|    {
  155|  4.27k|        return source_.position();
  156|  4.27k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  6.63k|    {
  102|  6.63k|        more_ = true;
  103|  6.63k|        done_ = false;
  104|  6.63k|        text_buffer_.clear();
  105|  6.63k|        bytes_buffer_.clear();
  106|  6.63k|        state_stack_.clear();
  107|  6.63k|        state_stack_.emplace_back(parse_mode::root,0);
  108|  6.63k|        nesting_depth_ = 0;
  109|  6.63k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  159|  6.63k|    {
  160|  82.4M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 82.4M, False: 2.35k]
  |  Branch (160:26): [True: 82.4M, False: 0]
  ------------------
  161|  82.4M|        {
  162|  82.4M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 82.4M, False: 0]
  ------------------
  163|  82.4M|            {
  164|  56.7M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 56.7M, False: 25.6M]
  ------------------
  165|  56.7M|                {
  166|  56.7M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 50.1M, False: 6.58M]
  ------------------
  167|  50.1M|                    {
  168|  50.1M|                        ++state_stack_.back().index;
  169|  50.1M|                        read_item(visitor, ec);
  170|  50.1M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  50.1M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.20k, False: 50.1M]
  |  |  ------------------
  ------------------
  171|  1.20k|                        {
  172|  1.20k|                            return;
  173|  1.20k|                        }
  174|  50.1M|                    }
  175|  6.58M|                    else
  176|  6.58M|                    {
  177|  6.58M|                        end_array(visitor, ec);
  178|  6.58M|                    }
  179|  56.7M|                    break;
  180|  56.7M|                }
  181|  56.7M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 14.3M, False: 68.0M]
  ------------------
  182|  14.3M|                {
  183|  14.3M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 11.2M, False: 3.11M]
  ------------------
  184|  11.2M|                    {
  185|  11.2M|                        ++state_stack_.back().index;
  186|  11.2M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  11.2M|                        read_item(visitor, ec);
  188|  11.2M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 784, False: 11.2M]
  |  |  ------------------
  ------------------
  189|    784|                        {
  190|    784|                            return;
  191|    784|                        }
  192|  11.2M|                    }
  193|  3.11M|                    else
  194|  3.11M|                    {
  195|  3.11M|                        end_object(visitor, ec);
  196|  3.11M|                    }
  197|  14.3M|                    break;
  198|  14.3M|                }
  199|  14.3M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 11.2M, False: 71.1M]
  ------------------
  200|  11.2M|                {
  201|  11.2M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  11.2M|                    read_item(visitor, ec);
  203|  11.2M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  11.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.93k, False: 11.2M]
  |  |  ------------------
  ------------------
  204|  1.93k|                    {
  205|  1.93k|                        return;
  206|  1.93k|                    }
  207|  11.2M|                    break;
  208|  11.2M|                }
  209|  11.2M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 6.63k, False: 82.4M]
  ------------------
  210|  6.63k|                {
  211|  6.63k|                    state_stack_.back().mode = parse_mode::accept;
  212|  6.63k|                    read_item(visitor, ec);
  213|  6.63k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.63k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 357, False: 6.27k]
  |  |  ------------------
  ------------------
  214|    357|                    {
  215|    357|                        return;
  216|    357|                    }
  217|  6.27k|                    break;
  218|  6.63k|                }
  219|  6.27k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 2.35k, False: 82.4M]
  ------------------
  220|  2.35k|                {
  221|  2.35k|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   45|  2.35k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.35k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  222|  2.35k|                    state_stack_.clear();
  223|  2.35k|                    more_ = false;
  224|  2.35k|                    done_ = true;
  225|  2.35k|                    visitor.flush();
  226|  2.35k|                    break;
  227|  2.35k|                }
  228|  82.4M|            }
  229|  82.4M|        }
  230|  6.63k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  234|  72.7M|    {
  235|  72.7M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 72.7M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  72.7M|        uint8_t type;
  243|  72.7M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 3.40k, False: 72.7M]
  ------------------
  244|  3.40k|        {
  245|  3.40k|            ec = msgpack_errc::unexpected_eof;
  246|  3.40k|            more_ = false;
  247|  3.40k|            return;
  248|  3.40k|        }
  249|       |
  250|  72.7M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 45.3M, False: 27.4M]
  ------------------
  251|  45.3M|        {
  252|  45.3M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 34.8M, False: 10.4M]
  ------------------
  253|  34.8M|            {
  254|       |                // positive fixint
  255|  34.8M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  34.8M|                more_ = !cursor_mode_;
  257|  34.8M|            }
  258|  10.4M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 3.11M, False: 7.33M]
  ------------------
  259|  3.11M|            {
  260|  3.11M|                begin_object(visitor,type,ec); // fixmap
  261|  3.11M|            }
  262|  7.33M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 6.61M, False: 719k]
  ------------------
  263|  6.61M|            {
  264|  6.61M|                begin_array(visitor,type,ec); // fixarray
  265|  6.61M|            }
  266|   719k|            else 
  267|   719k|            {
  268|       |                // fixstr
  269|   719k|                const size_t len = type & 0x1f;
  270|       |
  271|   719k|                text_buffer_.clear();
  272|       |
  273|   719k|                if (source_reader<Source>::read(source_,text_buffer_,len) != static_cast<std::size_t>(len))
  ------------------
  |  Branch (273:21): [True: 50, False: 719k]
  ------------------
  274|     50|                {
  275|     50|                    ec = msgpack_errc::unexpected_eof;
  276|     50|                    more_ = false;
  277|     50|                    return;
  278|     50|                }
  279|       |
  280|   719k|                auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  281|   719k|                if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (281:21): [True: 108, False: 719k]
  ------------------
  282|    108|                {
  283|    108|                    ec = msgpack_errc::invalid_utf8_text_string;
  284|    108|                    more_ = false;
  285|    108|                    return;
  286|    108|                }
  287|   719k|                visitor.string_value(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), semantic_tag::none, *this, ec);
  288|   719k|                more_ = !cursor_mode_;
  289|   719k|            }
  290|  45.3M|        }
  291|  27.4M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 4.92M, False: 22.4M]
  ------------------
  292|  4.92M|        {
  293|       |            // negative fixint
  294|  4.92M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  4.92M|            more_ = !cursor_mode_;
  296|  4.92M|        }
  297|  22.4M|        else
  298|  22.4M|        {
  299|  22.4M|            switch (type)
  300|  22.4M|            {
  301|  2.83M|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 2.83M, False: 19.6M]
  ------------------
  302|  2.83M|                {
  303|  2.83M|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|  2.83M|                    more_ = !cursor_mode_;
  305|  2.83M|                    break;
  306|      0|                }
  307|   333k|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 333k, False: 22.1M]
  ------------------
  308|   333k|                {
  309|   333k|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|   333k|                    more_ = !cursor_mode_;
  311|   333k|                    break;
  312|      0|                }
  313|  18.6M|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 18.6M, False: 3.82M]
  ------------------
  314|  18.6M|                {
  315|  18.6M|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|  18.6M|                    more_ = !cursor_mode_;
  317|  18.6M|                    break;
  318|      0|                }
  319|   118k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 118k, False: 22.3M]
  ------------------
  320|   118k|                {
  321|   118k|                    uint8_t buf[sizeof(float)];
  322|   118k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 27, False: 118k]
  ------------------
  323|     27|                    {
  324|     27|                        ec = msgpack_errc::unexpected_eof;
  325|     27|                        more_ = false;
  326|     27|                        return;
  327|     27|                    }
  328|   118k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|   118k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|   118k|                    more_ = !cursor_mode_;
  331|   118k|                    break;
  332|   118k|                }
  333|       |
  334|  3.65k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 3.65k, False: 22.4M]
  ------------------
  335|  3.65k|                {
  336|  3.65k|                    uint8_t buf[sizeof(double)];
  337|  3.65k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 7, False: 3.65k]
  ------------------
  338|      7|                    {
  339|      7|                        ec = msgpack_errc::unexpected_eof;
  340|      7|                        more_ = false;
  341|      7|                        return;
  342|      7|                    }
  343|  3.65k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  3.65k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  3.65k|                    more_ = !cursor_mode_;
  346|  3.65k|                    break;
  347|  3.65k|                }
  348|       |
  349|  10.0k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 10.0k, False: 22.4M]
  ------------------
  350|  10.0k|                {
  351|  10.0k|                    uint8_t b;
  352|  10.0k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 3, False: 10.0k]
  ------------------
  353|      3|                    {
  354|      3|                        ec = msgpack_errc::unexpected_eof;
  355|      3|                        more_ = false;
  356|      3|                        return;
  357|      3|                    }
  358|  10.0k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  10.0k|                    more_ = !cursor_mode_;
  360|  10.0k|                    break;
  361|  10.0k|                }
  362|       |
  363|  1.47k|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 1.47k, False: 22.4M]
  ------------------
  364|  1.47k|                {
  365|  1.47k|                    uint8_t buf[sizeof(uint16_t)];
  366|  1.47k|                    if (source_.read(buf, sizeof(uint16_t)) !=sizeof(uint16_t)) 
  ------------------
  |  Branch (366:25): [True: 3, False: 1.47k]
  ------------------
  367|      3|                    {
  368|      3|                        ec = msgpack_errc::unexpected_eof;
  369|      3|                        more_ = false;
  370|      3|                        return;
  371|      3|                    }
  372|  1.47k|                    uint16_t val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  373|  1.47k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  374|  1.47k|                    more_ = !cursor_mode_;
  375|  1.47k|                    break;
  376|  1.47k|                }
  377|       |
  378|  7.05k|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 7.05k, False: 22.4M]
  ------------------
  379|  7.05k|                {
  380|  7.05k|                    uint8_t buf[sizeof(uint32_t)];
  381|  7.05k|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 4, False: 7.05k]
  ------------------
  382|      4|                    {
  383|      4|                        ec = msgpack_errc::unexpected_eof;
  384|      4|                        more_ = false;
  385|      4|                        return;
  386|      4|                    }
  387|  7.05k|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|  7.05k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|  7.05k|                    more_ = !cursor_mode_;
  390|  7.05k|                    break;
  391|  7.05k|                }
  392|       |
  393|  1.25k|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 1.25k, False: 22.4M]
  ------------------
  394|  1.25k|                {
  395|  1.25k|                    uint8_t buf[sizeof(uint64_t)];
  396|  1.25k|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 5, False: 1.25k]
  ------------------
  397|      5|                    {
  398|      5|                        ec = msgpack_errc::unexpected_eof;
  399|      5|                        more_ = false;
  400|      5|                        return;
  401|      5|                    }
  402|  1.25k|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|  1.25k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|  1.25k|                    more_ = !cursor_mode_;
  405|  1.25k|                    break;
  406|  1.25k|                }
  407|       |
  408|  1.34k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 1.34k, False: 22.4M]
  ------------------
  409|  1.34k|                {
  410|  1.34k|                    uint8_t buf[sizeof(int8_t)];
  411|  1.34k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 2, False: 1.34k]
  ------------------
  412|      2|                    {
  413|      2|                        ec = msgpack_errc::unexpected_eof;
  414|      2|                        more_ = false;
  415|      2|                        return;
  416|      2|                    }
  417|  1.34k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|  1.34k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|  1.34k|                    more_ = !cursor_mode_;
  420|  1.34k|                    break;
  421|  1.34k|                }
  422|       |
  423|   156k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 156k, False: 22.3M]
  ------------------
  424|   156k|                {
  425|   156k|                    uint8_t buf[sizeof(int16_t)];
  426|   156k|                    if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (426:25): [True: 1, False: 156k]
  ------------------
  427|      1|                    {
  428|      1|                        ec = msgpack_errc::unexpected_eof;
  429|      1|                        more_ = false;
  430|      1|                        return;
  431|      1|                    }
  432|   156k|                    int16_t val = binary::big_to_native<int16_t>(buf, sizeof(buf));
  433|   156k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  434|   156k|                    more_ = !cursor_mode_;
  435|   156k|                    break;
  436|   156k|                }
  437|       |
  438|  3.11k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 3.11k, False: 22.4M]
  ------------------
  439|  3.11k|                {
  440|  3.11k|                    uint8_t buf[sizeof(int32_t)];
  441|  3.11k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 5, False: 3.11k]
  ------------------
  442|      5|                    {
  443|      5|                        ec = msgpack_errc::unexpected_eof;
  444|      5|                        more_ = false;
  445|      5|                        return;
  446|      5|                    }
  447|  3.11k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  3.11k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  3.11k|                    more_ = !cursor_mode_;
  450|  3.11k|                    break;
  451|  3.11k|                }
  452|       |
  453|    839|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 839, False: 22.4M]
  ------------------
  454|    839|                {
  455|    839|                    uint8_t buf[sizeof(int64_t)];
  456|    839|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 6, False: 833]
  ------------------
  457|      6|                    {
  458|      6|                        ec = msgpack_errc::unexpected_eof;
  459|      6|                        more_ = false;
  460|      6|                        return;
  461|      6|                    }
  462|    833|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|    833|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|    833|                    more_ = !cursor_mode_;
  465|    833|                    break;
  466|    839|                }
  467|       |
  468|    601|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 601, False: 22.4M]
  ------------------
  469|  2.13k|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 1.53k, False: 22.4M]
  ------------------
  470|  2.39k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 259, False: 22.4M]
  ------------------
  471|  2.39k|                {
  472|  2.39k|                    std::size_t len = get_size(type, ec);
  473|  2.39k|                    if (!more_)
  ------------------
  |  Branch (473:25): [True: 23, False: 2.37k]
  ------------------
  474|     23|                    {
  475|     23|                        return;
  476|     23|                    }
  477|       |
  478|  2.37k|                    text_buffer_.clear();
  479|  2.37k|                    if (source_reader<Source>::read(source_,text_buffer_,len) != static_cast<std::size_t>(len))
  ------------------
  |  Branch (479:25): [True: 104, False: 2.26k]
  ------------------
  480|    104|                    {
  481|    104|                        ec = msgpack_errc::unexpected_eof;
  482|    104|                        more_ = false;
  483|    104|                        return;
  484|    104|                    }
  485|       |
  486|  2.26k|                    auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  487|  2.26k|                    if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (487:25): [True: 11, False: 2.25k]
  ------------------
  488|     11|                    {
  489|     11|                        ec = msgpack_errc::invalid_utf8_text_string;
  490|     11|                        more_ = false;
  491|     11|                        return;
  492|     11|                    }
  493|  2.25k|                    visitor.string_value(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), semantic_tag::none, *this, ec);
  494|  2.25k|                    more_ = !cursor_mode_;
  495|  2.25k|                    break;
  496|  2.26k|                }
  497|       |
  498|   202k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (498:17): [True: 202k, False: 22.2M]
  ------------------
  499|   203k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (499:17): [True: 938, False: 22.4M]
  ------------------
  500|   203k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (500:17): [True: 284, False: 22.4M]
  ------------------
  501|   203k|                {
  502|   203k|                    std::size_t len = get_size(type,ec);
  503|   203k|                    if (!more_)
  ------------------
  |  Branch (503:25): [True: 30, False: 203k]
  ------------------
  504|     30|                    {
  505|     30|                        return;
  506|     30|                    }
  507|   203k|                    bytes_buffer_.clear();
  508|   203k|                    if (source_reader<Source>::read(source_,bytes_buffer_,len) != static_cast<std::size_t>(len))
  ------------------
  |  Branch (508:25): [True: 158, False: 203k]
  ------------------
  509|    158|                    {
  510|    158|                        ec = msgpack_errc::unexpected_eof;
  511|    158|                        more_ = false;
  512|    158|                        return;
  513|    158|                    }
  514|       |
  515|   203k|                    visitor.byte_string_value(byte_string_view(bytes_buffer_.data(),bytes_buffer_.size()), 
  516|   203k|                                                      semantic_tag::none, 
  517|   203k|                                                      *this,
  518|   203k|                                                      ec);
  519|   203k|                    more_ = !cursor_mode_;
  520|   203k|                    break;
  521|   203k|                }
  522|  68.0k|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (522:17): [True: 68.0k, False: 22.4M]
  ------------------
  523|  89.7k|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (523:17): [True: 21.7k, False: 22.4M]
  ------------------
  524|  91.3k|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (524:17): [True: 1.61k, False: 22.4M]
  ------------------
  525|   104k|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (525:17): [True: 13.4k, False: 22.4M]
  ------------------
  526|   109k|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (526:17): [True: 4.59k, False: 22.4M]
  ------------------
  527|   125k|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (527:17): [True: 16.3k, False: 22.4M]
  ------------------
  528|   126k|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (528:17): [True: 1.27k, False: 22.4M]
  ------------------
  529|   127k|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (529:17): [True: 328, False: 22.4M]
  ------------------
  530|   127k|                {
  531|   127k|                    std::size_t len = get_size(type,ec);
  532|   127k|                    if (!more_)
  ------------------
  |  Branch (532:25): [True: 31, False: 127k]
  ------------------
  533|     31|                    {
  534|     31|                        return;
  535|     31|                    }
  536|       |
  537|       |                    // type
  538|   127k|                    uint8_t buf[sizeof(int8_t)];
  539|   127k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (539:25): [True: 45, False: 127k]
  ------------------
  540|     45|                    {
  541|     45|                        ec = msgpack_errc::unexpected_eof;
  542|     45|                        more_ = false;
  543|     45|                        return;
  544|     45|                    }
  545|       |
  546|   127k|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  547|       |
  548|   127k|                    bool is_timestamp = false; 
  549|   127k|                    if (ext_type == -1)
  ------------------
  |  Branch (549:25): [True: 22.0k, False: 105k]
  ------------------
  550|  22.0k|                    {
  551|  22.0k|                        is_timestamp = true;;
  552|  22.0k|                    }
  553|       |
  554|       |                    // payload
  555|   127k|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (555:25): [True: 22.0k, False: 105k]
  |  Branch (555:41): [True: 321, False: 21.7k]
  ------------------
  556|    321|                    {
  557|    321|                        uint8_t buf32[sizeof(uint32_t)];
  558|    321|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (558:29): [True: 4, False: 317]
  ------------------
  559|      4|                        {
  560|      4|                            ec = msgpack_errc::unexpected_eof;
  561|      4|                            more_ = false;
  562|      4|                            return;
  563|      4|                        }
  564|    317|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  565|    317|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  566|    317|                        more_ = !cursor_mode_;
  567|    317|                    }
  568|   126k|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (568:30): [True: 21.7k, False: 105k]
  |  Branch (568:46): [True: 11.5k, False: 10.1k]
  ------------------
  569|  11.5k|                    {
  570|  11.5k|                        uint8_t buf64[sizeof(uint64_t)];
  571|  11.5k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (571:29): [True: 14, False: 11.5k]
  ------------------
  572|     14|                        {
  573|     14|                            ec = msgpack_errc::unexpected_eof;
  574|     14|                            more_ = false;
  575|     14|                            return;
  576|     14|                        }
  577|  11.5k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  578|  11.5k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  579|  11.5k|                        uint64_t nsec = data64 >> 34;
  580|       |
  581|  11.5k|                        bigint nano(sec);
  582|  11.5k|                        nano *= uint64_t(nanos_in_second);
  583|  11.5k|                        nano += nsec;
  584|  11.5k|                        text_buffer_.clear();
  585|  11.5k|                        nano.write_string(text_buffer_);
  586|  11.5k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  587|  11.5k|                        more_ = !cursor_mode_;
  588|  11.5k|                        if (!more_) return;
  ------------------
  |  Branch (588:29): [True: 0, False: 11.5k]
  ------------------
  589|  11.5k|                    }
  590|   115k|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (590:30): [True: 10.1k, False: 105k]
  |  Branch (590:46): [True: 9.36k, False: 833]
  ------------------
  591|  9.36k|                    {
  592|  9.36k|                        uint8_t buf1[sizeof(uint32_t)];
  593|  9.36k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (593:29): [True: 3, False: 9.35k]
  ------------------
  594|      3|                        {
  595|      3|                            ec = msgpack_errc::unexpected_eof;
  596|      3|                            more_ = false;
  597|      3|                            return;
  598|      3|                        }
  599|  9.35k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  600|       |
  601|  9.35k|                        uint8_t buf2[sizeof(int64_t)];
  602|  9.35k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (602:29): [True: 12, False: 9.34k]
  ------------------
  603|     12|                        {
  604|     12|                            ec = msgpack_errc::unexpected_eof;
  605|     12|                            more_ = false;
  606|     12|                            return;
  607|     12|                        }
  608|  9.34k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  609|       |
  610|  9.34k|                        bigint nano(sec);
  611|       |
  612|  9.34k|                        nano *= uint64_t(nanos_in_second);
  613|       |
  614|  9.34k|                        if (nano < 0)
  ------------------
  |  Branch (614:29): [True: 2.47k, False: 6.87k]
  ------------------
  615|  2.47k|                        {
  616|  2.47k|                            nano -= nsec;
  617|  2.47k|                        }
  618|  6.87k|                        else
  619|  6.87k|                        {
  620|  6.87k|                            nano += nsec;
  621|  6.87k|                        }
  622|       |
  623|  9.34k|                        text_buffer_.clear();
  624|  9.34k|                        nano.write_string(text_buffer_);
  625|  9.34k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  626|  9.34k|                        more_ = !cursor_mode_;
  627|  9.34k|                        if (!more_) return;
  ------------------
  |  Branch (627:29): [True: 0, False: 9.34k]
  ------------------
  628|  9.34k|                    }
  629|   105k|                    else
  630|   105k|                    {
  631|   105k|                        bytes_buffer_.clear();
  632|   105k|                        if (source_reader<Source>::read(source_,bytes_buffer_,len) != static_cast<std::size_t>(len))
  ------------------
  |  Branch (632:29): [True: 152, False: 105k]
  ------------------
  633|    152|                        {
  634|    152|                            ec = msgpack_errc::unexpected_eof;
  635|    152|                            more_ = false;
  636|    152|                            return;
  637|    152|                        }
  638|       |
  639|   105k|                        visitor.byte_string_value(byte_string_view(bytes_buffer_.data(),bytes_buffer_.size()), 
  640|   105k|                                                          static_cast<uint8_t>(ext_type), 
  641|   105k|                                                          *this,
  642|   105k|                                                          ec);
  643|   105k|                        more_ = !cursor_mode_;
  644|   105k|                    }
  645|   127k|                    break;
  646|   127k|                }
  647|       |
  648|   127k|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (648:17): [True: 6.90k, False: 22.4M]
  ------------------
  649|  8.00k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (649:17): [True: 1.10k, False: 22.4M]
  ------------------
  650|  8.00k|                {
  651|  8.00k|                    begin_array(visitor,type,ec);
  652|  8.00k|                    break;
  653|  6.90k|                }
  654|       |
  655|  10.1k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (655:17): [True: 10.1k, False: 22.4M]
  ------------------
  656|  10.8k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (656:17): [True: 696, False: 22.4M]
  ------------------
  657|  10.8k|                {
  658|  10.8k|                    begin_object(visitor, type, ec);
  659|  10.8k|                    break;
  660|  10.1k|                }
  661|       |
  662|     24|                default:
  ------------------
  |  Branch (662:17): [True: 24, False: 22.4M]
  ------------------
  663|     24|                {
  664|     24|                    ec = msgpack_errc::unknown_type;
  665|     24|                    more_ = false;
  666|     24|                    return;
  667|  10.1k|                }
  668|  22.4M|            }
  669|  22.4M|        }
  670|  72.7M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  700|  3.12M|    {
  701|  3.12M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  3.12M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 3.12M]
  |  |  ------------------
  ------------------
  702|      1|        {
  703|      1|            ec = msgpack_errc::max_nesting_depth_exceeded;
  704|      1|            more_ = false;
  705|      1|            return;
  706|      1|        } 
  707|  3.12M|        std::size_t length = get_size(type, ec);
  708|  3.12M|        if (!more_)
  ------------------
  |  Branch (708:13): [True: 20, False: 3.12M]
  ------------------
  709|     20|        {
  710|     20|            return;
  711|     20|        }
  712|  3.12M|        state_stack_.emplace_back(parse_mode::map_key,length);
  713|  3.12M|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  714|  3.12M|        more_ = !cursor_mode_;
  715|  3.12M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  673|  6.62M|    {
  674|  6.62M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  6.62M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 6.62M]
  |  |  ------------------
  ------------------
  675|      1|        {
  676|      1|            ec = msgpack_errc::max_nesting_depth_exceeded;
  677|      1|            more_ = false;
  678|      1|            return;
  679|      1|        } 
  680|  6.62M|        std::size_t length = get_size(type, ec);
  681|  6.62M|        if (!more_)
  ------------------
  |  Branch (681:13): [True: 17, False: 6.62M]
  ------------------
  682|     17|        {
  683|     17|            return;
  684|     17|        }
  685|  6.62M|        state_stack_.emplace_back(parse_mode::array,length);
  686|  6.62M|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  687|  6.62M|        more_ = !cursor_mode_;
  688|  6.62M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8get_sizeEhRNS3_10error_codeE:
  726|  10.0M|    {
  727|  10.0M|        switch (type)
  728|  10.0M|        {
  729|    601|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (729:13): [True: 601, False: 10.0M]
  ------------------
  730|   202k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (730:13): [True: 202k, False: 9.88M]
  ------------------
  731|   219k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (731:13): [True: 16.3k, False: 10.0M]
  ------------------
  732|   219k|            {
  733|   219k|                uint8_t buf[sizeof(int8_t)];
  734|   219k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (734:21): [True: 28, False: 219k]
  ------------------
  735|     28|                {
  736|     28|                    ec = msgpack_errc::unexpected_eof;
  737|     28|                    more_ = false;
  738|     28|                    return 0;
  739|     28|                }
  740|   219k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  741|   219k|                return static_cast<std::size_t>(len);
  742|   219k|            }
  743|       |
  744|  1.53k|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (744:13): [True: 1.53k, False: 10.0M]
  ------------------
  745|  2.47k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (745:13): [True: 938, False: 10.0M]
  ------------------
  746|  3.74k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (746:13): [True: 1.27k, False: 10.0M]
  ------------------
  747|  10.6k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (747:13): [True: 6.90k, False: 10.0M]
  ------------------
  748|  20.7k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (748:13): [True: 10.1k, False: 10.0M]
  ------------------
  749|  20.7k|            {
  750|  20.7k|                uint8_t buf[sizeof(int16_t)];
  751|  20.7k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (751:21): [True: 44, False: 20.7k]
  ------------------
  752|     44|                {
  753|     44|                    ec = msgpack_errc::unexpected_eof;
  754|     44|                    more_ = false;
  755|     44|                    return 0;
  756|     44|                }
  757|  20.7k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  758|  20.7k|                return static_cast<std::size_t>(len);
  759|  20.7k|            }
  760|       |
  761|    259|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (761:13): [True: 259, False: 10.0M]
  ------------------
  762|    543|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (762:13): [True: 284, False: 10.0M]
  ------------------
  763|    871|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (763:13): [True: 328, False: 10.0M]
  ------------------
  764|  1.97k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (764:13): [True: 1.10k, False: 10.0M]
  ------------------
  765|  2.67k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (765:13): [True: 696, False: 10.0M]
  ------------------
  766|  2.67k|            {
  767|  2.67k|                uint8_t buf[sizeof(int32_t)];
  768|  2.67k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (768:21): [True: 49, False: 2.62k]
  ------------------
  769|     49|                {
  770|     49|                    ec = msgpack_errc::unexpected_eof;
  771|     49|                    more_ = false;
  772|     49|                    return 0;
  773|     49|                }
  774|  2.62k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  775|  2.62k|                return static_cast<std::size_t>(len);
  776|  2.67k|            }
  777|  68.0k|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (777:13): [True: 68.0k, False: 10.0M]
  ------------------
  778|  68.0k|                return 1;
  779|  21.7k|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (779:13): [True: 21.7k, False: 10.0M]
  ------------------
  780|  21.7k|                return 2;
  781|  1.61k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (781:13): [True: 1.61k, False: 10.0M]
  ------------------
  782|  1.61k|                return 4;
  783|  13.4k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (783:13): [True: 13.4k, False: 10.0M]
  ------------------
  784|  13.4k|                return 8;
  785|  4.59k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (785:13): [True: 4.59k, False: 10.0M]
  ------------------
  786|  4.59k|                return 16;
  787|  9.73M|            default:
  ------------------
  |  Branch (787:13): [True: 9.73M, False: 351k]
  ------------------
  788|  9.73M|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (788:22): [True: 6.61M, False: 3.11M]
  |  Branch (788:37): [True: 6.61M, False: 0]
  ------------------
  789|  3.11M|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (789:25): [True: 3.11M, False: 0]
  |  Branch (789:40): [True: 3.11M, False: 0]
  ------------------
  790|  9.73M|        )
  791|  9.73M|                {
  792|  9.73M|                    return type & 0x0f;
  793|  9.73M|                }
  794|      0|                else
  795|      0|                {
  796|      0|                    ec = msgpack_errc::unknown_type;
  797|      0|                    more_ = false;
  798|      0|                    return 0;
  799|      0|                }
  800|      0|                break;
  801|  10.0M|        }
  802|  10.0M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  691|  6.58M|    {
  692|  6.58M|        --nesting_depth_;
  693|       |
  694|  6.58M|        visitor.end_array(*this, ec);
  695|  6.58M|        more_ = !cursor_mode_;
  696|  6.58M|        state_stack_.pop_back();
  697|  6.58M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  718|  3.11M|    {
  719|  3.11M|        --nesting_depth_;
  720|  3.11M|        visitor.end_object(*this, ec);
  721|  3.11M|        more_ = !cursor_mode_;
  722|  3.11M|        state_stack_.pop_back();
  723|  3.11M|    }

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

