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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2779|   111M|        {
 2780|   111M|             destroy();
 2781|   111M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  903|   111M|        {
  904|   111M|            switch (storage_kind())
  905|   111M|            {
  906|  10.3k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (906:17): [True: 10.3k, False: 111M]
  ------------------
  907|  10.3k|                {
  908|  10.3k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (908:25): [True: 10.3k, False: 0]
  ------------------
  909|  10.3k|                    {
  910|  10.3k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  911|  10.3k|                    }
  912|  10.3k|                    break;
  913|      0|                }
  914|   215k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (914:17): [True: 215k, False: 110M]
  ------------------
  915|   215k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (915:25): [True: 215k, False: 0]
  ------------------
  916|   215k|                    {
  917|   215k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  918|   215k|                    }
  919|   215k|                    break;
  920|  4.58M|                case json_storage_kind::array:
  ------------------
  |  Branch (920:17): [True: 4.58M, False: 106M]
  ------------------
  921|  4.58M|                {
  922|  4.58M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (922:25): [True: 4.58M, False: 0]
  ------------------
  923|  4.58M|                    {
  924|  4.58M|                        auto& stor = cast<array_storage>();
  925|  4.58M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  926|  4.58M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  927|  4.58M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  928|  4.58M|                    }
  929|  4.58M|                    break;
  930|      0|                }
  931|  3.42M|                case json_storage_kind::object:
  ------------------
  |  Branch (931:17): [True: 3.42M, False: 107M]
  ------------------
  932|  3.42M|                {
  933|  3.42M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (933:25): [True: 3.42M, False: 0]
  ------------------
  934|  3.42M|                    {
  935|  3.42M|                        auto& stor = cast<object_storage>();
  936|  3.42M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  937|  3.42M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  938|  3.42M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  939|  3.42M|                    }
  940|  3.42M|                    break;
  941|      0|                }
  942|   102M|                default:
  ------------------
  |  Branch (942:17): [True: 102M, False: 8.23M]
  ------------------
  943|   102M|                    break;
  944|   111M|            }
  945|   111M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1467|   261M|        {
 1468|       |            // It is legal to access 'common_.storage_kind_' even though 
 1469|       |            // common_ is not the active member of the union because 'storage_kind_' 
 1470|       |            // is a part of the common initial sequence of all union members
 1471|       |            // as defined in 11.4-25 of the Standard.
 1472|   261M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1473|   261M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1009|  98.6k|        {
 1010|  98.6k|            return cast(identity<T>());
 1011|  98.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1100|  98.6k|        {
 1101|  98.6k|            return long_str_;
 1102|  98.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1009|  1.56M|        {
 1010|  1.56M|            return cast(identity<T>());
 1011|  1.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1110|  1.56M|        {
 1111|  1.56M|            return byte_str_;
 1112|  1.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1009|  38.5M|        {
 1010|  38.5M|            return cast(identity<T>());
 1011|  38.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  38.5M|        {
 1131|  38.5M|            return array_;
 1132|  38.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2312|  74.4M|        {
 2313|  74.4M|            uninitialized_move(std::move(other));
 2314|  74.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1307|  74.4M|        {
 1308|  74.4M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1308:17): [True: 57.7M, False: 16.7M]
  ------------------
 1309|  57.7M|            {
 1310|  57.7M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1311|  57.7M|            }
 1312|  16.7M|            else
 1313|  16.7M|            {
 1314|  16.7M|                switch (other.storage_kind())
 1315|  16.7M|                {
 1316|  17.0k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1316:21): [True: 17.0k, False: 16.7M]
  ------------------
 1317|  17.0k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1318|  17.0k|                        other.construct<null_storage>();
 1319|  17.0k|                        break;
 1320|   412k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1320:21): [True: 412k, False: 16.3M]
  ------------------
 1321|   412k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1322|   412k|                        other.construct<null_storage>();
 1323|   412k|                        break;
 1324|  9.16M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1324:21): [True: 9.16M, False: 7.58M]
  ------------------
 1325|  9.16M|                        construct<array_storage>(other.cast<array_storage>());
 1326|  9.16M|                        other.construct<null_storage>();
 1327|  9.16M|                        break;
 1328|  7.15M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1328:21): [True: 7.15M, False: 9.59M]
  ------------------
 1329|  7.15M|                        construct<object_storage>(other.cast<object_storage>());
 1330|  7.15M|                        other.construct<null_storage>();
 1331|  7.15M|                        break;
 1332|      0|                    default:
  ------------------
  |  Branch (1332:21): [True: 0, False: 16.7M]
  ------------------
 1333|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1334|      0|                        break;
 1335|  16.7M|                }
 1336|  16.7M|            }
 1337|  74.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
 1000|  33.7k|        {
 1001|  33.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  33.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  631|  50.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  632|  50.5k|            {
  633|  50.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
 1000|  16.7M|        {
 1001|  16.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  16.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1009|  22.4M|        {
 1010|  22.4M|            return cast(identity<T>());
 1011|  22.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1020|  22.4M|        {
 1021|  22.4M|            return null_;
 1022|  22.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  455|  19.0M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  456|  19.0M|            {
  457|  19.0M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
 1000|   457k|        {
 1001|   457k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   457k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  680|   501k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  681|   501k|            {
  682|   501k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
 1000|  10.7M|        {
 1001|  10.7M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  10.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  732|  12.3M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  733|  12.3M|            {
  734|  12.3M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
 1000|  7.66M|        {
 1001|  7.66M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  7.66M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  782|  8.17M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  783|  8.17M|            {
  784|  8.17M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4743|  49.8k|        {
 4744|  49.8k|            switch (storage_kind())
 4745|  49.8k|            {
 4746|  49.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (4746:17): [True: 49.8k, False: 0]
  ------------------
 4747|  49.8k|                    return array_range_type(cast<array_storage>().value().begin(),
 4748|  49.8k|                        cast<array_storage>().value().end());
 4749|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4749:17): [True: 0, False: 49.8k]
  ------------------
 4750|      0|                    return cast<json_ref_storage>().value().array_range();
 4751|      0|                default:
  ------------------
  |  Branch (4751:17): [True: 0, False: 49.8k]
  ------------------
 4752|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4753|  49.8k|            }
 4754|  49.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  3.33M|            {
  756|  3.33M|                return *ptr_;
  757|  3.33M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  353|  49.8k|            : first_(first), last_(last)
  354|  49.8k|        {
  355|  49.8k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  358|  49.8k|        {
  359|  49.8k|            return first_;
  360|  49.8k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  362|  49.8k|        {
  363|  49.8k|            return last_;
  364|  49.8k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3408|   143k|        {
 3409|   143k|            switch (storage_kind())
 3410|   143k|            {
 3411|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3411:17): [True: 0, False: 143k]
  ------------------
 3412|      0|                    return cast<byte_string_storage>().length() == 0;
 3413|      0|                    break;
 3414|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3414:17): [True: 0, False: 143k]
  ------------------
 3415|      0|                    return cast<short_string_storage>().length() == 0;
 3416|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3416:17): [True: 0, False: 143k]
  ------------------
 3417|      0|                    return cast<long_string_storage>().length() == 0;
 3418|   103k|                case json_storage_kind::array:
  ------------------
  |  Branch (3418:17): [True: 103k, False: 39.9k]
  ------------------
 3419|   103k|                    return cast<array_storage>().value().empty();
 3420|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3420:17): [True: 0, False: 143k]
  ------------------
 3421|      0|                    return true;
 3422|  39.9k|                case json_storage_kind::object:
  ------------------
  |  Branch (3422:17): [True: 39.9k, False: 103k]
  ------------------
 3423|  39.9k|                    return cast<object_storage>().value().empty();
 3424|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3424:17): [True: 0, False: 143k]
  ------------------
 3425|      0|                    return cast<const_json_ref_storage>().value().empty();
 3426|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3426:17): [True: 0, False: 143k]
  ------------------
 3427|      0|                    return cast<json_ref_storage>().value().empty();
 3428|      0|                default:
  ------------------
  |  Branch (3428:17): [True: 0, False: 143k]
  ------------------
 3429|      0|                    return false;
 3430|   143k|            }
 3431|   143k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1015|   103k|        {
 1016|   103k|            return cast(identity<T>());
 1017|   103k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1135|   103k|        {
 1136|   103k|            return array_;
 1137|   103k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  760|   103k|            {
  761|   103k|                return *ptr_;
  762|   103k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1015|  39.9k|        {
 1016|  39.9k|            return cast(identity<T>());
 1017|  39.9k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1125|  39.9k|        {
 1126|  39.9k|            return object_;
 1127|  39.9k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  806|  39.9k|            {
  807|  39.9k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  39.9k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 39.9k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  808|  39.9k|                return *ptr_;
  809|  39.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4139|   404k|        {
 4140|   404k|            switch (storage_kind())
 4141|   404k|            {
 4142|  49.8k|                case json_storage_kind::array:
  ------------------
  |  Branch (4142:17): [True: 49.8k, False: 354k]
  ------------------
 4143|  49.8k|                    cast<array_storage>().value().clear();
 4144|  49.8k|                    break;
 4145|   354k|                case json_storage_kind::object:
  ------------------
  |  Branch (4145:17): [True: 354k, False: 49.8k]
  ------------------
 4146|   354k|                    cast<object_storage>().value().clear();
 4147|   354k|                    break;
 4148|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4148:17): [True: 0, False: 404k]
  ------------------
 4149|      0|                    cast<json_ref_storage>().value().clear();
 4150|      0|                    break;
 4151|      0|                default:
  ------------------
  |  Branch (4151:17): [True: 0, False: 404k]
  ------------------
 4152|      0|                    break;
 4153|   404k|            }
 4154|   404k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  800|  1.10M|            {
  801|  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 ))); }
  ------------------
  802|  1.10M|                return *ptr_;
  803|  1.10M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4709|   354k|        {
 4710|   354k|            switch (storage_kind())
 4711|   354k|            {
 4712|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4712:17): [True: 0, False: 354k]
  ------------------
 4713|      0|                    return object_range_type(object_iterator(), object_iterator());
 4714|   354k|                case json_storage_kind::object:
  ------------------
  |  Branch (4714:17): [True: 354k, False: 0]
  ------------------
 4715|   354k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4716|   354k|                                                  object_iterator(cast<object_storage>().value().end()));
 4717|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4717:17): [True: 0, False: 354k]
  ------------------
 4718|      0|                    return cast<json_ref_storage>().value().object_range();
 4719|      0|                default:
  ------------------
  |  Branch (4719:17): [True: 0, False: 354k]
  ------------------
 4720|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4721|   354k|            }
 4722|   354k|        }
_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|   354k|            : first_(first), last_(last)
  354|   354k|        {
  355|   354k|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  122|   708k|            explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)  
  123|   708k|            {
  124|   708k|            }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  358|   354k|        {
  359|   354k|            return first_;
  360|   354k|        }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  362|   354k|        {
  363|   354k|            return last_;
  364|   354k|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  225|   438k|            {
  226|   438k|                return !(*this == rhs);
  227|   438k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  213|   438k|            {
  214|   438k|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (214:21): [True: 0, False: 438k]
  |  Branch (214:36): [True: 0, False: 438k]
  ------------------
  215|      0|                {
  216|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (216:28): [True: 0, False: 0]
  ------------------
  217|      0|                }
  218|   438k|                else
  219|   438k|                {
  220|   438k|                    return it_ == rhs.it_;
  221|   438k|                }
  222|   438k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  144|  84.3k|            {
  145|  84.3k|                return *it_;
  146|  84.3k|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  154|  84.3k|            {
  155|  84.3k|                ++it_;
  156|  84.3k|                return *this;
  157|  84.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1009|  26.7M|        {
 1010|  26.7M|            return cast(identity<T>());
 1011|  26.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  26.7M|        {
 1121|  26.7M|            return object_;
 1122|  26.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2280|  6.83k|        {
 2281|  6.83k|            construct<empty_object_storage>(semantic_tag::none);
 2282|  6.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
 1000|  6.83k|        {
 1001|  6.83k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  6.83k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 1009|  11.4k|        {
 1010|  11.4k|            return cast(identity<T>());
 1011|  11.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 1030|  11.4k|        {
 1031|  11.4k|            return empty_object_;
 1032|  11.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  467|  6.83k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  468|  6.83k|            {
  469|  6.83k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3467|  28.9k|        {
 3468|  28.9k|            if (n > 0)
  ------------------
  |  Branch (3468:17): [True: 28.9k, False: 0]
  ------------------
 3469|  28.9k|            {
 3470|  28.9k|                switch (storage_kind())
 3471|  28.9k|                {
 3472|  28.9k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3472:21): [True: 28.9k, False: 0]
  ------------------
 3473|  28.9k|                        cast<array_storage>().value().reserve(n);
 3474|  28.9k|                        break;
 3475|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3475:21): [True: 0, False: 28.9k]
  ------------------
 3476|      0|                        create_object_implicitly();
 3477|      0|                        cast<object_storage>().value().reserve(n);
 3478|      0|                        break;
 3479|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3479:21): [True: 0, False: 28.9k]
  ------------------
 3480|      0|                        cast<object_storage>().value().reserve(n);
 3481|      0|                        break;
 3482|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3482:21): [True: 0, False: 28.9k]
  ------------------
 3483|      0|                        cast<json_ref_storage>().value().reserve(n);
 3484|      0|                        break;
 3485|      0|                    default:
  ------------------
  |  Branch (3485:21): [True: 0, False: 28.9k]
  ------------------
 3486|      0|                        break;
 3487|  28.9k|                }
 3488|  28.9k|            }
 3489|  28.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2325|  3.42M|        {
 2326|  3.42M|            auto ptr = create_object(alloc);
 2327|  3.42M|            construct<object_storage>(ptr, tag);
 2328|  3.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  981|  3.42M|        {
  982|  3.42M|            using stor_allocator_type = typename object_storage::allocator_type;
  983|  3.42M|            stor_allocator_type stor_alloc(alloc);
  984|  3.42M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  985|  3.42M|            JSONCONS_TRY
  ------------------
  |  |   37|  3.42M|    #define JSONCONS_TRY try
  ------------------
  986|  3.42M|            {
  987|  3.42M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  988|  3.42M|                    std::forward<Args>(args)...);
  989|  3.42M|            }
  990|  3.42M|            JSONCONS_CATCH(...)
  991|  3.42M|            {
  992|      0|                std::allocator_traits<stor_allocator_type>::deallocate(stor_alloc, ptr,1);
  993|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  994|      0|            }
  995|  3.42M|            return ptr;
  996|  3.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  3.42M|        {
 1001|  3.42M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  3.42M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  777|  3.42M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  778|  3.42M|            {
  779|  3.42M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1458|  20.4M|        {
 1459|  20.4M|            if (this != &other)
  ------------------
  |  Branch (1459:17): [True: 20.4M, False: 0]
  ------------------
 1460|  20.4M|            {
 1461|  20.4M|                move_assignment(std::move(other));
 1462|  20.4M|            }
 1463|  20.4M|            return *this;
 1464|  20.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1420|  20.4M|        {
 1421|  20.4M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1421:17): [True: 20.4M, False: 0]
  |  Branch (1421:55): [True: 18.2M, False: 2.14M]
  ------------------
 1422|  18.2M|            {
 1423|  18.2M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1424|  18.2M|            }
 1425|  2.14M|            else
 1426|  2.14M|            {
 1427|  2.14M|                swap(other);
 1428|  2.14M|            }
 1429|  20.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4685|  3.15M|        {
 4686|  3.15M|            switch (storage_kind())
 4687|  3.15M|            {
 4688|  3.15M|                case json_storage_kind::array:
  ------------------
  |  Branch (4688:17): [True: 3.15M, False: 0]
  ------------------
 4689|  3.15M|                    cast<array_storage>().value().push_back(std::move(val));
 4690|  3.15M|                    break;
 4691|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4691:17): [True: 0, False: 3.15M]
  ------------------
 4692|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4693|      0|                    break;
 4694|      0|                default:
  ------------------
  |  Branch (4694:17): [True: 0, False: 3.15M]
  ------------------
 4695|      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
  ------------------
 4696|  3.15M|            }
 4697|  3.15M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1939|  2.14M|        {
 1940|  2.14M|            if (this == &other)
  ------------------
  |  Branch (1940:17): [True: 0, False: 2.14M]
  ------------------
 1941|      0|            {
 1942|      0|                return;
 1943|      0|            }
 1944|  2.14M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1944:17): [True: 2.14M, False: 0]
  |  Branch (1944:55): [True: 0, False: 2.14M]
  ------------------
 1945|      0|            {
 1946|      0|                basic_json temp;               
 1947|      0|                std::memcpy(static_cast<void*>(&temp), static_cast<void*>(&other), sizeof(basic_json));
 1948|      0|                std::memcpy(static_cast<void*>(&other), static_cast<void*>(this), sizeof(basic_json));
 1949|      0|                std::memcpy(static_cast<void*>(this), static_cast<void*>(&temp), sizeof(basic_json));
 1950|      0|            }
 1951|  2.14M|            else
 1952|  2.14M|            {
 1953|  2.14M|                switch (storage_kind())
 1954|  2.14M|                {
 1955|  1.69M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 1.69M, False: 448k]
  ------------------
 1956|  2.29k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 2.29k, False: 2.13M]
  ------------------
 1957|  49.2k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 49.2k, False: 2.09M]
  ------------------
 1958|  49.2k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 49.2k, False: 2.09M]
  ------------------
 1959|   334k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 334k, False: 1.80M]
  ------------------
 1960|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 2.14M]
  ------------------
 1961|  2.25k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 2.25k, False: 2.13M]
  ------------------
 1962|  10.4k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 10.4k, False: 2.13M]
  ------------------
 1963|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 2.14M]
  ------------------
 1964|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 2.14M]
  ------------------
 1965|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 2.14M]
  ------------------
 1966|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 2.14M]
  ------------------
 1967|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1967:21): [True: 0, False: 2.14M]
  ------------------
 1968|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1968:21): [True: 0, False: 2.14M]
  ------------------
 1969|      0|                    default:
  ------------------
  |  Branch (1969:21): [True: 0, False: 2.14M]
  ------------------
 1970|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1971|      0|                        break;
 1972|  2.14M|                }
 1973|  2.14M|            }
 1974|  2.14M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1175|  1.69M|        {
 1176|  1.69M|            switch (other.storage_kind())
 1177|  1.69M|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 1.69M]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 1.69M]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 1.69M]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 1.69M]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 1.69M]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 1.69M]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 1.69M]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 1.69M]
  ------------------
 1186|  5.18k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 5.18k, False: 1.68M]
  ------------------
 1187|  27.9k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 27.9k, False: 1.66M]
  ------------------
 1188|  1.28M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 1.28M, False: 407k]
  ------------------
 1189|   374k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 374k, False: 1.31M]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 1.69M]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 1.69M]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 1.69M]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  1.69M|            }
 1196|  1.69M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
 1000|  1.69M|        {
 1001|  1.69M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.69M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
 1000|  2.29k|        {
 1001|  2.29k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1009|  1.99M|        {
 1010|  1.99M|            return cast(identity<T>());
 1011|  1.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1040|  1.99M|        {
 1041|  1.99M|            return boolean_;
 1042|  1.99M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
 1000|  49.2k|        {
 1001|  49.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  49.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1009|  4.33M|        {
 1010|  4.33M|            return cast(identity<T>());
 1011|  4.33M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1050|  4.33M|        {
 1051|  4.33M|            return int64_;
 1052|  4.33M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
 1000|  49.2k|        {
 1001|  49.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  49.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1009|  19.2M|        {
 1010|  19.2M|            return cast(identity<T>());
 1011|  19.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1060|  19.2M|        {
 1061|  19.2M|            return uint64_;
 1062|  19.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
 1000|   334k|        {
 1001|   334k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   334k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1009|   182k|        {
 1010|   182k|            return cast(identity<T>());
 1011|   182k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1080|   182k|        {
 1081|   182k|            return float64_;
 1082|   182k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
 1000|  2.25k|        {
 1001|  2.25k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1009|  1.26M|        {
 1010|  1.26M|            return cast(identity<T>());
 1011|  1.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1090|  1.26M|        {
 1091|  1.26M|            return short_str_;
 1092|  1.26M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  590|  10.4k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  591|  10.4k|            {
  592|  10.4k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  593|  10.4k|                data_[short_str_length_] = 0;
  594|  10.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
 1000|  10.4k|        {
 1001|  10.4k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  10.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1161|  5.18k|        {
 1162|  5.18k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  5.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  5.18k|        {
 1168|  5.18k|            TypeR temp{other.cast<TypeR>()};
 1169|  5.18k|            other.construct<TypeL>(cast<TypeL>());
 1170|  5.18k|            construct<TypeR>(temp);
 1171|  5.18k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  27.9k|        {
 1162|  27.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  27.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  27.9k|        {
 1168|  27.9k|            TypeR temp{other.cast<TypeR>()};
 1169|  27.9k|            other.construct<TypeL>(cast<TypeL>());
 1170|  27.9k|            construct<TypeR>(temp);
 1171|  27.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvRS5_:
 1161|  1.28M|        {
 1162|  1.28M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.28M|        {
 1168|  1.28M|            TypeR temp{other.cast<TypeR>()};
 1169|  1.28M|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.28M|            construct<TypeR>(temp);
 1171|  1.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1161|   374k|        {
 1162|   374k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|   374k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|   374k|        {
 1168|   374k|            TypeR temp{other.cast<TypeR>()};
 1169|   374k|            other.construct<TypeL>(cast<TypeL>());
 1170|   374k|            construct<TypeR>(temp);
 1171|   374k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1175|  2.29k|        {
 1176|  2.29k|            switch (other.storage_kind())
 1177|  2.29k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.29k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.29k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.29k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.29k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.29k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.29k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 2.29k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.29k]
  ------------------
 1186|    780|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 780, False: 1.51k]
  ------------------
 1187|      8|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 8, False: 2.28k]
  ------------------
 1188|    223|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 223, False: 2.07k]
  ------------------
 1189|  1.28k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 1.28k, False: 1.01k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 2.29k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 2.29k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 2.29k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  2.29k|            }
 1196|  2.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1161|    780|        {
 1162|    780|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    780|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    780|        {
 1168|    780|            TypeR temp{other.cast<TypeR>()};
 1169|    780|            other.construct<TypeL>(cast<TypeL>());
 1170|    780|            construct<TypeR>(temp);
 1171|    780|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1161|      8|        {
 1162|      8|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|      8|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|      8|        {
 1168|      8|            TypeR temp{other.cast<TypeR>()};
 1169|      8|            other.construct<TypeL>(cast<TypeL>());
 1170|      8|            construct<TypeR>(temp);
 1171|      8|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1161|    223|        {
 1162|    223|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    223|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    223|        {
 1168|    223|            TypeR temp{other.cast<TypeR>()};
 1169|    223|            other.construct<TypeL>(cast<TypeL>());
 1170|    223|            construct<TypeR>(temp);
 1171|    223|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1161|  1.28k|        {
 1162|  1.28k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.28k|        {
 1168|  1.28k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.28k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.28k|            construct<TypeR>(temp);
 1171|  1.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1175|  49.2k|        {
 1176|  49.2k|            switch (other.storage_kind())
 1177|  49.2k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 49.2k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 49.2k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 49.2k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 49.2k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 49.2k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 49.2k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 49.2k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 49.2k]
  ------------------
 1186|    438|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 438, False: 48.7k]
  ------------------
 1187|    704|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 704, False: 48.5k]
  ------------------
 1188|  31.4k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 31.4k, False: 17.7k]
  ------------------
 1189|  16.6k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 16.6k, False: 32.5k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 49.2k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 49.2k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 49.2k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  49.2k|            }
 1196|  49.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1161|    438|        {
 1162|    438|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    438|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    438|        {
 1168|    438|            TypeR temp{other.cast<TypeR>()};
 1169|    438|            other.construct<TypeL>(cast<TypeL>());
 1170|    438|            construct<TypeR>(temp);
 1171|    438|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    704|        {
 1162|    704|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    704|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    704|        {
 1168|    704|            TypeR temp{other.cast<TypeR>()};
 1169|    704|            other.construct<TypeL>(cast<TypeL>());
 1170|    704|            construct<TypeR>(temp);
 1171|    704|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1161|  31.4k|        {
 1162|  31.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  31.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  31.4k|        {
 1168|  31.4k|            TypeR temp{other.cast<TypeR>()};
 1169|  31.4k|            other.construct<TypeL>(cast<TypeL>());
 1170|  31.4k|            construct<TypeR>(temp);
 1171|  31.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1161|  16.6k|        {
 1162|  16.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  16.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  16.6k|        {
 1168|  16.6k|            TypeR temp{other.cast<TypeR>()};
 1169|  16.6k|            other.construct<TypeL>(cast<TypeL>());
 1170|  16.6k|            construct<TypeR>(temp);
 1171|  16.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1175|  49.2k|        {
 1176|  49.2k|            switch (other.storage_kind())
 1177|  49.2k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 49.2k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 49.2k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 49.2k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 49.2k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 49.2k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 49.2k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 49.2k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 49.2k]
  ------------------
 1186|  2.45k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 2.45k, False: 46.7k]
  ------------------
 1187|  2.28k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 2.28k, False: 46.9k]
  ------------------
 1188|  26.9k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 26.9k, False: 22.2k]
  ------------------
 1189|  17.5k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 17.5k, False: 31.6k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 49.2k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 49.2k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 49.2k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  49.2k|            }
 1196|  49.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1161|  2.45k|        {
 1162|  2.45k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  2.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  2.45k|        {
 1168|  2.45k|            TypeR temp{other.cast<TypeR>()};
 1169|  2.45k|            other.construct<TypeL>(cast<TypeL>());
 1170|  2.45k|            construct<TypeR>(temp);
 1171|  2.45k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  2.28k|        {
 1162|  2.28k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  2.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  2.28k|        {
 1168|  2.28k|            TypeR temp{other.cast<TypeR>()};
 1169|  2.28k|            other.construct<TypeL>(cast<TypeL>());
 1170|  2.28k|            construct<TypeR>(temp);
 1171|  2.28k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1161|  26.9k|        {
 1162|  26.9k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  26.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  26.9k|        {
 1168|  26.9k|            TypeR temp{other.cast<TypeR>()};
 1169|  26.9k|            other.construct<TypeL>(cast<TypeL>());
 1170|  26.9k|            construct<TypeR>(temp);
 1171|  26.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1161|  17.5k|        {
 1162|  17.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  17.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  17.5k|        {
 1168|  17.5k|            TypeR temp{other.cast<TypeR>()};
 1169|  17.5k|            other.construct<TypeL>(cast<TypeL>());
 1170|  17.5k|            construct<TypeR>(temp);
 1171|  17.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1175|   334k|        {
 1176|   334k|            switch (other.storage_kind())
 1177|   334k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 334k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 334k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 334k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 334k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 334k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 334k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 334k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 334k]
  ------------------
 1186|  6.63k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 6.63k, False: 327k]
  ------------------
 1187|  12.5k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 12.5k, False: 322k]
  ------------------
 1188|   221k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 221k, False: 113k]
  ------------------
 1189|  94.2k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 94.2k, False: 240k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 334k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 334k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 334k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|   334k|            }
 1196|   334k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1161|  6.63k|        {
 1162|  6.63k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  6.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  6.63k|        {
 1168|  6.63k|            TypeR temp{other.cast<TypeR>()};
 1169|  6.63k|            other.construct<TypeL>(cast<TypeL>());
 1170|  6.63k|            construct<TypeR>(temp);
 1171|  6.63k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  12.5k|        {
 1162|  12.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  12.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  12.5k|        {
 1168|  12.5k|            TypeR temp{other.cast<TypeR>()};
 1169|  12.5k|            other.construct<TypeL>(cast<TypeL>());
 1170|  12.5k|            construct<TypeR>(temp);
 1171|  12.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1161|   221k|        {
 1162|   221k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|   221k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|   221k|        {
 1168|   221k|            TypeR temp{other.cast<TypeR>()};
 1169|   221k|            other.construct<TypeL>(cast<TypeL>());
 1170|   221k|            construct<TypeR>(temp);
 1171|   221k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1161|  94.2k|        {
 1162|  94.2k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  94.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  94.2k|        {
 1168|  94.2k|            TypeR temp{other.cast<TypeR>()};
 1169|  94.2k|            other.construct<TypeL>(cast<TypeL>());
 1170|  94.2k|            construct<TypeR>(temp);
 1171|  94.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1175|  2.25k|        {
 1176|  2.25k|            switch (other.storage_kind())
 1177|  2.25k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.25k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.25k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.25k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.25k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.25k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.25k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 2.25k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.25k]
  ------------------
 1186|    751|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 751, False: 1.50k]
  ------------------
 1187|    224|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 224, False: 2.02k]
  ------------------
 1188|    921|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 921, False: 1.33k]
  ------------------
 1189|    355|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 355, False: 1.89k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 2.25k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 2.25k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 2.25k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  2.25k|            }
 1196|  2.25k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1161|    751|        {
 1162|    751|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    751|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    751|        {
 1168|    751|            TypeR temp{other.cast<TypeR>()};
 1169|    751|            other.construct<TypeL>(cast<TypeL>());
 1170|    751|            construct<TypeR>(temp);
 1171|    751|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    224|        {
 1162|    224|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    224|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    224|        {
 1168|    224|            TypeR temp{other.cast<TypeR>()};
 1169|    224|            other.construct<TypeL>(cast<TypeL>());
 1170|    224|            construct<TypeR>(temp);
 1171|    224|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1161|    921|        {
 1162|    921|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    921|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    921|        {
 1168|    921|            TypeR temp{other.cast<TypeR>()};
 1169|    921|            other.construct<TypeL>(cast<TypeL>());
 1170|    921|            construct<TypeR>(temp);
 1171|    921|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1161|    355|        {
 1162|    355|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    355|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    355|        {
 1168|    355|            TypeR temp{other.cast<TypeR>()};
 1169|    355|            other.construct<TypeL>(cast<TypeL>());
 1170|    355|            construct<TypeR>(temp);
 1171|    355|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1175|  10.4k|        {
 1176|  10.4k|            switch (other.storage_kind())
 1177|  10.4k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 10.4k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 10.4k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 10.4k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 10.4k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 10.4k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 10.4k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 10.4k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 10.4k]
  ------------------
 1186|    498|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 498, False: 9.90k]
  ------------------
 1187|    602|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 602, False: 9.80k]
  ------------------
 1188|  3.30k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 3.30k, False: 7.09k]
  ------------------
 1189|  5.99k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 5.99k, False: 4.40k]
  ------------------
 1190|      0|                case json_storage_kind::const_json_ref : swap_l_r<TypeL, const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1190:17): [True: 0, False: 10.4k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 10.4k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 10.4k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  10.4k|            }
 1196|  10.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1161|    498|        {
 1162|    498|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    498|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    498|        {
 1168|    498|            TypeR temp{other.cast<TypeR>()};
 1169|    498|            other.construct<TypeL>(cast<TypeL>());
 1170|    498|            construct<TypeR>(temp);
 1171|    498|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    602|        {
 1162|    602|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    602|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    602|        {
 1168|    602|            TypeR temp{other.cast<TypeR>()};
 1169|    602|            other.construct<TypeL>(cast<TypeL>());
 1170|    602|            construct<TypeR>(temp);
 1171|    602|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1161|  3.30k|        {
 1162|  3.30k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  3.30k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  3.30k|        {
 1168|  3.30k|            TypeR temp{other.cast<TypeR>()};
 1169|  3.30k|            other.construct<TypeL>(cast<TypeL>());
 1170|  3.30k|            construct<TypeR>(temp);
 1171|  3.30k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1161|  5.99k|        {
 1162|  5.99k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  5.99k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  5.99k|        {
 1168|  5.99k|            TypeR temp{other.cast<TypeR>()};
 1169|  5.99k|            other.construct<TypeL>(cast<TypeL>());
 1170|  5.99k|            construct<TypeR>(temp);
 1171|  5.99k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2619|  18.5M|        {
 2620|  18.5M|            construct<uint64_storage>(val, tag);
 2621|  18.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
 1000|  18.5M|        {
 1001|  18.5M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  18.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  521|  18.5M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  522|  18.5M|                  val_(val)
  523|  18.5M|            {
  524|  18.5M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2650|  4.23M|        {
 2651|  4.23M|            construct<int64_storage>(val, tag);
 2652|  4.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
 1000|  4.23M|        {
 1001|  4.23M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  4.23M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  501|  4.23M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  502|  4.23M|                  val_(val)
  503|  4.23M|            {
  504|  4.23M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2607|   177k|        {
 2608|   177k|            construct<double_storage>(val, tag);
 2609|   177k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
 1000|   177k|        {
 1001|   177k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   177k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  560|   177k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  561|   177k|                  val_(val)
  562|   177k|            {
  563|   177k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2406|  4.58M|        {
 2407|  4.58M|            auto ptr = create_array(Allocator());
 2408|  4.58M|            construct<array_storage>(ptr, tag);
 2409|  4.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  962|  4.58M|        {
  963|  4.58M|            using stor_allocator_type = typename array_storage::allocator_type;
  964|  4.58M|            stor_allocator_type stor_alloc(alloc);
  965|  4.58M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  966|  4.58M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.58M|    #define JSONCONS_TRY try
  ------------------
  967|  4.58M|            {
  968|  4.58M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  969|  4.58M|                    std::forward<Args>(args)...);
  970|  4.58M|            }
  971|  4.58M|            JSONCONS_CATCH(...)
  972|  4.58M|            {
  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|  4.58M|            return ptr;
  977|  4.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  4.58M|        {
 1001|  4.58M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  4.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  727|  4.58M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  728|  4.58M|            {
  729|  4.58M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2696|  2.27M|        {
 2697|  2.27M|            construct<null_storage>(tag);
 2698|  2.27M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
 1000|  2.27M|        {
 1001|  2.27M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.27M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2706|  1.89M|        {
 2707|  1.89M|            construct<bool_storage>(val,tag);
 2708|  1.89M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
 1000|  1.89M|        {
 1001|  1.89M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.89M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  480|  1.89M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  481|  1.89M|                  val_(val)
  482|  1.89M|            {
  483|  1.89M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2554|  1.25M|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2555|  1.25M|        {
 2556|  1.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2584|  1.25M|        {
 2585|  1.25M|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2585:17): [True: 1.24M, False: 10.3k]
  ------------------
 2586|  1.24M|            {
 2587|  1.24M|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2588|  1.24M|            }
 2589|  10.3k|            else
 2590|  10.3k|            {
 2591|  10.3k|                auto ptr = create_long_string(alloc, s, length);
 2592|  10.3k|                construct<long_string_storage>(ptr, tag);
 2593|  10.3k|            }
 2594|  1.25M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
 1000|  1.24M|        {
 1001|  1.24M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  1.24M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  582|  1.24M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  583|  1.24M|            {
  584|  1.24M|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   45|  1.24M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.24M]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  585|  1.24M|                std::memcpy(data_,p,length*sizeof(char_type));
  586|  1.24M|                data_[length] = 0;
  587|  1.24M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  948|  10.3k|        {
  949|  10.3k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  950|  10.3k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  951|  10.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|  10.3k|        {
 1001|  10.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  10.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  626|  10.3k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  627|  10.3k|            {
  628|  10.3k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2716|    869|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2717|    869|        {
 2718|    869|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2724|   141k|        {
 2725|   141k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2726|       |            
 2727|   141k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2728|   141k|            construct<byte_string_storage>(ptr, tag);
 2729|   141k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  955|   215k|        {
  956|   215k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  957|   215k|            return heap_string_factory_type::create(data, length, ext_tag, alloc); 
  958|   215k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|   141k|        {
 1001|   141k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   141k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  675|   215k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  676|   215k|            {
  677|   215k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2736|      3|        {
 2737|      3|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2738|       |
 2739|      3|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2740|      3|            construct<byte_string_storage>(ptr, tag);
 2741|      3|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2747|  73.9k|        {
 2748|  73.9k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2749|       |
 2750|  73.9k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), ext_tag);
 2751|  73.9k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2752|  73.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
 1000|  73.9k|        {
 1001|  73.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  73.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2759|      5|        {
 2760|      5|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2761|       |
 2762|      5|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), ext_tag);
 2763|      5|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2764|      5|        }

_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
  239|  10.3k|    {
  240|  10.3k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  10.3k|        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|  10.3k|    }
_ZN8jsoncons12launder_castIPcNS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
  239|   215k|    {
  240|   215k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|   215k|        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|   215k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|  10.3k|    {
  240|  10.3k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|  10.3k|        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|  10.3k|    }
_ZN8jsoncons12launder_castIPNS_4heap19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
  239|   215k|    {
  240|   215k|    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
  241|   215k|        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|   215k|    }

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

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

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

_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  858|  6.83k|            : destination_(std::addressof(visitor)), 
  859|  6.83k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  860|  6.83k|        {
  861|  6.83k|            level_stack_.emplace_back(target_t::destination,container_t::root); // root
  862|  6.83k|        }
_ZN8jsoncons24basic_item_event_visitorIcEC2Ev:
   51|  6.83k|        basic_item_event_visitor() = default;
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  293|  6.33M|        {
  294|  6.33M|            visit_begin_array(length, tag, context, ec);
  295|  6.33M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.33M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  296|  6.33M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  362|  34.1M|        {
  363|  34.1M|            visit_uint64(value, tag, context, ec);
  364|  34.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  34.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  365|  34.1M|        }
_ZN8jsoncons24basic_item_event_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  299|  6.29M|        {
  300|  6.29M|            visit_end_array(context, ec);
  301|  6.29M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.29M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  302|  6.29M|        }
_ZN8jsoncons24basic_item_event_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  371|  6.30M|        {
  372|  6.30M|            visit_int64(value, tag, context, ec);
  373|  6.30M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.30M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  374|  6.30M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  389|   239k|        {
  390|   239k|            visit_double(value, tag, context, ec);
  391|   239k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   239k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  392|   239k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5levelC2ENS4_8target_tENS4_11container_tE:
  797|  10.3M|                : state_(state), type_(type), even_odd_(type == container_t::object ? 0 : 1)
  ------------------
  |  Branch (797:57): [True: 3.96M, False: 6.33M]
  ------------------
  798|  10.3M|            {
  799|  10.3M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1011|  6.33M|        {
 1012|  6.33M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1012:17): [True: 650k, False: 5.68M]
  ------------------
 1013|   650k|            {
 1014|   650k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1014:21): [True: 360k, False: 289k]
  |  Branch (1014:73): [True: 358k, False: 2.34k]
  ------------------
 1015|   358k|                {
 1016|   358k|                    key_buffer_.push_back(',');
 1017|   358k|                }
 1018|   650k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
 1019|   650k|                key_buffer_.push_back('[');
 1020|   650k|            }
 1021|  5.68M|            else
 1022|  5.68M|            {
 1023|  5.68M|                switch (level_stack_.back().target())
 1024|  5.68M|                {
 1025|  1.09M|                    case target_t::buffer:
  ------------------
  |  Branch (1025:21): [True: 1.09M, False: 4.58M]
  ------------------
 1026|  1.09M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1026:29): [True: 735k, False: 361k]
  |  Branch (1026:65): [True: 715k, False: 20.1k]
  ------------------
 1027|   715k|                        {
 1028|   715k|                            key_buffer_.push_back(',');
 1029|   715k|                        }
 1030|  1.09M|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
 1031|  1.09M|                        key_buffer_.push_back('[');
 1032|  1.09M|                        break;
 1033|  4.58M|                    default:
  ------------------
  |  Branch (1033:21): [True: 4.58M, False: 1.09M]
  ------------------
 1034|  4.58M|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1035|  4.58M|                        destination_->begin_array(length, tag, context, ec);
 1036|  4.58M|                        break;
 1037|  5.68M|                }
 1038|  5.68M|            }
 1039|  6.33M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.33M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1040|  6.33M|        }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6is_keyEv:
  814|   221M|            {
  815|   221M|                return even_odd_ == 0;
  816|   221M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6targetEv:
  824|   145M|            {
  825|   145M|                return state_;
  826|   145M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level5countEv:
  829|  30.1M|            {
  830|  30.1M|                return count_;
  831|  30.1M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level9is_objectEv:
  819|   107M|            {
  820|   107M|                return type_ == container_t::object;
  821|   107M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1043|  6.29M|        {
 1044|  6.29M|            switch (level_stack_.back().target())
 1045|  6.29M|            {
 1046|  1.74M|                case target_t::buffer:
  ------------------
  |  Branch (1046:17): [True: 1.74M, False: 4.55M]
  ------------------
 1047|  1.74M|                    key_buffer_.push_back(']');
 1048|  1.74M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  1.74M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.74M]
  |  |  ------------------
  |  |   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|  1.74M|                    level_stack_.pop_back();
 1050|  1.74M|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (1050:25): [True: 289k, False: 1.45M]
  ------------------
 1051|   289k|                    {
 1052|   289k|                        destination_->key(key_buffer_, context, ec);
 1053|   289k|                        key_buffer_.clear();
 1054|   289k|                    }
 1055|  1.45M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1055:30): [True: 359k, False: 1.09M]
  ------------------
 1056|   359k|                    {
 1057|   359k|                        key_buffer_.push_back(':');
 1058|   359k|                    }
 1059|  1.74M|                    level_stack_.back().advance();
 1060|  1.74M|                    break;
 1061|  4.55M|                default:
  ------------------
  |  Branch (1061:17): [True: 4.55M, False: 1.74M]
  ------------------
 1062|  4.55M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  4.55M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.55M]
  |  |  ------------------
  |  |   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.55M|                    level_stack_.pop_back();
 1064|  4.55M|                    level_stack_.back().advance();
 1065|  4.55M|                    destination_->end_array(context, ec);
 1066|  4.55M|                    break;
 1067|  6.29M|            }
 1068|  6.29M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.29M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1069|  6.29M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level7advanceEv:
  802|  77.0M|            {
  803|  77.0M|                if (!is_key())
  ------------------
  |  Branch (803:21): [True: 66.7M, False: 10.2M]
  ------------------
  804|  66.7M|                {
  805|  66.7M|                    ++count_;
  806|  66.7M|                }
  807|  77.0M|                if (is_object())
  ------------------
  |  Branch (807:21): [True: 20.4M, False: 56.5M]
  ------------------
  808|  20.4M|                {
  809|  20.4M|                    even_odd_ = !even_odd_;
  810|  20.4M|                }
  811|  77.0M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1236|  34.1M|        {
 1237|  34.1M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1237:17): [True: 7.37M, False: 26.8M]
  |  Branch (1237:49): [True: 8.22M, False: 18.5M]
  ------------------
 1238|  15.5M|            {
 1239|  15.5M|                key_.clear();
 1240|  15.5M|                jsoncons::from_integer(value,key_);
 1241|  15.5M|            }
 1242|       |
 1243|  34.1M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1243:17): [True: 7.37M, False: 26.8M]
  ------------------
 1244|  7.37M|            {
 1245|  7.37M|                switch (level_stack_.back().target())
 1246|  7.37M|                {
 1247|  4.44M|                    case target_t::buffer:
  ------------------
  |  Branch (1247:21): [True: 4.44M, False: 2.92M]
  ------------------
 1248|  4.44M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1248:29): [True: 4.43M, False: 12.6k]
  ------------------
 1249|  4.43M|                        {
 1250|  4.43M|                            key_buffer_.push_back(',');
 1251|  4.43M|                        }
 1252|  4.44M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1253|  4.44M|                        key_buffer_.push_back(':');
 1254|  4.44M|                        break;
 1255|  2.92M|                    default:
  ------------------
  |  Branch (1255:21): [True: 2.92M, False: 4.44M]
  ------------------
 1256|  2.92M|                        destination_->key(key_, context, ec);
 1257|  2.92M|                        break;
 1258|  7.37M|                }
 1259|  7.37M|            }
 1260|  26.8M|            else
 1261|  26.8M|            {
 1262|  26.8M|                switch (level_stack_.back().target())
 1263|  26.8M|                {
 1264|  8.22M|                    case target_t::buffer:
  ------------------
  |  Branch (1264:21): [True: 8.22M, False: 18.5M]
  ------------------
 1265|  8.22M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1265:29): [True: 3.78M, False: 4.43M]
  |  Branch (1265:65): [True: 3.77M, False: 10.8k]
  ------------------
 1266|  3.77M|                        {
 1267|  3.77M|                            key_buffer_.push_back(',');
 1268|  3.77M|                        }
 1269|  8.22M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1270|  8.22M|                        break;
 1271|  18.5M|                    default:
  ------------------
  |  Branch (1271:21): [True: 18.5M, False: 8.22M]
  ------------------
 1272|  18.5M|                        destination_->uint64_value(value, tag, context, ec);
 1273|  18.5M|                        break;
 1274|  26.8M|                }
 1275|  26.8M|            }
 1276|       |
 1277|  34.1M|            level_stack_.back().advance();
 1278|  34.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  34.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1279|  34.1M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1282|  6.30M|        {
 1283|  6.30M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1283:17): [True: 336k, False: 5.96M]
  |  Branch (1283:49): [True: 1.73M, False: 4.23M]
  ------------------
 1284|  2.06M|            {
 1285|  2.06M|                key_.clear();
 1286|  2.06M|                jsoncons::from_integer(value,key_);
 1287|  2.06M|            }
 1288|       |
 1289|  6.30M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1289:17): [True: 336k, False: 5.96M]
  ------------------
 1290|   336k|            {
 1291|   336k|                switch (level_stack_.back().target())
 1292|   336k|                {
 1293|   217k|                    case target_t::buffer:
  ------------------
  |  Branch (1293:21): [True: 217k, False: 119k]
  ------------------
 1294|   217k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1294:29): [True: 209k, False: 7.30k]
  ------------------
 1295|   209k|                        {
 1296|   209k|                            key_buffer_.push_back(',');
 1297|   209k|                        }
 1298|   217k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1299|   217k|                        key_buffer_.push_back(':');
 1300|   217k|                        break;
 1301|   119k|                    default:
  ------------------
  |  Branch (1301:21): [True: 119k, False: 217k]
  ------------------
 1302|   119k|                        destination_->key(key_, context, ec);
 1303|   119k|                        break;
 1304|   336k|                }
 1305|   336k|            }
 1306|  5.96M|            else
 1307|  5.96M|            {
 1308|  5.96M|                switch (level_stack_.back().target())
 1309|  5.96M|                {
 1310|  1.73M|                    case target_t::buffer:
  ------------------
  |  Branch (1310:21): [True: 1.73M, False: 4.23M]
  ------------------
 1311|  1.73M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1311:29): [True: 1.51M, False: 215k]
  |  Branch (1311:65): [True: 1.51M, False: 2.04k]
  ------------------
 1312|  1.51M|                        {
 1313|  1.51M|                            key_buffer_.push_back(',');
 1314|  1.51M|                        }
 1315|  1.73M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1316|  1.73M|                        break;
 1317|  4.23M|                    default:
  ------------------
  |  Branch (1317:21): [True: 4.23M, False: 1.73M]
  ------------------
 1318|  4.23M|                        destination_->int64_value(value, tag, context, ec);
 1319|  4.23M|                        break;
 1320|  5.96M|                }
 1321|  5.96M|            }
 1322|       |
 1323|  6.30M|            level_stack_.back().advance();
 1324|  6.30M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.30M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1325|  6.30M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1377|   239k|        {
 1378|   239k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1378:17): [True: 28.1k, False: 211k]
  |  Branch (1378:49): [True: 34.0k, False: 177k]
  ------------------
 1379|  62.1k|            {
 1380|  62.1k|                key_.clear();
 1381|  62.1k|                string_sink<string_type> sink(key_);
 1382|  62.1k|                jsoncons::write_double f{float_chars_format::general,0};
 1383|  62.1k|                f(value, sink);
 1384|  62.1k|            }
 1385|       |
 1386|   239k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1386:17): [True: 28.1k, False: 211k]
  ------------------
 1387|  28.1k|            {
 1388|  28.1k|                switch (level_stack_.back().target())
 1389|  28.1k|                {
 1390|  19.6k|                    case target_t::buffer:
  ------------------
  |  Branch (1390:21): [True: 19.6k, False: 8.46k]
  ------------------
 1391|  19.6k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1391:29): [True: 15.1k, False: 4.53k]
  ------------------
 1392|  15.1k|                        {
 1393|  15.1k|                            key_buffer_.push_back(',');
 1394|  15.1k|                        }
 1395|  19.6k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1396|  19.6k|                        key_buffer_.push_back(':');
 1397|  19.6k|                        break;
 1398|  8.46k|                    default:
  ------------------
  |  Branch (1398:21): [True: 8.46k, False: 19.6k]
  ------------------
 1399|  8.46k|                        destination_->key(key_, context, ec);
 1400|  8.46k|                        break;
 1401|  28.1k|                }
 1402|  28.1k|            }
 1403|   211k|            else
 1404|   211k|            {
 1405|   211k|                switch (level_stack_.back().target())
 1406|   211k|                {
 1407|  34.0k|                    case target_t::buffer:
  ------------------
  |  Branch (1407:21): [True: 34.0k, False: 177k]
  ------------------
 1408|  34.0k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1408:29): [True: 17.6k, False: 16.3k]
  |  Branch (1408:65): [True: 16.1k, False: 1.47k]
  ------------------
 1409|  16.1k|                        {
 1410|  16.1k|                            key_buffer_.push_back(',');
 1411|  16.1k|                        }
 1412|  34.0k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1413|  34.0k|                        break;
 1414|   177k|                    default:
  ------------------
  |  Branch (1414:21): [True: 177k, False: 34.0k]
  ------------------
 1415|   177k|                        destination_->double_value(value, tag, context, ec);
 1416|   177k|                        break;
 1417|   211k|                }
 1418|   211k|            }
 1419|       |
 1420|   239k|            level_stack_.back().advance();
 1421|   239k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   239k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1422|   239k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  884|  2.40k|        {
  885|  2.40k|            destination_->flush();
  886|  2.40k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  917|  3.96M|        {
  918|  3.96M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (918:17): [True: 305k, False: 3.65M]
  ------------------
  919|   305k|            {
  920|   305k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (920:21): [True: 85.2k, False: 220k]
  |  Branch (920:73): [True: 74.4k, False: 10.8k]
  ------------------
  921|  74.4k|                {
  922|  74.4k|                    key_buffer_.push_back(',');
  923|  74.4k|                }
  924|   305k|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  925|   305k|                key_buffer_.push_back('{');
  926|   305k|            }
  927|  3.65M|            else
  928|  3.65M|            {
  929|  3.65M|                switch (level_stack_.back().target())
  930|  3.65M|                {
  931|   234k|                    case target_t::buffer:
  ------------------
  |  Branch (931:21): [True: 234k, False: 3.42M]
  ------------------
  932|   234k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (932:29): [True: 140k, False: 93.5k]
  |  Branch (932:65): [True: 138k, False: 2.24k]
  ------------------
  933|   138k|                        {
  934|   138k|                            key_buffer_.push_back(',');
  935|   138k|                        }
  936|   234k|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  937|   234k|                        key_buffer_.push_back('{');
  938|   234k|                        break;
  939|  3.42M|                    default:
  ------------------
  |  Branch (939:21): [True: 3.42M, False: 234k]
  ------------------
  940|  3.42M|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  941|  3.42M|                        destination_->begin_object(length, tag, context, ec);
  942|  3.42M|                        break;
  943|  3.65M|                }
  944|  3.65M|            }
  945|  3.96M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  946|  3.96M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  949|  3.94M|        {
  950|  3.94M|            switch (level_stack_.back().target())
  951|  3.94M|            {
  952|   529k|                case target_t::buffer:
  ------------------
  |  Branch (952:17): [True: 529k, False: 3.41M]
  ------------------
  953|   529k|                    key_buffer_.push_back('}');
  954|   529k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|   529k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 529k]
  |  |  ------------------
  |  |   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|   529k|                    level_stack_.pop_back();
  956|       |                    
  957|   529k|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (957:25): [True: 219k, False: 309k]
  ------------------
  958|   219k|                    {
  959|   219k|                        destination_->key(key_buffer_,context, ec);
  960|   219k|                        key_buffer_.clear();
  961|   219k|                    }
  962|   309k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (962:30): [True: 80.8k, False: 228k]
  ------------------
  963|  80.8k|                    {
  964|  80.8k|                        key_buffer_.push_back(':');
  965|  80.8k|                    }
  966|   529k|                    level_stack_.back().advance();
  967|   529k|                    break;
  968|  3.41M|                default:
  ------------------
  |  Branch (968:17): [True: 3.41M, False: 529k]
  ------------------
  969|  3.41M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  3.41M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.41M]
  |  |  ------------------
  |  |   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|  3.41M|                    level_stack_.pop_back();
  971|  3.41M|                    level_stack_.back().advance();
  972|  3.41M|                    destination_->end_object(context, ec);
  973|  3.41M|                    break;
  974|  3.94M|            }
  975|  3.94M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  976|  3.94M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1478|  3.20M|        {
 1479|  3.20M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1479:17): [True: 307k, False: 2.89M]
  |  Branch (1479:49): [True: 619k, False: 2.27M]
  ------------------
 1480|   927k|            {
 1481|   927k|                key_.clear(); 
 1482|   927k|                key_.insert(key_.begin(), null_constant.begin(), null_constant.end());
 1483|   927k|            }
 1484|       |
 1485|  3.20M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1485:17): [True: 307k, False: 2.89M]
  ------------------
 1486|   307k|            {
 1487|   307k|                switch (level_stack_.back().target())
 1488|   307k|                {
 1489|   241k|                    case target_t::buffer:
  ------------------
  |  Branch (1489:21): [True: 241k, False: 66.1k]
  ------------------
 1490|   241k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1490:29): [True: 240k, False: 1.14k]
  ------------------
 1491|   240k|                        {
 1492|   240k|                            key_buffer_.push_back(',');
 1493|   240k|                        }
 1494|   241k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1495|   241k|                        key_buffer_.push_back(':');
 1496|   241k|                        break;
 1497|  66.1k|                    default:
  ------------------
  |  Branch (1497:21): [True: 66.1k, False: 241k]
  ------------------
 1498|  66.1k|                        destination_->key(key_, context, ec);
 1499|  66.1k|                        break;
 1500|   307k|                }
 1501|   307k|            }
 1502|  2.89M|            else
 1503|  2.89M|            {
 1504|  2.89M|                switch (level_stack_.back().target())
 1505|  2.89M|                {
 1506|   619k|                    case target_t::buffer:
  ------------------
  |  Branch (1506:21): [True: 619k, False: 2.27M]
  ------------------
 1507|   619k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1507:29): [True: 377k, False: 242k]
  |  Branch (1507:65): [True: 377k, False: 666]
  ------------------
 1508|   377k|                        {
 1509|   377k|                            key_buffer_.push_back(',');
 1510|   377k|                        }
 1511|   619k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1512|   619k|                        break;
 1513|  2.27M|                    default:
  ------------------
  |  Branch (1513:21): [True: 2.27M, False: 619k]
  ------------------
 1514|  2.27M|                        destination_->null_value(tag, context, ec);
 1515|  2.27M|                        break;
 1516|  2.89M|                }
 1517|  2.89M|            }
 1518|       |
 1519|  3.20M|            level_stack_.back().advance();
 1520|  3.20M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1521|  3.20M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1425|  21.0M|        {
 1426|  21.0M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1426:17): [True: 1.08M, False: 19.9M]
  |  Branch (1426:49): [True: 18.0M, False: 1.89M]
  ------------------
 1427|  19.1M|            {
 1428|  19.1M|                key_.clear(); 
 1429|  19.1M|                if (value)
  ------------------
  |  Branch (1429:21): [True: 75.7k, False: 19.0M]
  ------------------
 1430|  75.7k|                {
 1431|  75.7k|                    key_.insert(key_.begin(), true_constant.begin(), true_constant.end());
 1432|  75.7k|                }
 1433|  19.0M|                else
 1434|  19.0M|                {
 1435|  19.0M|                    key_.insert(key_.begin(), false_constant.begin(), false_constant.end());
 1436|  19.0M|                }
 1437|  19.1M|            }
 1438|       |
 1439|  21.0M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1439:17): [True: 1.08M, False: 19.9M]
  ------------------
 1440|  1.08M|            {
 1441|  1.08M|                switch (level_stack_.back().target())
 1442|  1.08M|                {
 1443|   872k|                    case target_t::buffer:
  ------------------
  |  Branch (1443:21): [True: 872k, False: 213k]
  ------------------
 1444|   872k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1444:29): [True: 865k, False: 6.79k]
  ------------------
 1445|   865k|                        {
 1446|   865k|                            key_buffer_.push_back(',');
 1447|   865k|                        }
 1448|   872k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1449|   872k|                        key_buffer_.push_back(':');
 1450|   872k|                        break;
 1451|   213k|                    default:
  ------------------
  |  Branch (1451:21): [True: 213k, False: 872k]
  ------------------
 1452|   213k|                        destination_->key(key_, context, ec);
 1453|   213k|                        break;
 1454|  1.08M|                }
 1455|  1.08M|            }
 1456|  19.9M|            else
 1457|  19.9M|            {
 1458|  19.9M|                switch (level_stack_.back().target())
 1459|  19.9M|                {
 1460|  18.0M|                    case target_t::buffer:
  ------------------
  |  Branch (1460:21): [True: 18.0M, False: 1.89M]
  ------------------
 1461|  18.0M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1461:29): [True: 17.1M, False: 875k]
  |  Branch (1461:65): [True: 17.1M, False: 2.60k]
  ------------------
 1462|  17.1M|                        {
 1463|  17.1M|                            key_buffer_.push_back(',');
 1464|  17.1M|                        }
 1465|  18.0M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1466|  18.0M|                        break;
 1467|  1.89M|                    default:
  ------------------
  |  Branch (1467:21): [True: 1.89M, False: 18.0M]
  ------------------
 1468|  1.89M|                        destination_->bool_value(value, tag, context, ec);
 1469|  1.89M|                        break;
 1470|  19.9M|                }
 1471|  19.9M|            }
 1472|       |
 1473|  21.0M|            level_stack_.back().advance();
 1474|  21.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  21.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1475|  21.0M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1075|  1.48M|        {
 1076|  1.48M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1076:17): [True: 107k, False: 1.37M]
  ------------------
 1077|   107k|            {
 1078|   107k|                switch (level_stack_.back().target())
 1079|   107k|                {
 1080|  73.2k|                    case target_t::buffer:
  ------------------
  |  Branch (1080:21): [True: 73.2k, False: 33.8k]
  ------------------
 1081|  73.2k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1081:29): [True: 71.2k, False: 1.97k]
  ------------------
 1082|  71.2k|                        {
 1083|  71.2k|                            key_buffer_.push_back(',');
 1084|  71.2k|                        }
 1085|  73.2k|                        key_buffer_.push_back('\"');
 1086|  73.2k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1087|  73.2k|                        key_buffer_.push_back('\"');
 1088|  73.2k|                        key_buffer_.push_back(':');
 1089|  73.2k|                        break;
 1090|  33.8k|                    default:
  ------------------
  |  Branch (1090:21): [True: 33.8k, False: 73.2k]
  ------------------
 1091|  33.8k|                        destination_->key(value, context, ec);
 1092|  33.8k|                        break;
 1093|   107k|                }
 1094|   107k|            }
 1095|  1.37M|            else
 1096|  1.37M|            {
 1097|  1.37M|                switch (level_stack_.back().target())
 1098|  1.37M|                {
 1099|   119k|                    case target_t::buffer:
  ------------------
  |  Branch (1099:21): [True: 119k, False: 1.25M]
  ------------------
 1100|   119k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1100:29): [True: 50.3k, False: 69.1k]
  |  Branch (1100:65): [True: 49.3k, False: 1.02k]
  ------------------
 1101|  49.3k|                        {
 1102|  49.3k|                            key_buffer_.push_back(',');
 1103|  49.3k|                        }
 1104|   119k|                        key_buffer_.push_back('\"');
 1105|   119k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1106|   119k|                        key_buffer_.push_back('\"');
 1107|   119k|                        break;
 1108|  1.25M|                    default:
  ------------------
  |  Branch (1108:21): [True: 1.25M, False: 119k]
  ------------------
 1109|  1.25M|                        destination_->string_value(value, tag, context, ec);
 1110|  1.25M|                        break;
 1111|  1.37M|                }
 1112|  1.37M|            }
 1113|       |
 1114|  1.48M|            level_stack_.back().advance();
 1115|  1.48M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.48M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1116|  1.48M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1122|   165k|        {
 1123|   165k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1123:17): [True: 13.1k, False: 152k]
  |  Branch (1123:49): [True: 10.5k, False: 141k]
  ------------------
 1124|  23.6k|            {
 1125|  23.6k|                key_.clear();
 1126|  23.6k|                switch (tag)
 1127|  23.6k|                {
 1128|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1128:21): [True: 0, False: 23.6k]
  ------------------
 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: 23.6k]
  ------------------
 1132|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1133|      0|                        break;
 1134|  23.6k|                    default:
  ------------------
  |  Branch (1134:21): [True: 23.6k, False: 0]
  ------------------
 1135|  23.6k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1136|  23.6k|                        break;
 1137|  23.6k|                }
 1138|  23.6k|            }
 1139|       |
 1140|   165k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1140:17): [True: 13.1k, False: 152k]
  ------------------
 1141|  13.1k|            {
 1142|  13.1k|                switch (level_stack_.back().target())
 1143|  13.1k|                {
 1144|  4.56k|                    case target_t::buffer:
  ------------------
  |  Branch (1144:21): [True: 4.56k, False: 8.54k]
  ------------------
 1145|  4.56k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1145:29): [True: 3.06k, False: 1.50k]
  ------------------
 1146|  3.06k|                        {
 1147|  3.06k|                            key_buffer_.push_back(',');
 1148|  3.06k|                        }
 1149|  4.56k|                        key_buffer_.push_back('\"');
 1150|  4.56k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1151|  4.56k|                        key_buffer_.push_back('\"');
 1152|  4.56k|                        key_buffer_.push_back(':');
 1153|  4.56k|                        break;
 1154|  8.54k|                    default:
  ------------------
  |  Branch (1154:21): [True: 8.54k, False: 4.56k]
  ------------------
 1155|  8.54k|                        destination_->key(key_, context, ec);
 1156|  8.54k|                        break;
 1157|  13.1k|                }
 1158|  13.1k|            }
 1159|   152k|            else
 1160|   152k|            {
 1161|   152k|                switch (level_stack_.back().target())
 1162|   152k|                {
 1163|  10.5k|                    case target_t::buffer:
  ------------------
  |  Branch (1163:21): [True: 10.5k, False: 141k]
  ------------------
 1164|  10.5k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1164:29): [True: 6.22k, False: 4.31k]
  |  Branch (1164:65): [True: 5.88k, False: 347]
  ------------------
 1165|  5.88k|                        {
 1166|  5.88k|                            key_buffer_.push_back(',');
 1167|  5.88k|                        }
 1168|  10.5k|                        key_buffer_.push_back('\"');
 1169|  10.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1170|  10.5k|                        key_buffer_.push_back('\"');
 1171|  10.5k|                        break;
 1172|   141k|                    default:
  ------------------
  |  Branch (1172:21): [True: 141k, False: 10.5k]
  ------------------
 1173|   141k|                        destination_->byte_string_value(value, tag, context, ec);
 1174|   141k|                        break;
 1175|   152k|                }
 1176|   152k|            }
 1177|       |
 1178|   165k|            level_stack_.back().advance();
 1179|   165k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   165k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1180|   165k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1186|   117k|        {
 1187|   117k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1187:17): [True: 15.7k, False: 101k]
  |  Branch (1187:49): [True: 27.9k, False: 73.9k]
  ------------------
 1188|  43.6k|            {
 1189|  43.6k|                key_.clear();
 1190|  43.6k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1191|  43.6k|            }
 1192|       |
 1193|   117k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1193:17): [True: 15.7k, False: 101k]
  ------------------
 1194|  15.7k|            {
 1195|  15.7k|                switch (level_stack_.back().target())
 1196|  15.7k|                {
 1197|  11.0k|                    case target_t::buffer:
  ------------------
  |  Branch (1197:21): [True: 11.0k, False: 4.65k]
  ------------------
 1198|  11.0k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1198:29): [True: 9.60k, False: 1.46k]
  ------------------
 1199|  9.60k|                        {
 1200|  9.60k|                            key_buffer_.push_back(',');
 1201|  9.60k|                        }
 1202|  11.0k|                        key_buffer_.push_back('\"');
 1203|  11.0k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1204|  11.0k|                        key_buffer_.push_back('\"');
 1205|  11.0k|                        key_buffer_.push_back(':');
 1206|  11.0k|                        break;
 1207|  4.65k|                    default:
  ------------------
  |  Branch (1207:21): [True: 4.65k, False: 11.0k]
  ------------------
 1208|  4.65k|                        destination_->key(key_, context, ec);
 1209|  4.65k|                        break;
 1210|  15.7k|                }
 1211|  15.7k|            }
 1212|   101k|            else
 1213|   101k|            {
 1214|   101k|                switch (level_stack_.back().target())
 1215|   101k|                {
 1216|  27.9k|                    case target_t::buffer:
  ------------------
  |  Branch (1216:21): [True: 27.9k, False: 73.9k]
  ------------------
 1217|  27.9k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1217:29): [True: 17.0k, False: 10.8k]
  |  Branch (1217:65): [True: 16.2k, False: 825]
  ------------------
 1218|  16.2k|                        {
 1219|  16.2k|                            key_buffer_.push_back(',');
 1220|  16.2k|                        }
 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|  73.9k|                    default:
  ------------------
  |  Branch (1225:21): [True: 73.9k, False: 27.9k]
  ------------------
 1226|  73.9k|                        destination_->byte_string_value(value, ext_tag, context, ec);
 1227|  73.9k|                        break;
 1228|   101k|                }
 1229|   101k|            }
 1230|       |
 1231|   117k|            level_stack_.back().advance();
 1232|   117k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   117k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1233|   117k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  275|  3.96M|        {
  276|  3.96M|            visit_begin_object(length, tag, context, ec);
  277|  3.96M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.96M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  278|  3.96M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  331|  1.48M|        {
  332|  1.48M|            visit_string(value, tag, context, ec);
  333|  1.48M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.48M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  334|  1.48M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  313|  3.20M|        {
  314|  3.20M|            visit_null(tag, context, ec);
  315|  3.20M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  316|  3.20M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  322|  21.0M|        {
  323|  21.0M|            visit_bool(value, tag, context, ec);
  324|  21.0M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  21.0M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  325|  21.0M|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  342|   165k|        {
  343|   165k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  344|   165k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   165k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|   165k|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  353|   117k|        {
  354|   117k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  355|   117k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   117k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  356|   117k|        }
_ZN8jsoncons24basic_item_event_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  281|  3.94M|        {
  282|  3.94M|            visit_end_object(context, ec);
  283|  3.94M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.94M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  3.94M|        }
_ZN8jsoncons24basic_item_event_visitorIcE5flushEv:
   56|  2.40k|        {
   57|  2.40k|            visit_flush();
   58|  2.40k|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  107|  4.60M|        {
  108|  4.60M|            flatten_and_destroy();
  109|  4.60M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  246|  4.60M|        {
  247|  5.66M|            while (!elements_.empty())
  ------------------
  |  Branch (247:20): [True: 1.06M, False: 4.60M]
  ------------------
  248|  1.06M|            {
  249|  1.06M|                value_type current = std::move(elements_.back());
  250|  1.06M|                elements_.pop_back();
  251|  1.06M|                switch (current.storage_kind())
  252|  1.06M|                {
  253|  49.8k|                    case json_storage_kind::array:
  ------------------
  |  Branch (253:21): [True: 49.8k, False: 1.01M]
  ------------------
  254|  49.8k|                    {
  255|  49.8k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (255:42): [True: 2.14M, False: 49.8k]
  ------------------
  256|  2.14M|                        {
  257|  2.14M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (257:34): [True: 95.1k, False: 2.04M]
  |  Branch (257:85): [True: 8.62k, False: 2.04M]
  ------------------
  258|   103k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (258:36): [True: 20.1k, False: 83.6k]
  ------------------
  259|  20.1k|                            {
  260|  20.1k|                                elements_.push_back(std::move(item));
  261|  20.1k|                            }
  262|  2.14M|                        }
  263|  49.8k|                        current.clear();                           
  264|  49.8k|                        break;
  265|      0|                    }
  266|   354k|                    case json_storage_kind::object:
  ------------------
  |  Branch (266:21): [True: 354k, False: 708k]
  ------------------
  267|   354k|                    {
  268|   354k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (268:40): [True: 84.3k, False: 354k]
  ------------------
  269|  84.3k|                        {
  270|  84.3k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (270:34): [True: 2.69k, False: 81.6k]
  |  Branch (270:91): [True: 22.3k, False: 59.3k]
  ------------------
  271|  25.0k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (271:36): [True: 21.2k, False: 3.84k]
  ------------------
  272|  21.2k|                            {
  273|  21.2k|                                elements_.push_back(std::move(kv.value()));
  274|  21.2k|                            }
  275|  84.3k|                        }
  276|   354k|                        current.clear();                           
  277|   354k|                        break;
  278|      0|                    }
  279|   659k|                    default:
  ------------------
  |  Branch (279:21): [True: 659k, False: 404k]
  ------------------
  280|   659k|                        break;
  281|  1.06M|                }
  282|  1.06M|            }
  283|  4.60M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  220|  49.8k|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  222|  49.8k|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  127|   103k|        {
  128|   103k|            return elements_.empty();
  129|   103k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  140|  49.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.10k|        {
  216|  7.10k|            elements_.emplace_back(std::forward<Args>(args)...);
  217|  7.10k|            return elements_.back();
  218|  7.10k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  151|  28.9k|        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.15M|        {
  177|  3.15M|            elements_.emplace_back(std::forward<T>(value));
  178|  3.15M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   47|  4.58M|        {
   48|  4.58M|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  6.83k|        : allocator_(alloc),
   75|  6.83k|          result_(),
   76|  6.83k|          name_(alloc),
   77|  6.83k|          item_stack_(alloc),
   78|  6.83k|          structure_stack_(temp_alloc)
   79|  6.83k|    {
   80|  6.83k|        item_stack_.reserve(1000);
   81|  6.83k|        structure_stack_.reserve(100);
   82|  6.83k|        structure_stack_.emplace_back(structure_type::root_t, 0);
   83|  6.83k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   51|  8.01M|            : type_(type), container_index_(offset)
   52|  8.01M|        {
   53|  8.01M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  179|  4.55M|    {
  180|  4.55M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   45|  4.55M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.55M]
  |  |  ------------------
  |  |   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.55M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |   45|  4.55M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.55M]
  |  |  ------------------
  |  |   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.55M|        const size_t container_index = structure_stack_.back().container_index_;
  183|  4.55M|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |   45|  4.55M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.55M]
  |  |  ------------------
  |  |   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.55M|        auto& container = item_stack_[container_index].value;
  186|       |
  187|  4.55M|        const size_t size = item_stack_.size() - (container_index + 1);
  188|       |        //std::cout << "size on item stack: " << size << "\n";
  189|       |
  190|  4.55M|        if (size > 0)
  ------------------
  |  Branch (190:13): [True: 28.9k, False: 4.52M]
  ------------------
  191|  28.9k|        {
  192|  28.9k|            container.reserve(size);
  193|  28.9k|            auto first = item_stack_.begin() + (container_index+1);
  194|  28.9k|            auto last = first + size;
  195|  3.18M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (195:35): [True: 3.15M, False: 28.9k]
  ------------------
  196|  3.15M|            {
  197|  3.15M|                container.push_back(std::move((*it).value));
  198|  3.15M|            }
  199|  28.9k|            item_stack_.erase(first, item_stack_.end());
  200|  28.9k|        }
  201|       |
  202|  4.55M|        structure_stack_.pop_back();
  203|  4.55M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (203:13): [True: 223, False: 4.55M]
  ------------------
  204|    223|        {
  205|    223|            result_.swap(item_stack_.front().value);
  206|    223|            item_stack_.pop_back();
  207|    223|            is_valid_ = true;
  208|    223|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    223|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  209|    223|        }
  210|  4.55M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  211|  4.55M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  296|  18.5M|    {
  297|  18.5M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (297:17): [True: 18.5M, False: 0]
  ------------------
  298|  18.5M|        {
  299|  2.90M|            case structure_type::object_t:
  ------------------
  |  Branch (299:13): [True: 2.90M, False: 15.6M]
  ------------------
  300|  18.5M|            case structure_type::array_t:
  ------------------
  |  Branch (300:13): [True: 15.6M, False: 2.90M]
  ------------------
  301|  18.5M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  302|  18.5M|                break;
  303|     13|            case structure_type::root_t:
  ------------------
  |  Branch (303:13): [True: 13, False: 18.5M]
  ------------------
  304|     13|                result_ = Json(value,tag);
  305|     13|                is_valid_ = true;
  306|     13|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|     13|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  307|  18.5M|        }
  308|  18.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  18.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  309|  18.5M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  277|  4.23M|    {
  278|  4.23M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (278:17): [True: 4.23M, False: 0]
  ------------------
  279|  4.23M|        {
  280|  93.7k|            case structure_type::object_t:
  ------------------
  |  Branch (280:13): [True: 93.7k, False: 4.14M]
  ------------------
  281|  4.23M|            case structure_type::array_t:
  ------------------
  |  Branch (281:13): [True: 4.14M, False: 93.7k]
  ------------------
  282|  4.23M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  283|  4.23M|                break;
  284|      6|            case structure_type::root_t:
  ------------------
  |  Branch (284:13): [True: 6, False: 4.23M]
  ------------------
  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|  4.23M|        }
  289|  4.23M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.23M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|  4.23M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  334|   177k|    {
  335|   177k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (335:17): [True: 177k, False: 0]
  ------------------
  336|   177k|        {
  337|  6.72k|            case structure_type::object_t:
  ------------------
  |  Branch (337:13): [True: 6.72k, False: 170k]
  ------------------
  338|   177k|            case structure_type::array_t:
  ------------------
  |  Branch (338:13): [True: 170k, False: 6.73k]
  ------------------
  339|   177k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  340|   177k|                break;
  341|      2|            case structure_type::root_t:
  ------------------
  |  Branch (341:13): [True: 2, False: 177k]
  ------------------
  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|   177k|        }
  346|   177k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   177k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|   177k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  2.40k|    {
  123|  2.40k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  3.42M|    {
  127|  3.42M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (127:13): [True: 4.54k, False: 3.41M]
  ------------------
  128|  4.54k|        {
  129|  4.54k|            index_ = 0;
  130|  4.54k|            item_stack_.clear();
  131|  4.54k|            is_valid_ = false;
  132|  4.54k|        }
  133|  3.42M|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  134|  3.42M|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  135|  3.42M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.42M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  136|  3.42M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  139|  3.41M|    {
  140|  3.41M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   45|  3.41M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.41M]
  |  |  ------------------
  |  |   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|  3.41M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |   45|  3.41M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.41M]
  |  |  ------------------
  |  |   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|  3.41M|        const size_t structure_index = structure_stack_.back().container_index_;
  143|  3.41M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   45|  3.41M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 3.41M]
  |  |  ------------------
  |  |   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|  3.41M|        const size_t count = item_stack_.size() - (structure_index + 1);
  145|  3.41M|        auto first = item_stack_.begin() + (structure_index+1);
  146|       |
  147|  3.41M|        if (count > 0)
  ------------------
  |  Branch (147:13): [True: 45.0k, False: 3.37M]
  ------------------
  148|  45.0k|        {
  149|  45.0k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  150|  45.0k|                &item_stack_[structure_index+1], count);
  151|  45.0k|        }
  152|       |
  153|  3.41M|        item_stack_.erase(first, item_stack_.end());
  154|  3.41M|        structure_stack_.pop_back();
  155|  3.41M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (155:13): [True: 1.28k, False: 3.41M]
  ------------------
  156|  1.28k|        {
  157|  1.28k|            result_.swap(item_stack_.front().value);
  158|  1.28k|            item_stack_.pop_back();
  159|  1.28k|            is_valid_ = true;
  160|  1.28k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.28k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  161|  1.28k|        }
  162|  3.41M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.41M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  163|  3.41M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  166|  4.58M|    {
  167|  4.58M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (167:13): [True: 1.01k, False: 4.58M]
  ------------------
  168|  1.01k|        {
  169|  1.01k|            index_ = 0;
  170|  1.01k|            item_stack_.clear();
  171|  1.01k|            is_valid_ = false;
  172|  1.01k|        }
  173|  4.58M|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  174|  4.58M|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  175|  4.58M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  176|  4.58M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  214|  3.88M|    {
  215|  3.88M|        name_ = key_type(name.data(),name.length(),allocator_);
  216|  3.88M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.88M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  3.88M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|  2.27M|    {
  367|  2.27M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 2.27M, False: 0]
  ------------------
  368|  2.27M|        {
  369|  65.8k|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 65.8k, False: 2.21M]
  ------------------
  370|  2.27M|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 2.21M, False: 65.8k]
  ------------------
  371|  2.27M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  372|  2.27M|                break;
  373|      1|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 1, False: 2.27M]
  ------------------
  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|  2.27M|        }
  378|  2.27M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  379|  2.27M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|  1.89M|    {
  351|  1.89M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 1.89M, False: 0]
  ------------------
  352|  1.89M|        {
  353|   215k|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 215k, False: 1.67M]
  ------------------
  354|  1.89M|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 1.67M, False: 215k]
  ------------------
  355|  1.89M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|  1.89M|                break;
  357|      2|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 2, False: 1.89M]
  ------------------
  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|  1.89M|        }
  362|  1.89M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.89M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  363|  1.89M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  220|  1.25M|    {
  221|  1.25M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (221:17): [True: 1.25M, False: 0]
  ------------------
  222|  1.25M|        {
  223|  32.2k|            case structure_type::object_t:
  ------------------
  |  Branch (223:13): [True: 32.2k, False: 1.22M]
  ------------------
  224|  1.25M|            case structure_type::array_t:
  ------------------
  |  Branch (224:13): [True: 1.22M, False: 33.0k]
  ------------------
  225|  1.25M|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  226|  1.25M|                break;
  227|    869|            case structure_type::root_t:
  ------------------
  |  Branch (227:13): [True: 869, False: 1.25M]
  ------------------
  228|    869|                result_ = Json(sv, tag, allocator_);
  229|    869|                is_valid_ = true;
  230|    869|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    869|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  231|  1.25M|        }
  232|  1.25M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.25M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  233|  1.25M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  239|   141k|    {
  240|   141k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (240:17): [True: 141k, False: 0]
  ------------------
  241|   141k|        {
  242|  24.0k|            case structure_type::object_t:
  ------------------
  |  Branch (242:13): [True: 24.0k, False: 117k]
  ------------------
  243|   141k|            case structure_type::array_t:
  ------------------
  |  Branch (243:13): [True: 117k, False: 24.1k]
  ------------------
  244|   141k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  245|   141k|                break;
  246|      3|            case structure_type::root_t:
  ------------------
  |  Branch (246:13): [True: 3, False: 141k]
  ------------------
  247|      3|                result_ = Json(byte_string_arg, b, tag, allocator_);
  248|      3|                is_valid_ = true;
  249|      3|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      3|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  250|   141k|        }
  251|   141k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   141k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  252|   141k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  258|  73.9k|    {
  259|  73.9k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (259:17): [True: 73.9k, False: 0]
  ------------------
  260|  73.9k|        {
  261|  3.88k|            case structure_type::object_t:
  ------------------
  |  Branch (261:13): [True: 3.88k, False: 70.0k]
  ------------------
  262|  73.9k|            case structure_type::array_t:
  ------------------
  |  Branch (262:13): [True: 70.0k, False: 3.88k]
  ------------------
  263|  73.9k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, ext_tag);
  264|  73.9k|                break;
  265|      5|            case structure_type::root_t:
  ------------------
  |  Branch (265:13): [True: 5, False: 73.9k]
  ------------------
  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|  73.9k|        }
  270|  73.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  73.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  271|  73.9k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  2.40k|    {
  109|  2.40k|        return is_valid_;
  110|  2.40k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  2.40k|    {
  114|  2.40k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   45|  2.40k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.40k]
  |  |  ------------------
  |  |   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.40k|        is_valid_ = false;
  116|  2.40k|        return std::move(result_);
  117|  2.40k|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  6.83k|{
 1065|  6.83k|    return json_visitor_adaptor<From, To>(to);
 1066|  6.83k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  6.83k|        : supertype(visitor)
  984|  6.83k|    {
  985|  6.83k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  6.83k|        : destination1_(std::addressof(visitor))
  722|  6.83k|    {
  723|  6.83k|    }
_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.58M|    {
  778|  4.58M|        destination1_->begin_array(length, tag, context, ec);
  779|  4.58M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  4.58M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  4.55M|    {
  784|  4.55M|        destination1_->end_array(context, ec);
  785|  4.55M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  4.55M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  18.5M|    {
  826|  18.5M|        destination1_->uint64_value(value, tag, context, ec);
  827|  18.5M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  18.5M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  18.5M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  4.23M|    {
  820|  4.23M|        destination1_->int64_value(value, tag, context, ec);
  821|  4.23M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.23M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  4.23M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|   177k|    {
  814|   177k|        destination1_->double_value(value, tag, context, ec);
  815|   177k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   177k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|   177k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.40k|    {
  739|  2.40k|        destination1_->flush();
  740|  2.40k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  3.42M|    {
  755|  3.42M|        destination1_->begin_object(length, tag, context, ec);
  756|  3.42M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.42M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  3.42M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  3.41M|    {
  761|  3.41M|        destination1_->end_object(context, ec);
  762|  3.41M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.41M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  3.41M|    }
_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|  3.88M|    {
  996|  3.88M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  3.88M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  5.14M|    {
  733|  5.14M|        return *destination1_;
  734|  5.14M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  2.27M|    {
  838|  2.27M|        destination1_->null_value(tag, context, ec);
  839|  2.27M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  2.27M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  1.89M|    {
  832|  1.89M|        destination1_->bool_value(value, tag, context, ec);
  833|  1.89M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.89M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  1.89M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
 1003|  1.25M|    {
 1004|  1.25M|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|  1.25M|    }
_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|   141k|    {
  793|   141k|        destination1_->byte_string_value(b, tag, context, ec);
  794|   141k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   141k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|   141k|    }
_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|  73.9k|    {
  802|  73.9k|        destination1_->byte_string_value(b, ext_tag, context, ec);
  803|  73.9k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  73.9k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  73.9k|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  432|  39.9k|        {
  433|  39.9k|            return members_.empty();
  434|  39.9k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  465|   354k|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  442|   354k|        {
  443|   354k|            return members_.begin();
  444|   354k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  447|   354k|        {
  448|   354k|            return members_.end();
  449|   354k|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   328k|        {
  121|   328k|            return value_;
  122|   328k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  427|  3.42M|        {
  428|  3.42M|            flatten_and_destroy();
  429|  3.42M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  986|  3.42M|        {
  987|  3.42M|            if (!members_.empty())
  ------------------
  |  Branch (987:17): [True: 16.5k, False: 3.40M]
  ------------------
  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.1k, False: 16.5k]
  ------------------
  992|  94.1k|                {
  993|  94.1k|                    switch (kv.value().storage_kind())
  994|  94.1k|                    {
  995|  5.98k|                        case json_storage_kind::array:
  ------------------
  |  Branch (995:25): [True: 5.98k, False: 88.1k]
  ------------------
  996|  14.8k|                        case json_storage_kind::object:
  ------------------
  |  Branch (996:25): [True: 8.90k, False: 85.2k]
  ------------------
  997|  14.8k|                            if (!kv.value().empty())
  ------------------
  |  Branch (997:33): [True: 7.10k, False: 7.78k]
  ------------------
  998|  7.10k|                            {
  999|  7.10k|                                temp.emplace_back(std::move(kv.value()));
 1000|  7.10k|                            }
 1001|  14.8k|                            break;
 1002|  79.2k|                        default:
  ------------------
  |  Branch (1002:25): [True: 79.2k, False: 14.8k]
  ------------------
 1003|  79.2k|                            break;
 1004|  94.1k|                    }
 1005|  94.1k|                }
 1006|  16.5k|            }
 1007|  3.42M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  69.6M|        index_key_value(index_key_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
  334|  3.42M|        {
  335|  3.42M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  20.4M|        index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  18.5M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  18.5M|        {
   45|  18.5M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.23M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.23M|        {
   45|  4.23M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   177k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   177k|        {
   45|   177k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.42M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.42M|        {
   45|  3.42M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  539|  45.0k|        {
  540|  45.0k|            if (count > 0)
  ------------------
  |  Branch (540:17): [True: 45.0k, False: 0]
  ------------------
  541|  45.0k|            {
  542|  45.0k|                members_.reserve(count);
  543|       |
  544|  45.0k|                std::sort(items, items+count, compare);
  545|  45.0k|                members_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  546|       |                
  547|  3.57M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (547:41): [True: 3.52M, False: 45.0k]
  ------------------
  548|  3.52M|                {
  549|  3.52M|                    auto& item = items[i];
  550|  3.52M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (550:25): [True: 133k, False: 3.39M]
  ------------------
  551|   133k|                    {
  552|   133k|                        members_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  553|   133k|                    }
  554|  3.52M|                }
  555|  45.0k|            }
  556|  45.0k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  530|  76.3M|        {
  531|  76.3M|            int comp = item1.name.compare(item2.name); 
  532|  76.3M|            if (comp < 0) return true;
  ------------------
  |  Branch (532:17): [True: 1.73M, False: 74.6M]
  ------------------
  533|  74.6M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (533:17): [True: 73.1M, False: 1.53M]
  ------------------
  534|       |
  535|  1.53M|            return false;
  536|  74.6M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   178k|            : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   178k|        {
   88|   178k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.58M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.58M|        {
   45|  4.58M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.27M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.27M|        {
   45|  2.27M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  1.89M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.89M|        {
   45|  1.89M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|  1.25M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  1.25M|        {
   45|  1.25M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   141k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   141k|        {
   45|   141k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  73.9k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  73.9k|        {
   45|  73.9k|        }

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

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
  103|  20.4k|        basic_json_visitor() = default;
_ZN8jsoncons19typed_array_visitorD2Ev:
   33|  27.3k|        virtual ~typed_array_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  560|  4.58M|        {
  561|  4.58M|            visit_begin_array(tag, context, ec);
  562|  4.58M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.58M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  563|  4.58M|        }
_ZN8jsoncons18basic_json_visitorIcE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  544|  3.42M|        {
  545|  3.42M|            visit_begin_object(tag, context, ec);
  546|  3.42M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.42M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  547|  3.42M|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  345|  9.16M|        {
  346|  9.16M|            visit_begin_array(length, tag, context, ec);
  347|  9.16M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  348|  9.16M|        }
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  414|  37.1M|        {
  415|  37.1M|            visit_uint64(value, tag, context, ec);
  416|  37.1M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  37.1M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  417|  37.1M|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  351|  9.10M|        {
  352|  9.10M|            visit_end_array(context, ec);
  353|  9.10M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  9.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  354|  9.10M|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  423|  8.47M|        {
  424|  8.47M|            visit_int64(value, tag, context, ec);
  425|  8.47M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  8.47M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  426|  8.47M|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  441|   355k|        {
  442|   355k|            visit_double(value, tag, context, ec);
  443|   355k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   355k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  444|   355k|        }
_ZN8jsoncons18basic_json_visitorIcE5flushEv:
  108|  4.81k|        {
  109|  4.81k|            visit_flush();
  110|  4.81k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  327|  6.84M|        {
  328|  6.84M|            visit_begin_object(length, tag, context, ec);
  329|  6.84M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.84M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  330|  6.84M|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  333|  6.83M|        {
  334|  6.83M|            visit_end_object(context, ec);
  335|  6.83M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  6.83M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  336|  6.83M|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEERKNS_11ser_contextERNS2_10error_codeE:
  357|  7.77M|        {
  358|  7.77M|            visit_key(name, context, ec);
  359|  7.77M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  7.77M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  360|  7.77M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  365|  4.55M|        {
  366|  4.55M|            visit_null(tag, context, ec);
  367|  4.55M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.55M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  368|  4.55M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  374|  3.78M|        {
  375|  3.78M|            visit_bool(value, tag, context, ec);
  376|  3.78M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.78M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  377|  3.78M|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  383|  2.51M|        {
  384|  2.51M|            visit_string(value, tag, context, ec);
  385|  2.51M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.51M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  386|  2.51M|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  394|   283k|        {
  395|   283k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  396|   283k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   283k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  397|   283k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  405|   147k|        {
  406|   147k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  407|   147k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   147k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  408|   147k|        }
_ZN8jsoncons26basic_default_json_visitorIcEC2Ev:
  811|  6.83k|        basic_default_json_visitor() = default;

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

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

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

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  686|  95.1k|        : storage_(n, alloc)
  687|  95.1k|    {
  688|  95.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  353|  95.1k|        : word_allocator_type(alloc)
  354|  95.1k|    {
  355|  95.1k|        ::new (&inlined_) inlined_storage(n);
  356|  95.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  95.1k|            : is_allocated_(false),
  139|  95.1k|            is_negative_(false),
  140|  95.1k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 33.7k, False: 61.4k]
  ------------------
  141|  95.1k|        {
  142|  95.1k|            values_[0] = n;
  143|  95.1k|            values_[1] = 0;
  144|  95.1k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  991|  29.7k|    {
  992|  29.7k|        auto this_view = get_storage_view();
  993|  29.7k|        size_type len0 = this_view.size();
  994|  29.7k|        word_type dig = this_view[0];
  995|  29.7k|        word_type carry = 0;
  996|       |
  997|  29.7k|        resize(this_view.size() + 1);
  998|  29.7k|        this_view = get_storage_view();
  999|       |
 1000|  29.7k|        size_type i = 0;
 1001|  57.2k|        for (; i < len0; i++ )
  ------------------
  |  Branch (1001:16): [True: 27.5k, False: 29.7k]
  ------------------
 1002|  27.5k|        {
 1003|  27.5k|            word_type hi;
 1004|  27.5k|            word_type lo;
 1005|  27.5k|            DDproduct( dig, y, hi, lo );
 1006|  27.5k|            this_view[i] = lo + carry;
 1007|  27.5k|            dig = this_view[i+1];
 1008|  27.5k|            carry = hi + (this_view[i] < lo);
 1009|  27.5k|        }
 1010|  29.7k|        this_view[i] = carry;
 1011|  29.7k|        reduce();
 1012|  29.7k|        return *this;
 1013|  29.7k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  711|   452k|    {
  712|   452k|        return storage_.get_storage_view();
  713|   452k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  513|   654k|    {
  514|   654k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (514:16): [True: 156k, False: 497k]
  ------------------
  515|   156k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  516|   654k|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  517|   654k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   64|   654k|            : data_(data), size_(size)
   65|   654k|        {
   66|   654k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   84|  1.07M|        {
   85|  1.07M|            return size_;
   86|  1.07M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   69|   445k|        {
   70|   445k|            return data_[i];
   71|   445k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  811|  72.0k|    {
  812|  72.0k|        storage_.resize(new_length);
  813|  72.0k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  527|   163k|    {
  528|   163k|        size_type old_length = common_.size_;
  529|   163k|        reserve(new_length);
  530|   163k|        common_.size_ = new_length;
  531|       |
  532|   163k|        if (old_length < new_length)
  ------------------
  |  Branch (532:13): [True: 89.5k, False: 74.2k]
  ------------------
  533|  89.5k|        {
  534|  89.5k|            if (is_allocated())
  ------------------
  |  Branch (534:17): [True: 12.0k, False: 77.5k]
  ------------------
  535|  12.0k|            {
  536|  12.0k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  537|  12.0k|            }
  538|  77.5k|            else
  539|  77.5k|            {
  540|  77.5k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   45|  77.5k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 77.5k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  541|   189k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (541:48): [True: 112k, False: 77.5k]
  ------------------
  542|   112k|                {
  543|   112k|                    inlined_.values_[i] = 0;
  544|   112k|                }
  545|  77.5k|            }
  546|  89.5k|        }
  547|   163k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  445|   163k|    {
  446|   163k|       if (capacity() < n)
  ------------------
  |  Branch (446:12): [True: 12.0k, False: 151k]
  ------------------
  447|  12.0k|       {
  448|  12.0k|           if (!is_allocated())
  ------------------
  |  Branch (448:16): [True: 12.0k, False: 0]
  ------------------
  449|  12.0k|           {
  450|  12.0k|               size_type size = inlined_.size_;
  451|  12.0k|               size_type is_neg = inlined_.is_negative_;
  452|  12.0k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  453|       |
  454|  12.0k|               ::new (&allocated_) allocated_storage();
  455|  12.0k|               allocated_.reserve(n, get_allocator());
  456|  12.0k|               allocated_.size_ = size;
  457|  12.0k|               allocated_.is_negative_ = is_neg;
  458|  12.0k|               if (n >= 1)
  ------------------
  |  Branch (458:20): [True: 12.0k, False: 0]
  ------------------
  459|  12.0k|               {
  460|  12.0k|                   allocated_.data_[0] = values[0];
  461|  12.0k|               }
  462|  12.0k|               if (n >= 2)
  ------------------
  |  Branch (462:20): [True: 12.0k, False: 0]
  ------------------
  463|  12.0k|               {
  464|  12.0k|                   allocated_.data_[1] = values[1];
  465|  12.0k|               }
  466|  12.0k|           }
  467|      0|           else
  468|      0|           {
  469|      0|               allocated_.reserve(n, get_allocator());
  470|      0|           }
  471|  12.0k|       }
  472|   163k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  498|   163k|    {
  499|   163k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (499:16): [True: 24.1k, False: 139k]
  ------------------
  500|   163k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  203|  12.0k|            : is_allocated_(true),
  204|  12.0k|            is_negative_(false)
  205|  12.0k|        {
  206|  12.0k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  255|  12.0k|        {
  256|  12.0k|            JSONCONS_ASSERT(n < max_size);
  ------------------
  |  |   45|  12.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 12.0k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  257|  12.0k|            size_type capacity_new = round_up(n);
  258|       |
  259|  12.0k|            real_allocator_type alloc(a);
  260|  12.0k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  261|  12.0k|            if (size_ > 0)
  ------------------
  |  Branch (261:17): [True: 0, False: 12.0k]
  ------------------
  262|      0|            {
  263|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  264|      0|            }
  265|  12.0k|            if (data_ != nullptr)
  ------------------
  |  Branch (265:17): [True: 0, False: 12.0k]
  ------------------
  266|      0|            {
  267|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  268|      0|            }
  269|  12.0k|            capacity_ = capacity_new;
  270|  12.0k|            data_ = data_new;
  271|  12.0k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  275|  12.0k|        {
  276|  12.0k|            size_type remainder = i % mem_unit;
  277|  12.0k|            size_type off = mem_unit - remainder;
  278|  12.0k|            bool testoff = i < max_size - off;
  279|  12.0k|            JSONCONS_ASSERT(testoff);
  ------------------
  |  |   45|  12.0k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 12.0k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  280|       |
  281|  12.0k|            return i + off;
  282|  12.0k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  475|   304k|    {
  476|   304k|        return static_cast<const word_allocator_type&>(*this);
  477|   304k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  493|   746k|    {
  494|   746k|        return common_.is_allocated_;
  495|   746k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1774|  40.0k|    {
 1775|  40.0k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1776|  40.0k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1777|       |
 1778|  40.0k|        lo = loA * loB;
 1779|  40.0k|        hi = hiA * hiB;
 1780|  40.0k|        word_type mid1 = loA * hiB;
 1781|  40.0k|        word_type mid2 = hiA * loB;
 1782|  40.0k|        word_type old = lo;
 1783|  40.0k|        lo += mid1 << word_type_half_bits;
 1784|  40.0k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1785|  40.0k|        old = lo;
 1786|  40.0k|        lo += mid2 << word_type_half_bits;
 1787|  40.0k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1788|  40.0k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1910|   109k|    {
 1911|   109k|        storage_.reduce();
 1912|   109k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  422|   109k|    {
  423|   109k|        if (common_.size_ > 0)
  ------------------
  |  Branch (423:13): [True: 109k, False: 0]
  ------------------
  424|   109k|        {
  425|   109k|            auto this_view = get_storage_view();
  426|   109k|            word_type* p = this_view.end() - 1;
  427|   109k|            word_type* first = this_view.begin();
  428|   169k|            while ( p >= first )
  ------------------
  |  Branch (428:21): [True: 164k, False: 4.97k]
  ------------------
  429|   164k|            {
  430|   164k|                if ( *p )
  ------------------
  |  Branch (430:22): [True: 104k, False: 59.9k]
  ------------------
  431|   104k|                {
  432|   104k|                    break;
  433|   104k|                }
  434|  59.9k|                --common_.size_;
  435|  59.9k|                --p;
  436|  59.9k|            }
  437|   109k|        }
  438|   109k|        if (common_.size_ == 0)
  ------------------
  |  Branch (438:13): [True: 4.97k, False: 104k]
  ------------------
  439|  4.97k|        {
  440|  4.97k|            common_.is_negative_ = false;
  441|  4.97k|        }
  442|   109k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   93|   109k|        {
   94|   109k|            return data_ + size_;
   95|   109k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   88|   109k|        {
   89|   109k|            return data_;
   90|   109k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLImEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  882|  15.9k|    {
  883|  15.9k|        if ( is_negative())
  ------------------
  |  Branch (883:14): [True: 0, False: 15.9k]
  ------------------
  884|      0|            return *this -= -basic_bigint<Allocator>(y);
  885|       |
  886|  15.9k|        word_type d;
  887|  15.9k|        word_type carry = 0;
  888|       |
  889|  15.9k|        auto this_view = get_storage_view();
  890|  15.9k|        resize(this_view.size() + 1);
  891|       |
  892|  15.9k|        this_view = get_storage_view();
  893|  15.9k|        const size_type this_size = this_view.size();
  894|  15.9k|        size_type y_size = 1;
  895|       |
  896|  15.9k|        d = this_view[0] + carry;
  897|  15.9k|        carry = d < carry;
  898|  15.9k|        this_view[0] = d + y;
  899|  15.9k|        if (this_view[0] < d)
  ------------------
  |  Branch (899:13): [True: 0, False: 15.9k]
  ------------------
  900|      0|            carry = 1;
  901|       |
  902|  15.9k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (902:36): [True: 14.4k, False: 1.42k]
  |  Branch (902:53): [True: 0, False: 14.4k]
  ------------------
  903|      0|        {
  904|      0|            d = this_view[i] + carry;
  905|      0|            carry = d < carry;
  906|      0|            this_view[i] = d;
  907|      0|        }
  908|  15.9k|        reduce();
  909|  15.9k|        return *this;
  910|  15.9k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  721|   429k|    {
  722|   429k|        return storage_.is_negative();
  723|   429k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  503|   429k|    {
  504|   429k|        return common_.is_negative_;
  505|   429k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  828|  3.90k|    {
  829|  3.90k|        basic_bigint<Allocator> v(*this);
  830|  3.90k|        v.set_negative(!v.is_negative());
  831|  3.90k|        return v;
  832|  3.90k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  664|  33.6k|        : storage_(other.storage_)
  665|  33.6k|    {
  666|  33.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  299|  33.6k|        : word_allocator_type(other.get_allocator())
  300|  33.6k|    {
  301|  33.6k|        if (!other.is_allocated())
  ------------------
  |  Branch (301:13): [True: 21.6k, False: 12.0k]
  ------------------
  302|  21.6k|        {
  303|  21.6k|            ::new (&inlined_) inlined_storage(other.inlined_);
  304|  21.6k|        }
  305|  12.0k|        else
  306|  12.0k|        {
  307|  12.0k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  308|  12.0k|        }
  309|  33.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  178|   114k|            : is_allocated_(false),
  179|   114k|            is_negative_(stor.is_negative_),
  180|   114k|            size_(stor.size_)
  181|   114k|        {
  182|   114k|            values_[0] = stor.values_[0];
  183|   114k|            values_[1] = stor.values_[1];
  184|   114k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  209|  48.2k|            : is_allocated_(true),
  210|  48.2k|              is_negative_(stor.is_negative_),
  211|  48.2k|              size_(stor.size_),
  212|  48.2k|              capacity_(stor.capacity_)
  213|  48.2k|        {
  214|  48.2k|            real_allocator_type alloc(a);
  215|       |
  216|  48.2k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  217|  48.2k|            JSONCONS_TRY
  ------------------
  |  |   37|  48.2k|    #define JSONCONS_TRY try
  ------------------
  218|  48.2k|            {
  219|  48.2k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  220|  48.2k|            }
  221|  48.2k|            JSONCONS_CATCH(...)
  222|  48.2k|            {
  223|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  224|      0|                data_ = nullptr;
  225|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  226|      0|            }
  227|  48.2k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   45|  48.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 48.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 ))); }
  ------------------
  228|  48.2k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  229|  48.2k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  726|   212k|    {
  727|   212k|        storage_.set_negative(value);
  728|   212k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  508|   212k|    {
  509|   212k|        common_.is_negative_ = value;
  510|   212k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1352|  29.7k|    {
 1353|  29.7k|        basic_bigint<Allocator> v(*this);
 1354|  29.7k|        auto v_view = v.get_storage_view();
 1355|       |
 1356|  29.7k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1357|  29.7k|        data.reserve(len);
 1358|       |
 1359|  29.7k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1359:14): [True: 1.24k, False: 28.5k]
  ------------------
 1360|  1.24k|        {
 1361|  1.24k|            data.push_back('0');
 1362|  1.24k|        }
 1363|  28.5k|        else
 1364|  28.5k|        {
 1365|  28.5k|            word_type r;
 1366|  28.5k|            basic_bigint<Allocator> R(get_allocator());
 1367|  28.5k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1368|       |
 1369|  28.5k|            do
 1370|  52.1k|            {
 1371|  52.1k|                v.divide( LP10, v, R, true );
 1372|  52.1k|                v_view = v.get_storage_view();
 1373|       |
 1374|  52.1k|                auto R_view = R.get_storage_view();
 1375|  52.1k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1375:22): [True: 46.9k, False: 5.21k]
  ------------------
 1376|   642k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1376:38): [True: 619k, False: 23.5k]
  ------------------
 1377|   619k|                {
 1378|   619k|                    data.push_back(char(r % 10u + '0'));
 1379|   619k|                    r /= 10u;
 1380|   619k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1380:26): [True: 28.5k, False: 590k]
  ------------------
 1381|  28.5k|                        break;
 1382|   619k|                }
 1383|  52.1k|            } 
 1384|  52.1k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1384:21): [True: 23.5k, False: 28.5k]
  ------------------
 1385|       |
 1386|  28.5k|            if (is_negative())
  ------------------
  |  Branch (1386:17): [True: 3.90k, False: 24.6k]
  ------------------
 1387|  3.90k|            {
 1388|  3.90k|                data.push_back('-');
 1389|  3.90k|            }
 1390|  28.5k|            std::reverse(data.begin(),data.end());
 1391|  28.5k|        }
 1392|  29.7k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  706|   186k|    {
  707|   186k|        return storage_.get_allocator();
  708|   186k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  637|  28.5k|        : storage_(alloc)
  638|  28.5k|    {
  639|  28.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  293|  28.5k|        : word_allocator_type(alloc)
  294|  28.5k|    {
  295|  28.5k|        ::new (&inlined_) inlined_storage();
  296|  28.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  113|  28.5k|            : is_allocated_(false),
  114|  28.5k|            is_negative_(false),
  115|  28.5k|            size_(0),
  116|  28.5k|            values_{0, 0}
  117|  28.5k|        {
  118|  28.5k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1668|  52.1k|    {
 1669|  52.1k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1670|  52.1k|        auto denom_view = denom.get_storage_view();
 1671|       |
 1672|  52.1k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1672:13): [True: 0, False: 52.1k]
  ------------------
 1673|      0|        {
 1674|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1675|      0|        }
 1676|  52.1k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1677|  52.1k|        bool rem_neg = is_negative();
 1678|  52.1k|        basic_bigint<Allocator> num(*this, get_allocator());
 1679|  52.1k|        num.set_negative(false);
 1680|  52.1k|        denom.set_negative(false);
 1681|  52.1k|        if ( num < denom )
  ------------------
  |  Branch (1681:14): [True: 28.5k, False: 23.5k]
  ------------------
 1682|  28.5k|        {
 1683|  28.5k|            quot = word_type(0);
 1684|  28.5k|            quot.set_negative(quot_neg);
 1685|  28.5k|            rem = num;
 1686|  28.5k|            rem.set_negative(rem_neg);
 1687|  28.5k|            return;
 1688|  28.5k|        }
 1689|       |
 1690|  23.5k|        auto num_view = num.get_storage_view();
 1691|  23.5k|        auto quot_view = quot.get_storage_view();
 1692|  23.5k|        auto this_view = get_storage_view();
 1693|       |
 1694|  23.5k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1694:14): [True: 23.5k, False: 0]
  |  Branch (1694:40): [True: 11.0k, False: 12.5k]
  ------------------
 1695|  11.0k|        {
 1696|  11.0k|            quot = word_type( num_view[0]/denom_view[0] );
 1697|  11.0k|            rem = word_type( num_view[0]%denom_view[0] );
 1698|  11.0k|            quot.set_negative(quot_neg);
 1699|  11.0k|            rem.set_negative(rem_neg);
 1700|  11.0k|            return;
 1701|  11.0k|        }
 1702|  12.5k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1702:13): [True: 12.5k, False: 0]
  |  Branch (1702:39): [True: 0, False: 12.5k]
  ------------------
 1703|      0|        {
 1704|       |            // Denominator fits into a half word
 1705|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1706|      0|            quot.resize(this_view.size());
 1707|      0|            quot_view = quot.get_storage_view();
 1708|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1708:48): [True: 0, False: 0]
  ------------------
 1709|      0|            {
 1710|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1711|      0|                q1 = dividend/divisor;
 1712|      0|                r = dividend % divisor;
 1713|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1714|      0|                q2 = dividend/divisor;
 1715|      0|                dHi = dividend % divisor;
 1716|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1717|      0|            }
 1718|      0|            quot.reduce();
 1719|      0|            rem = dHi;
 1720|      0|            quot.set_negative(quot_neg);
 1721|      0|            rem.set_negative(rem_neg);
 1722|      0|            return;
 1723|      0|        }
 1724|  12.5k|        basic_bigint<Allocator> num0(num, get_allocator());
 1725|  12.5k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1726|  12.5k|        int x = 0;
 1727|  12.5k|        bool second_done = normalize(denom, num, x);
 1728|  12.5k|        denom_view = denom.get_storage_view();
 1729|  12.5k|        num_view = num.get_storage_view();
 1730|       |
 1731|  12.5k|        size_type l = denom_view.size() - 1;
 1732|  12.5k|        size_type n = num_view.size() - 1;
 1733|  12.5k|        quot.resize(n - l);
 1734|  12.5k|        quot_view = quot.get_storage_view();
 1735|  25.0k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1735:46): [True: 12.5k, False: 12.5k]
  ------------------
 1736|  12.5k|        {
 1737|  12.5k|            quot_view[i] = 0;
 1738|  12.5k|        }
 1739|  12.5k|        rem = num;
 1740|  12.5k|        auto rem_view = rem.get_storage_view();
 1741|  12.5k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1741:14): [True: 0, False: 12.5k]
  ------------------
 1742|      0|        {
 1743|      0|            rem.resize(rem_view.size() + 1);
 1744|      0|            rem_view = rem.get_storage_view();
 1745|      0|            n++;
 1746|      0|            quot.resize(quot_view.size() + 1);
 1747|      0|            quot_view = quot.get_storage_view();
 1748|      0|        }
 1749|  12.5k|        word_type d = denom_view[l];
 1750|       |
 1751|  25.0k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1751:32): [True: 12.5k, False: 12.5k]
  ------------------
 1752|  12.5k|        {
 1753|  12.5k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1754|  12.5k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1755|  12.5k|            quot_view[k - l - 1] = q;
 1756|  12.5k|        }
 1757|  12.5k|        quot.reduce();
 1758|  12.5k|        quot.set_negative(quot_neg);
 1759|  12.5k|        if (remDesired)
  ------------------
  |  Branch (1759:13): [True: 12.5k, False: 0]
  ------------------
 1760|  12.5k|        {
 1761|  12.5k|            unnormalize(rem, x, second_done);
 1762|  12.5k|            rem.set_negative(rem_neg);
 1763|  12.5k|        }
 1764|  12.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  669|   129k|        : storage_(other.storage_, alloc)
  670|   129k|    {
  671|   129k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  312|   129k|        : word_allocator_type(alloc)
  313|   129k|    {
  314|   129k|        if (!other.is_allocated())
  ------------------
  |  Branch (314:13): [True: 93.1k, False: 36.1k]
  ------------------
  315|  93.1k|        {
  316|  93.1k|            ::new (&inlined_) inlined_storage(other.inlined_);
  317|  93.1k|        }
  318|  36.1k|        else
  319|  36.1k|        {
  320|  36.1k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  321|  36.1k|        }
  322|   129k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1469|  52.1k|    {
 1470|  52.1k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1470:15): [True: 28.5k, False: 23.5k]
  ------------------
 1471|  52.1k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1634|  66.0k|    {
 1635|  66.0k|        auto this_view = get_storage_view();
 1636|  66.0k|        auto y_view = y.get_storage_view();
 1637|       |
 1638|  66.0k|        const size_type y_size = y_view.size();
 1639|  66.0k|        if ( this_view.size() == 0 && y_size == 0 )
  ------------------
  |  Branch (1639:14): [True: 854, False: 65.1k]
  |  Branch (1639:39): [True: 854, False: 0]
  ------------------
 1640|    854|            return 0;
 1641|  65.1k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1641:14): [True: 3.90k, False: 61.2k]
  ------------------
 1642|  3.90k|            return y.is_negative() - is_negative();
 1643|  61.2k|        int code = 0;
 1644|  61.2k|        if ( this_view.size() < y_size)
  ------------------
  |  Branch (1644:14): [True: 0, False: 61.2k]
  ------------------
 1645|      0|            code = -1;
 1646|  61.2k|        else if ( this_view.size() > y_size)
  ------------------
  |  Branch (1646:19): [True: 21.6k, False: 39.6k]
  ------------------
 1647|  21.6k|            code = +1;
 1648|  39.6k|        else
 1649|  39.6k|        {
 1650|  43.3k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1650:50): [True: 39.6k, False: 3.75k]
  ------------------
 1651|  39.6k|            {
 1652|  39.6k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1652:21): [True: 7.31k, False: 32.3k]
  ------------------
 1653|  7.31k|                {
 1654|  7.31k|                    code = 1;
 1655|  7.31k|                    break;
 1656|  7.31k|                }
 1657|  32.3k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1657:26): [True: 28.5k, False: 3.75k]
  ------------------
 1658|  28.5k|                {
 1659|  28.5k|                    code = -1;
 1660|  28.5k|                    break;
 1661|  28.5k|                }
 1662|  39.6k|            }
 1663|  39.6k|        }
 1664|  61.2k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1664:16): [True: 0, False: 61.2k]
  ------------------
 1665|  65.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  835|  91.7k|    {
  836|  91.7k|        storage_ = y.storage_;
  837|  91.7k|        return *this;
  838|  91.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  359|  91.7k|    {
  360|  91.7k|        if (this != &other)
  ------------------
  |  Branch (360:13): [True: 91.7k, False: 0]
  ------------------
  361|  91.7k|        {
  362|  91.7k|            auto other_view = other.get_storage_view();
  363|  91.7k|            resize(other_view.size());
  364|  91.7k|            auto this_view = get_storage_view();
  365|  91.7k|            if (other_view.size() > 0)
  ------------------
  |  Branch (365:17): [True: 59.4k, False: 32.3k]
  ------------------
  366|  59.4k|            {
  367|  59.4k|                common_.is_negative_ = other.common_.is_negative_;
  368|  59.4k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  369|  59.4k|            }
  370|  91.7k|        }
  371|  91.7k|        return *this;
  372|  91.7k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  520|   255k|    {
  521|   255k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (521:16): [True: 60.3k, False: 194k]
  ------------------
  522|  60.3k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  523|   255k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  524|   255k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   64|   255k|            : data_(data), size_(size)
   65|   255k|        {
   66|   255k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   79|  59.4k|        {
   80|  59.4k|            return data_;
   81|  59.4k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  716|   163k|    {
  717|   163k|        return storage_.get_storage_view();
  718|   163k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   84|   544k|        {
   85|   544k|            return size_;
   86|   544k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   69|   147k|        {
   70|   147k|            return data_[i];
   71|   147k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1865|  12.5k|    {
 1866|  12.5k|        auto denom_view = denom.get_storage_view();
 1867|  12.5k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1867:13): [True: 0, False: 12.5k]
  ------------------
 1868|      0|        {
 1869|      0|            return false;
 1870|      0|        }
 1871|  12.5k|        size_type r = denom_view.size() - 1;
 1872|  12.5k|        word_type y = denom_view[r];
 1873|       |
 1874|  12.5k|        x = 0;
 1875|  12.5k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1875:17): [True: 0, False: 12.5k]
  ------------------
 1876|      0|        {
 1877|      0|            y <<= 1;
 1878|      0|            x++;
 1879|      0|        }
 1880|  12.5k|        denom <<= x;
 1881|  12.5k|        num <<= x;
 1882|       |
 1883|  12.5k|        denom_view = denom.get_storage_view();
 1884|  12.5k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1884:14): [True: 0, False: 12.5k]
  |  Branch (1884:23): [True: 0, False: 0]
  ------------------
 1885|      0|        {
 1886|      0|            denom *= max_word;
 1887|      0|            num *= max_word;
 1888|      0|            return true;
 1889|      0|        }
 1890|  12.5k|        return false;
 1891|  12.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1110|  25.0k|    {
 1111|  25.0k|        auto this_view = get_storage_view();
 1112|  25.0k|        size_type q = k / word_type_bits;
 1113|  25.0k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1113:14): [True: 0, False: 25.0k]
  ------------------
 1114|      0|        {
 1115|      0|            resize(this_view.size() + q);
 1116|      0|            this_view = get_storage_view();
 1117|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1117:50): [True: 0, False: 0]
  ------------------
 1118|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1118:34): [True: 0, False: 0]
  ------------------
 1119|      0|            k %= word_type_bits;
 1120|      0|        }
 1121|  25.0k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1121:14): [True: 0, False: 25.0k]
  ------------------
 1122|      0|        {
 1123|      0|            size_type k1 = word_type_bits - k;
 1124|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1125|      0|            resize( this_view.size() + 1 );
 1126|      0|            this_view = get_storage_view();
 1127|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1127:50): [True: 0, False: 0]
  ------------------
 1128|      0|            {
 1129|      0|                this_view[i] <<= k;
 1130|      0|                if ( i > 0 )
  ------------------
  |  Branch (1130:22): [True: 0, False: 0]
  ------------------
 1131|      0|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1132|      0|            }
 1133|      0|        }
 1134|  25.0k|        reduce();
 1135|  25.0k|        return *this;
 1136|  25.0k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1792|  12.5k|    {
 1793|  12.5k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1794|  12.5k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1795|  12.5k|        qHi = A/(dHi + 1);
 1796|       |        // This initial guess of qHi may be too small.
 1797|  12.5k|        middle = qHi * dLo;
 1798|  12.5k|        left = qHi * dHi;
 1799|  12.5k|        x = B - (middle << word_type_half_bits);
 1800|  12.5k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1801|  12.5k|        B = x;
 1802|  12.5k|        dLo1 = dLo << word_type_half_bits;
 1803|       |        // Increase qHi if necessary:
 1804|  12.5k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1804:17): [True: 0, False: 12.5k]
  |  Branch (1804:29): [True: 0, False: 12.5k]
  |  Branch (1804:41): [True: 0, False: 0]
  ------------------
 1805|      0|        {
 1806|      0|            x = B - dLo1;
 1807|      0|            A -= dHi + (x > B);
 1808|      0|            B = x;
 1809|      0|            qHi++;
 1810|      0|        }
 1811|  12.5k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1812|       |        // This initial guess of qLo may be too small.
 1813|  12.5k|        right = qLo * dLo;
 1814|  12.5k|        middle = qLo * dHi;
 1815|  12.5k|        x = B - right;
 1816|  12.5k|        A -= (x > B);
 1817|  12.5k|        B = x;
 1818|  12.5k|        x = B - (middle << word_type_half_bits);
 1819|  12.5k|            A -= (middle >> word_type_half_bits) + (x > B);
 1820|  12.5k|        B = x;
 1821|       |        // Increase qLo if necessary:
 1822|  14.8k|        while ( A || B >= d )
  ------------------
  |  Branch (1822:17): [True: 0, False: 14.8k]
  |  Branch (1822:22): [True: 2.33k, False: 12.5k]
  ------------------
 1823|  2.33k|        {
 1824|  2.33k|            x = B - d;
 1825|  2.33k|            A -= (x > B);
 1826|  2.33k|            B = x;
 1827|  2.33k|            qLo++;
 1828|  2.33k|        }
 1829|  12.5k|        return (qHi << word_type_half_bits) + qLo;
 1830|  12.5k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1834|  12.5k|    {
 1835|  12.5k|        word_type hi, lo, d, carry = 0;
 1836|  12.5k|        size_type i;
 1837|  25.0k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1837:22): [True: 12.5k, False: 12.5k]
  ------------------
 1838|  12.5k|        {
 1839|  12.5k|            DDproduct( b[i], q, hi, lo );
 1840|  12.5k|            d = a[i];
 1841|  12.5k|            a[i] -= lo;
 1842|  12.5k|            if ( a[i] > d )
  ------------------
  |  Branch (1842:18): [True: 6.39k, False: 6.13k]
  ------------------
 1843|  6.39k|                carry++;
 1844|  12.5k|            d = a[i + 1];
 1845|  12.5k|            a[i + 1] -= hi + carry;
 1846|  12.5k|            carry = a[i + 1] > d;
 1847|  12.5k|        }
 1848|  12.5k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1848:14): [True: 0, False: 12.5k]
  ------------------
 1849|      0|        {
 1850|      0|            q--;
 1851|      0|            carry = 0;
 1852|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1852:26): [True: 0, False: 0]
  ------------------
 1853|      0|            {
 1854|      0|                d = a[i] + carry;
 1855|      0|                carry = d < carry;
 1856|      0|                a[i] = d + b[i];
 1857|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1857:22): [True: 0, False: 0]
  ------------------
 1858|      0|                    carry = 1;
 1859|      0|            }
 1860|      0|            a[n] = 0;
 1861|      0|        }
 1862|  12.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   79|  84.5k|        {
   80|  84.5k|            return data_;
   81|  84.5k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1894|  12.5k|    {
 1895|  12.5k|        if (secondDone)
  ------------------
  |  Branch (1895:13): [True: 0, False: 12.5k]
  ------------------
 1896|      0|        {
 1897|      0|            rem /= max_word;
 1898|      0|        }
 1899|  12.5k|        if ( x > 0 )
  ------------------
  |  Branch (1899:14): [True: 0, False: 12.5k]
  ------------------
 1900|      0|        {
 1901|      0|            rem >>= x;
 1902|      0|        }
 1903|  12.5k|        else
 1904|  12.5k|        {
 1905|  12.5k|            rem.reduce();
 1906|  12.5k|        }
 1907|  12.5k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  701|   318k|    {
  702|   318k|        storage_.destroy();
  703|   318k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  480|   318k|    {
  481|   318k|        if (is_allocated())
  ------------------
  |  Branch (481:13): [True: 60.3k, False: 258k]
  ------------------
  482|  60.3k|        {
  483|  60.3k|            allocated_.destroy(get_allocator());
  484|  60.3k|            allocated_.~allocated_storage();
  485|  60.3k|        }
  486|   258k|        else
  487|   258k|        {
  488|   258k|            inlined_.~inlined_storage();
  489|   258k|        }
  490|   318k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  246|  60.3k|        {
  247|  60.3k|            if (data_ != nullptr)
  ------------------
  |  Branch (247:17): [True: 60.3k, False: 0]
  ------------------
  248|  60.3k|            {
  249|  60.3k|                real_allocator_type alloc(a);
  250|  60.3k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  251|  60.3k|            }
  252|  60.3k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  686|  27.7k|        : storage_(n, alloc)
  687|  27.7k|    {
  688|  27.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  353|  27.7k|        : word_allocator_type(alloc)
  354|  27.7k|    {
  355|  27.7k|        ::new (&inlined_) inlined_storage(n);
  356|  27.7k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  125|  27.7k|            : is_allocated_(false),
  126|  27.7k|            is_negative_(n < 0),
  127|  27.7k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (127:19): [True: 14.7k, False: 13.0k]
  ------------------
  128|  27.7k|        {
  129|  27.7k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (129:26): [True: 3.90k, False: 23.8k]
  ------------------
  130|  27.7k|            values_[1] = 0;
  131|  27.7k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1474|  13.8k|    {
 1475|  13.8k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1475:15): [True: 3.90k, False: 9.95k]
  ------------------
 1476|  13.8k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  686|  3.90k|        : storage_(n, alloc)
  687|  3.90k|    {
  688|  3.90k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  353|  3.90k|        : word_allocator_type(alloc)
  354|  3.90k|    {
  355|  3.90k|        ::new (&inlined_) inlined_storage(n);
  356|  3.90k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  138|  3.90k|            : is_allocated_(false),
  139|  3.90k|            is_negative_(false),
  140|  3.90k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (140:19): [True: 352, False: 3.55k]
  ------------------
  141|  3.90k|        {
  142|  3.90k|            values_[0] = n;
  143|  3.90k|            values_[1] = 0;
  144|  3.90k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  947|  3.90k|    {
  948|  3.90k|        auto y_view = y.get_storage_view();
  949|       |
  950|  3.90k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (950:14): [True: 3.90k, False: 0]
  ------------------
  951|  3.90k|            return *this += -y;
  952|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (952:15): [True: 0, False: 0]
  |  Branch (952:33): [True: 0, False: 0]
  |  Branch (952:48): [True: 0, False: 0]
  |  Branch (952:65): [True: 0, False: 0]
  ------------------
  953|      0|            return *this = -(y - *this);
  954|      0|        word_type borrow = 0;
  955|      0|        word_type d;
  956|      0|        auto this_view = get_storage_view();
  957|      0|        const size_type this_size = this_view.size();
  958|      0|        const size_type y_size = y_view.size();
  959|       |
  960|      0|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (960:31): [True: 0, False: 0]
  ------------------
  961|      0|        {
  962|      0|            d = this_view[i] - borrow;
  963|      0|            borrow = d > this_view[i];
  964|      0|            this_view[i] = d - y_view[i];
  965|      0|            if ( this_view[i] > d )
  ------------------
  |  Branch (965:18): [True: 0, False: 0]
  ------------------
  966|      0|                borrow = 1;
  967|      0|        }
  968|      0|        for (size_type i = y_size; i < this_size && borrow != 0; i++ )
  ------------------
  |  Branch (968:36): [True: 0, False: 0]
  |  Branch (968:53): [True: 0, False: 0]
  ------------------
  969|      0|        {
  970|      0|            d = this_view[i] - borrow;
  971|      0|            borrow = d > this_view[i];
  972|      0|            this_view[i] = d;
  973|      0|        }
  974|      0|        reduce();
  975|      0|        return *this;
  976|      0|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  913|  3.90k|    {
  914|  3.90k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (914:14): [True: 0, False: 3.90k]
  ------------------
  915|      0|            return *this -= -y;
  916|       |
  917|  3.90k|        auto y_view = y.get_storage_view();
  918|       |        
  919|  3.90k|        word_type d;
  920|  3.90k|        word_type carry = 0;
  921|       |
  922|  3.90k|        auto this_view = get_storage_view();
  923|  3.90k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  924|  3.90k|        this_view = get_storage_view();
  925|       |
  926|  3.90k|        const size_t this_size = this_view.size();
  927|  3.90k|        const size_t y_size = y_view.size();
  928|  7.45k|        for (size_type i = 0; i < y_size; i++ )
  ------------------
  |  Branch (928:31): [True: 3.55k, False: 3.90k]
  ------------------
  929|  3.55k|        {
  930|  3.55k|            d = this_view[i] + carry;
  931|  3.55k|            carry = d < carry;
  932|  3.55k|            this_view[i] = d + y_view[i];
  933|  3.55k|            if (this_view[i] < d)
  ------------------
  |  Branch (933:17): [True: 471, False: 3.07k]
  ------------------
  934|    471|                carry = 1;
  935|  3.55k|        }
  936|  4.37k|        for (size_type i = y_size; i < this_size && carry != 0; i++ )
  ------------------
  |  Branch (936:36): [True: 3.92k, False: 445]
  |  Branch (936:53): [True: 471, False: 3.45k]
  ------------------
  937|    471|        {
  938|    471|            d = this_view[i] + carry;
  939|    471|            carry = d < carry;
  940|    471|            this_view[i] = d;
  941|    471|        }
  942|  3.90k|        reduce();
  943|  3.90k|        return *this;
  944|  3.90k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLIjEENS1_9enable_ifIXaasr10ext_traits19is_unsigned_integerIT_EE5valuelestS7_Lm8EERS4_E4typeES7_:
  882|  9.95k|    {
  883|  9.95k|        if ( is_negative())
  ------------------
  |  Branch (883:14): [True: 0, False: 9.95k]
  ------------------
  884|      0|            return *this -= -basic_bigint<Allocator>(y);
  885|       |
  886|  9.95k|        word_type d;
  887|  9.95k|        word_type carry = 0;
  888|       |
  889|  9.95k|        auto this_view = get_storage_view();
  890|  9.95k|        resize(this_view.size() + 1);
  891|       |
  892|  9.95k|        this_view = get_storage_view();
  893|  9.95k|        const size_type this_size = this_view.size();
  894|  9.95k|        size_type y_size = 1;
  895|       |
  896|  9.95k|        d = this_view[0] + carry;
  897|  9.95k|        carry = d < carry;
  898|  9.95k|        this_view[0] = d + y;
  899|  9.95k|        if (this_view[0] < d)
  ------------------
  |  Branch (899:13): [True: 5.23k, False: 4.72k]
  ------------------
  900|  5.23k|            carry = 1;
  901|       |
  902|  15.1k|        for (size_type i = y_size; i < this_size && carry != 0; ++i)
  ------------------
  |  Branch (902:36): [True: 14.3k, False: 874]
  |  Branch (902:53): [True: 5.23k, False: 9.08k]
  ------------------
  903|  5.23k|        {
  904|  5.23k|            d = this_view[i] + carry;
  905|  5.23k|            carry = d < carry;
  906|  5.23k|            this_view[i] = d;
  907|  5.23k|        }
  908|  9.95k|        reduce();
  909|  9.95k|        return *this;
  910|  9.95k|    }

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

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  10.3k|    {       
  242|  10.3k|        return (ptr);
  243|  10.3k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|   215k|    {       
  242|   215k|        return (ptr);
  243|   215k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  9.16M|    {       
  242|  9.16M|        return (ptr);
  243|  9.16M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  6.84M|    {       
  242|  6.84M|        return (ptr);
  243|  6.84M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   226k|    {       
  242|   226k|        return (ptr);
  243|   226k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|  48.2k|    {       
  242|  48.2k|        return (ptr);
  243|  48.2k|    }  

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

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1136|  1.45M|    {
 1137|  1.45M|        conv_errc  result = conv_errc();
 1138|  1.45M|        const CharT* last = data + length;
 1139|  3.93M|        while (data != last) 
  ------------------
  |  Branch (1139:16): [True: 2.47M, False: 1.45M]
  ------------------
 1140|  2.47M|        {
 1141|  2.47M|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1142|  2.47M|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1142:17): [True: 6, False: 2.47M]
  ------------------
 1143|      6|            {
 1144|      6|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1145|      6|            }
 1146|  2.47M|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1146:17): [True: 107, False: 2.47M]
  ------------------
 1147|    107|            {
 1148|    107|                return convert_result<CharT>{data,result} ;
 1149|    107|            }
 1150|  2.47M|            data += len;
 1151|  2.47M|        }
 1152|  1.45M|        return convert_result<CharT>{data,result} ;
 1153|  1.45M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  305|  2.47M|    {
  306|  2.47M|        uint8_t a;
  307|  2.47M|        const CharT* srcptr = first+length;
  308|  2.47M|        switch (length) {
  309|      9|        default:
  ------------------
  |  Branch (309:9): [True: 9, False: 2.47M]
  ------------------
  310|      9|            return conv_errc::over_long_utf8_sequence;
  311|    594|        case 4:
  ------------------
  |  Branch (311:9): [True: 594, False: 2.47M]
  ------------------
  312|    594|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (312:17): [True: 8, False: 586]
  ------------------
  313|      8|                return conv_errc::expected_continuation_byte;
  314|    586|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    586|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  315|  1.40k|        case 3:
  ------------------
  |  Branch (315:9): [True: 816, False: 2.47M]
  ------------------
  316|  1.40k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (316:17): [True: 7, False: 1.39k]
  ------------------
  317|      7|                return conv_errc::expected_continuation_byte;
  318|  1.39k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.39k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  319|  1.84k|        case 2:
  ------------------
  |  Branch (319:9): [True: 449, False: 2.47M]
  ------------------
  320|  1.84k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (320:17): [True: 31, False: 1.81k]
  ------------------
  321|     31|                return conv_errc::expected_continuation_byte;
  322|       |
  323|  1.81k|            switch (static_cast<uint8_t>(*first)) 
  324|  1.81k|            {
  325|       |                // no fall-through in this inner switch
  326|    419|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (326:17): [True: 419, False: 1.39k]
  |  Branch (326:32): [True: 7, False: 412]
  ------------------
  327|    412|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (327:17): [True: 258, False: 1.55k]
  |  Branch (327:32): [True: 4, False: 254]
  ------------------
  328|    288|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (328:17): [True: 288, False: 1.52k]
  |  Branch (328:32): [True: 5, False: 283]
  ------------------
  329|    283|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (329:17): [True: 217, False: 1.59k]
  |  Branch (329:32): [True: 5, False: 212]
  ------------------
  330|    631|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (330:17): [True: 631, False: 1.18k]
  |  Branch (330:32): [True: 0, False: 631]
  ------------------
  331|  1.81k|            }
  332|       |
  333|  1.79k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.79k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  334|  2.47M|        case 1:
  ------------------
  |  Branch (334:9): [True: 2.47M, False: 1.86k]
  ------------------
  335|  2.47M|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (335:17): [True: 1.82k, False: 2.47M]
  |  Branch (335:57): [True: 30, False: 1.79k]
  ------------------
  336|     30|                return conv_errc::source_illegal;
  337|  2.47M|            break;
  338|  2.47M|        }
  339|  2.47M|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (339:13): [True: 1, False: 2.47M]
  ------------------
  340|      1|            return conv_errc::source_illegal;
  341|       |
  342|  2.47M|        return conv_errc();
  343|  2.47M|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  15.5M|{
   43|  15.5M|    using char_type = typename Result::value_type;
   44|       |
   45|  15.5M|    char_type buf[255];
   46|  15.5M|    char_type *p = buf;
   47|  15.5M|    const char_type* last = buf+255;
   48|       |
   49|  15.5M|    bool is_negative = value < 0;
   50|       |
   51|  15.5M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 15.5M]
  ------------------
   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|  15.5M|    else
   60|  15.5M|    {
   61|       |
   62|  15.5M|        do
   63|  18.6M|        {
   64|  18.6M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  18.6M|        }
   66|  18.6M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 3.07M, False: 15.5M]
  |  Branch (66:33): [True: 3.07M, False: 0]
  ------------------
   67|  15.5M|    }
   68|  15.5M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  15.5M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 15.5M]
  |  |  ------------------
  |  |   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|  15.5M|    std::size_t count = (p - buf);
   71|  15.5M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 15.5M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  34.2M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 18.6M, False: 15.5M]
  ------------------
   77|  18.6M|    {
   78|  18.6M|        result.push_back(*p);
   79|  18.6M|    }
   80|       |
   81|  15.5M|    return count;
   82|  15.5M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  2.06M|{
   43|  2.06M|    using char_type = typename Result::value_type;
   44|       |
   45|  2.06M|    char_type buf[255];
   46|  2.06M|    char_type *p = buf;
   47|  2.06M|    const char_type* last = buf+255;
   48|       |
   49|  2.06M|    bool is_negative = value < 0;
   50|       |
   51|  2.06M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 2.06M, False: 539]
  ------------------
   52|  2.06M|    {
   53|  2.06M|        do
   54|  4.24M|        {
   55|  4.24M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  4.24M|        }
   57|  4.24M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 2.18M, False: 2.06M]
  |  Branch (57:33): [True: 2.18M, False: 0]
  ------------------
   58|  2.06M|    }
   59|    539|    else
   60|    539|    {
   61|       |
   62|    539|        do
   63|  3.80k|        {
   64|  3.80k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  3.80k|        }
   66|  3.80k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 3.26k, False: 539]
  |  Branch (66:33): [True: 3.26k, False: 0]
  ------------------
   67|    539|    }
   68|  2.06M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  2.06M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.06M]
  |  |  ------------------
  |  |   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|  2.06M|    std::size_t count = (p - buf);
   71|  2.06M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 2.06M, False: 539]
  ------------------
   72|  2.06M|    {
   73|  2.06M|        result.push_back('-');
   74|  2.06M|        ++count;
   75|  2.06M|    }
   76|  6.32M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 4.25M, False: 2.06M]
  ------------------
   77|  4.25M|    {
   78|  4.25M|        result.push_back(*p);
   79|  4.25M|    }
   80|       |
   81|  2.06M|    return count;
   82|  2.06M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  62.1k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  62.1k|    {
  489|  62.1k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  62.1k|        struct lconv *lc = localeconv();
  491|  62.1k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 62.1k, False: 0]
  |  Branch (491:30): [True: 62.1k, False: 0]
  ------------------
  492|  62.1k|        {
  493|  62.1k|            decimal_point_ = lc->decimal_point[0];
  494|  62.1k|        }
  495|  62.1k|#endif
  496|  62.1k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  62.1k|    {
  504|  62.1k|        std::size_t count = 0;
  505|       |
  506|  62.1k|        char number_buffer[200];
  507|  62.1k|        int length = 0;
  508|       |
  509|  62.1k|        switch (float_format_)
  510|  62.1k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 62.1k]
  ------------------
  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: 62.1k]
  ------------------
  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|  62.1k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 62.1k, False: 0]
  ------------------
  552|  62.1k|            {
  553|  62.1k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 62.1k]
  ------------------
  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|  62.1k|                else
  563|  62.1k|                {
  564|  62.1k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 62.1k]
  ------------------
  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|  62.1k|                }             
  569|  62.1k|                break;
  570|  62.1k|            }
  571|  62.1k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 62.1k]
  ------------------
  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|  62.1k|        }
  575|  62.1k|        return count;
  576|  62.1k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  3.80k|{
  244|  3.80k|    const char *sbeg = buffer;
  245|  3.80k|    const char *send = sbeg + length;
  246|       |
  247|  3.80k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 3.80k, False: 0]
  ------------------
  248|  3.80k|    {
  249|  3.80k|        bool needs_dot = true;
  250|  66.2k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 62.4k, False: 3.80k]
  ------------------
  251|  62.4k|        {
  252|  62.4k|            switch (*q)
  253|  62.4k|            {
  254|  1.86k|            case '-':
  ------------------
  |  Branch (254:13): [True: 1.86k, False: 60.5k]
  ------------------
  255|  4.33k|            case '0':
  ------------------
  |  Branch (255:13): [True: 2.47k, False: 59.9k]
  ------------------
  256|  11.1k|            case '1':
  ------------------
  |  Branch (256:13): [True: 6.85k, False: 55.5k]
  ------------------
  257|  15.6k|            case '2':
  ------------------
  |  Branch (257:13): [True: 4.41k, False: 58.0k]
  ------------------
  258|  19.1k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.52k, False: 58.9k]
  ------------------
  259|  24.0k|            case '4':
  ------------------
  |  Branch (259:13): [True: 4.89k, False: 57.5k]
  ------------------
  260|  33.7k|            case '5':
  ------------------
  |  Branch (260:13): [True: 9.75k, False: 52.7k]
  ------------------
  261|  37.6k|            case '6':
  ------------------
  |  Branch (261:13): [True: 3.84k, False: 58.6k]
  ------------------
  262|  43.0k|            case '7':
  ------------------
  |  Branch (262:13): [True: 5.40k, False: 57.0k]
  ------------------
  263|  47.9k|            case '8':
  ------------------
  |  Branch (263:13): [True: 4.92k, False: 57.5k]
  ------------------
  264|  51.8k|            case '9':
  ------------------
  |  Branch (264:13): [True: 3.91k, False: 58.5k]
  ------------------
  265|  54.1k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.29k, False: 60.1k]
  ------------------
  266|  54.1k|                result.push_back(*q);
  267|  54.1k|                break;
  268|  2.56k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.56k, False: 59.8k]
  ------------------
  269|  2.56k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 62.4k]
  ------------------
  270|  2.56k|                result.push_back('e');
  271|  2.56k|                needs_dot = false;
  272|  2.56k|                break;
  273|  5.72k|            default:
  ------------------
  |  Branch (273:13): [True: 5.72k, False: 56.7k]
  ------------------
  274|  5.72k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 2.69k, False: 3.02k]
  ------------------
  275|  2.69k|                {
  276|  2.69k|                    needs_dot = false;
  277|  2.69k|                    result.push_back('.');
  278|  2.69k|                }
  279|  5.72k|                break;
  280|  62.4k|            }
  281|  62.4k|        }
  282|  3.80k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.10k, False: 2.69k]
  ------------------
  283|  1.10k|        {
  284|  1.10k|            result.push_back('.');
  285|  1.10k|            result.push_back('0');
  286|  1.10k|        }
  287|  3.80k|    }
  288|  3.80k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmiiiRT_:
  171|  56.0k|{
  172|  56.0k|    int nb_digits = (int)length;
  173|  56.0k|    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|  56.0k|    int kk = nb_digits + k;
  179|       |
  180|  56.0k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 40.5k, False: 15.5k]
  |  Branch (180:28): [True: 33.9k, False: 6.55k]
  ------------------
  181|  33.9k|    {
  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|   277k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 243k, False: 33.9k]
  ------------------
  186|   243k|        {
  187|   243k|            result.push_back(buffer[i]);
  188|   243k|        }
  189|  35.5k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 1.56k, False: 33.9k]
  ------------------
  190|  1.56k|        {
  191|  1.56k|            result.push_back('0');
  192|  1.56k|        }
  193|  33.9k|        result.push_back('.');
  194|  33.9k|        result.push_back('0');
  195|  33.9k|    } 
  196|  22.1k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 11.5k, False: 10.5k]
  |  Branch (196:24): [True: 4.95k, False: 6.55k]
  ------------------
  197|  4.95k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  20.2k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 15.2k, False: 4.95k]
  ------------------
  200|  15.2k|        {
  201|  15.2k|            result.push_back(buffer[i]);
  202|  15.2k|        }
  203|  4.95k|        result.push_back('.');
  204|  61.0k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 56.0k, False: 4.95k]
  ------------------
  205|  56.0k|        {
  206|  56.0k|            result.push_back(buffer[i]);
  207|  56.0k|        }
  208|  4.95k|    } 
  209|  17.1k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 7.32k, False: 9.83k]
  |  Branch (209:30): [True: 769, False: 6.55k]
  ------------------
  210|    769|    {
  211|    769|        offset = 2 - kk;
  212|       |
  213|    769|        result.push_back('0');
  214|    769|        result.push_back('.');
  215|  1.85k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.08k, False: 769]
  ------------------
  216|  1.08k|            result.push_back('0');
  217|  9.71k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 8.94k, False: 769]
  ------------------
  218|  8.94k|        {
  219|  8.94k|            result.push_back(buffer[i]);
  220|  8.94k|        }
  221|    769|    } 
  222|  16.3k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 1.17k, False: 15.2k]
  ------------------
  223|  1.17k|    {
  224|  1.17k|        result.push_back(buffer[0]);
  225|  1.17k|        result.push_back('e');
  226|  1.17k|        fill_exponent(kk - 1, result);
  227|  1.17k|    } 
  228|  15.2k|    else
  229|  15.2k|    {
  230|  15.2k|        result.push_back(buffer[0]);
  231|  15.2k|        result.push_back('.');
  232|   238k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 223k, False: 15.2k]
  ------------------
  233|   223k|        {
  234|   223k|            result.push_back(buffer[i]);
  235|   223k|        }
  236|  15.2k|        result.push_back('e');
  237|  15.2k|        fill_exponent(kk - 1, result);
  238|  15.2k|    }
  239|  56.0k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  16.3k|{
  137|  16.3k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 9.83k, False: 6.55k]
  ------------------
  138|  9.83k|    {
  139|  9.83k|        result.push_back('-');
  140|  9.83k|        K = -K;
  141|  9.83k|    }
  142|  6.55k|    else
  143|  6.55k|    {
  144|  6.55k|        result.push_back('+'); // compatibility with sprintf
  145|  6.55k|    }
  146|       |
  147|  16.3k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 1.40k, False: 14.9k]
  ------------------
  148|  1.40k|    {
  149|  1.40k|        result.push_back('0'); // compatibility with sprintf
  150|  1.40k|        result.push_back((char)('0' + K));
  151|  1.40k|    }
  152|  14.9k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 9.98k, False: 4.99k]
  ------------------
  153|  9.98k|    {
  154|  9.98k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  9.98k|        result.push_back((char)('0' + K));
  156|  9.98k|    }
  157|  4.99k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 4.99k, False: 0]
  ------------------
  158|  4.99k|    {
  159|  4.99k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  4.99k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  4.99k|        result.push_back((char)('0' + K));
  162|  4.99k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  16.3k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  62.1k|{
  476|  62.1k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  62.1k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  62.1k|{
  367|  62.1k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 2.28k, False: 59.8k]
  ------------------
  368|  2.28k|    {
  369|  2.28k|        result.push_back('0');
  370|  2.28k|        result.push_back('.');
  371|  2.28k|        result.push_back('0');
  372|  2.28k|        return true;
  373|  2.28k|    }
  374|       |
  375|  59.8k|    int length = 0;
  376|  59.8k|    int k;
  377|       |
  378|  59.8k|    char buffer[100];
  379|       |
  380|  59.8k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 50.7k, False: 9.08k]
  ------------------
  381|  59.8k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 56.0k, False: 3.80k]
  ------------------
  382|  56.0k|    {
  383|  56.0k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 49.2k, False: 6.86k]
  ------------------
  384|  49.2k|        {
  385|  49.2k|            result.push_back('-');
  386|  49.2k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  56.0k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  56.0k|        return true;
  391|  56.0k|    }
  392|  3.80k|    else
  393|  3.80k|    {
  394|  3.80k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  3.80k|    }
  396|  59.8k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  3.80k|{
  330|  3.80k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 3.80k]
  ------------------
  331|      0|    {
  332|      0|        result.push_back('0');
  333|      0|        result.push_back('.');
  334|      0|        result.push_back('0');
  335|      0|        return true;
  336|      0|    }
  337|       |
  338|  3.80k|    char buffer[100];
  339|  3.80k|    int precision = std::numeric_limits<double>::digits10;
  340|  3.80k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  3.80k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 3.80k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  3.80k|    double x{0};
  346|  3.80k|    auto res = decstr_to_double(buffer, length, x);
  347|  3.80k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 3.80k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  3.80k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 2.61k, False: 1.19k]
  ------------------
  352|  2.61k|    {
  353|  2.61k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  2.61k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  2.61k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 2.61k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  2.61k|    }
  360|  3.80k|    dump_buffer(buffer, length, decimal_point, result);
  361|  3.80k|    return true;
  362|  3.80k|}

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

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

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

_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEEC2IRNS3_13basic_istreamIcNS3_11char_traitsIcEEEEEEOT_RKNS0_22msgpack_decode_optionsERKS7_:
   86|  6.83k|       : source_(std::forward<Sourceable>(source)),
   87|  6.83k|         max_nesting_depth_(options.max_nesting_depth()),
   88|  6.83k|         text_buffer_(alloc),
   89|  6.83k|         bytes_buffer_(alloc),
   90|  6.83k|         state_stack_(alloc)
   91|  6.83k|    {
   92|  6.83k|        state_stack_.emplace_back(parse_mode::root,0);
   93|  6.83k|    }
_ZN8jsoncons7msgpack11parse_stateC2ENS0_10parse_modeEm:
   46|  10.3M|        : mode(mode), length(length)
   47|  10.3M|    {
   48|  10.3M|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE4lineEv:
  149|  4.42k|    {
  150|  4.42k|        return 0;
  151|  4.42k|    }
_ZNK8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE6columnEv:
  154|  4.42k|    {
  155|  4.42k|        return source_.position();
  156|  4.42k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5resetEv:
  101|  6.83k|    {
  102|  6.83k|        more_ = true;
  103|  6.83k|        done_ = false;
  104|  6.83k|        text_buffer_.clear();
  105|  6.83k|        bytes_buffer_.clear();
  106|  6.83k|        state_stack_.clear();
  107|  6.83k|        state_stack_.emplace_back(parse_mode::root,0);
  108|  6.83k|        nesting_depth_ = 0;
  109|  6.83k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE5parseERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  159|  6.83k|    {
  160|  87.3M|        while (!done_ && more_)
  ------------------
  |  Branch (160:16): [True: 87.3M, False: 2.40k]
  |  Branch (160:26): [True: 87.3M, False: 0]
  ------------------
  161|  87.3M|        {
  162|  87.3M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (162:21): [True: 87.3M, False: 0]
  ------------------
  163|  87.3M|            {
  164|  62.9M|                case parse_mode::array:
  ------------------
  |  Branch (164:17): [True: 62.9M, False: 24.3M]
  ------------------
  165|  62.9M|                {
  166|  62.9M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (166:25): [True: 56.6M, False: 6.29M]
  ------------------
  167|  56.6M|                    {
  168|  56.6M|                        ++state_stack_.back().index;
  169|  56.6M|                        read_item(visitor, ec);
  170|  56.6M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  56.6M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.26k, False: 56.6M]
  |  |  ------------------
  ------------------
  171|  1.26k|                        {
  172|  1.26k|                            return;
  173|  1.26k|                        }
  174|  56.6M|                    }
  175|  6.29M|                    else
  176|  6.29M|                    {
  177|  6.29M|                        end_array(visitor, ec);
  178|  6.29M|                    }
  179|  62.9M|                    break;
  180|  62.9M|                }
  181|  62.9M|                case parse_mode::map_key:
  ------------------
  |  Branch (181:17): [True: 14.1M, False: 73.1M]
  ------------------
  182|  14.1M|                {
  183|  14.1M|                    if (state_stack_.back().index < state_stack_.back().length)
  ------------------
  |  Branch (183:25): [True: 10.2M, False: 3.94M]
  ------------------
  184|  10.2M|                    {
  185|  10.2M|                        ++state_stack_.back().index;
  186|  10.2M|                        state_stack_.back().mode = parse_mode::map_value;
  187|  10.2M|                        read_item(visitor, ec);
  188|  10.2M|                        if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 805, False: 10.2M]
  |  |  ------------------
  ------------------
  189|    805|                        {
  190|    805|                            return;
  191|    805|                        }
  192|  10.2M|                    }
  193|  3.94M|                    else
  194|  3.94M|                    {
  195|  3.94M|                        end_object(visitor, ec);
  196|  3.94M|                    }
  197|  14.1M|                    break;
  198|  14.1M|                }
  199|  14.1M|                case parse_mode::map_value:
  ------------------
  |  Branch (199:17): [True: 10.2M, False: 77.0M]
  ------------------
  200|  10.2M|                {
  201|  10.2M|                    state_stack_.back().mode = parse_mode::map_key;
  202|  10.2M|                    read_item(visitor, ec);
  203|  10.2M|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  10.2M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1.97k, False: 10.2M]
  |  |  ------------------
  ------------------
  204|  1.97k|                    {
  205|  1.97k|                        return;
  206|  1.97k|                    }
  207|  10.2M|                    break;
  208|  10.2M|                }
  209|  10.2M|                case parse_mode::root:
  ------------------
  |  Branch (209:17): [True: 6.83k, False: 87.2M]
  ------------------
  210|  6.83k|                {
  211|  6.83k|                    state_stack_.back().mode = parse_mode::accept;
  212|  6.83k|                    read_item(visitor, ec);
  213|  6.83k|                    if (JSONCONS_UNLIKELY(ec))
  ------------------
  |  |   78|  6.83k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 370, False: 6.46k]
  |  |  ------------------
  ------------------
  214|    370|                    {
  215|    370|                        return;
  216|    370|                    }
  217|  6.46k|                    break;
  218|  6.83k|                }
  219|  6.46k|                case parse_mode::accept:
  ------------------
  |  Branch (219:17): [True: 2.40k, False: 87.3M]
  ------------------
  220|  2.40k|                {
  221|  2.40k|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |   45|  2.40k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.40k]
  |  |  ------------------
  |  |   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.40k|                    state_stack_.clear();
  223|  2.40k|                    more_ = false;
  224|  2.40k|                    done_ = true;
  225|  2.40k|                    visitor.flush();
  226|  2.40k|                    break;
  227|  2.40k|                }
  228|  87.3M|            }
  229|  87.3M|        }
  230|  6.83k|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9read_itemERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  234|  77.0M|    {
  235|  77.0M|        if (source_.is_error())
  ------------------
  |  Branch (235:13): [True: 0, False: 77.0M]
  ------------------
  236|      0|        {
  237|      0|            ec = msgpack_errc::source_error;
  238|      0|            more_ = false;
  239|      0|            return;
  240|      0|        }   
  241|       |
  242|  77.0M|        uint8_t type;
  243|  77.0M|        if (source_.read(&type, 1) == 0)
  ------------------
  |  Branch (243:13): [True: 3.51k, False: 77.0M]
  ------------------
  244|  3.51k|        {
  245|  3.51k|            ec = msgpack_errc::unexpected_eof;
  246|  3.51k|            more_ = false;
  247|  3.51k|            return;
  248|  3.51k|        }
  249|       |
  250|  77.0M|        if (type <= 0xbf)
  ------------------
  |  Branch (250:13): [True: 45.8M, False: 31.1M]
  ------------------
  251|  45.8M|        {
  252|  45.8M|            if (type <= 0x7f) 
  ------------------
  |  Branch (252:17): [True: 34.1M, False: 11.7M]
  ------------------
  253|  34.1M|            {
  254|       |                // positive fixint
  255|  34.1M|                visitor.uint64_value(type, semantic_tag::none, *this, ec);
  256|  34.1M|                more_ = !cursor_mode_;
  257|  34.1M|            }
  258|  11.7M|            else if (type <= 0x8f) 
  ------------------
  |  Branch (258:22): [True: 3.95M, False: 7.77M]
  ------------------
  259|  3.95M|            {
  260|  3.95M|                begin_object(visitor,type,ec); // fixmap
  261|  3.95M|            }
  262|  7.77M|            else if (type <= 0x9f) 
  ------------------
  |  Branch (262:22): [True: 6.32M, False: 1.45M]
  ------------------
  263|  6.32M|            {
  264|  6.32M|                begin_array(visitor,type,ec); // fixarray
  265|  6.32M|            }
  266|  1.45M|            else 
  267|  1.45M|            {
  268|       |                // fixstr
  269|  1.45M|                const size_t len = type & 0x1f;
  270|       |
  271|  1.45M|                text_buffer_.clear();
  272|       |
  273|  1.45M|                if (source_reader<Source>::read(source_,text_buffer_,len) != static_cast<std::size_t>(len))
  ------------------
  |  Branch (273:21): [True: 59, False: 1.45M]
  ------------------
  274|     59|                {
  275|     59|                    ec = msgpack_errc::unexpected_eof;
  276|     59|                    more_ = false;
  277|     59|                    return;
  278|     59|                }
  279|       |
  280|  1.45M|                auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  281|  1.45M|                if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (281:21): [True: 97, False: 1.45M]
  ------------------
  282|     97|                {
  283|     97|                    ec = msgpack_errc::invalid_utf8_text_string;
  284|     97|                    more_ = false;
  285|     97|                    return;
  286|     97|                }
  287|  1.45M|                visitor.string_value(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), semantic_tag::none, *this, ec);
  288|  1.45M|                more_ = !cursor_mode_;
  289|  1.45M|            }
  290|  45.8M|        }
  291|  31.1M|        else if (type >= 0xe0) 
  ------------------
  |  Branch (291:18): [True: 6.14M, False: 25.0M]
  ------------------
  292|  6.14M|        {
  293|       |            // negative fixint
  294|  6.14M|            visitor.int64_value(static_cast<int8_t>(type), semantic_tag::none, *this, ec);
  295|  6.14M|            more_ = !cursor_mode_;
  296|  6.14M|        }
  297|  25.0M|        else
  298|  25.0M|        {
  299|  25.0M|            switch (type)
  300|  25.0M|            {
  301|  3.20M|                case jsoncons::msgpack::msgpack_type::nil_type: 
  ------------------
  |  Branch (301:17): [True: 3.20M, False: 21.8M]
  ------------------
  302|  3.20M|                {
  303|  3.20M|                    visitor.null_value(semantic_tag::none, *this, ec);
  304|  3.20M|                    more_ = !cursor_mode_;
  305|  3.20M|                    break;
  306|      0|                }
  307|   328k|                case jsoncons::msgpack::msgpack_type::true_type:
  ------------------
  |  Branch (307:17): [True: 328k, False: 24.6M]
  ------------------
  308|   328k|                {
  309|   328k|                    visitor.bool_value(true, semantic_tag::none, *this, ec);
  310|   328k|                    more_ = !cursor_mode_;
  311|   328k|                    break;
  312|      0|                }
  313|  20.7M|                case jsoncons::msgpack::msgpack_type::false_type:
  ------------------
  |  Branch (313:17): [True: 20.7M, False: 4.29M]
  ------------------
  314|  20.7M|                {
  315|  20.7M|                    visitor.bool_value(false, semantic_tag::none, *this, ec);
  316|  20.7M|                    more_ = !cursor_mode_;
  317|  20.7M|                    break;
  318|      0|                }
  319|   234k|                case jsoncons::msgpack::msgpack_type::float32_type: 
  ------------------
  |  Branch (319:17): [True: 234k, False: 24.7M]
  ------------------
  320|   234k|                {
  321|   234k|                    uint8_t buf[sizeof(float)];
  322|   234k|                    if (source_.read(buf, sizeof(float)) != sizeof(float))
  ------------------
  |  Branch (322:25): [True: 33, False: 234k]
  ------------------
  323|     33|                    {
  324|     33|                        ec = msgpack_errc::unexpected_eof;
  325|     33|                        more_ = false;
  326|     33|                        return;
  327|     33|                    }
  328|   234k|                    float val = binary::big_to_native<float>(buf, sizeof(buf));
  329|   234k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  330|   234k|                    more_ = !cursor_mode_;
  331|   234k|                    break;
  332|   234k|                }
  333|       |
  334|  5.86k|                case jsoncons::msgpack::msgpack_type::float64_type: 
  ------------------
  |  Branch (334:17): [True: 5.86k, False: 25.0M]
  ------------------
  335|  5.86k|                {
  336|  5.86k|                    uint8_t buf[sizeof(double)];
  337|  5.86k|                    if (source_.read(buf, sizeof(double)) != sizeof(double))
  ------------------
  |  Branch (337:25): [True: 10, False: 5.85k]
  ------------------
  338|     10|                    {
  339|     10|                        ec = msgpack_errc::unexpected_eof;
  340|     10|                        more_ = false;
  341|     10|                        return;
  342|     10|                    }
  343|  5.85k|                    double val = binary::big_to_native<double>(buf, sizeof(buf));
  344|  5.85k|                    visitor.double_value(val, semantic_tag::none, *this, ec);
  345|  5.85k|                    more_ = !cursor_mode_;
  346|  5.85k|                    break;
  347|  5.86k|                }
  348|       |
  349|  8.59k|                case jsoncons::msgpack::msgpack_type::uint8_type: 
  ------------------
  |  Branch (349:17): [True: 8.59k, False: 25.0M]
  ------------------
  350|  8.59k|                {
  351|  8.59k|                    uint8_t b;
  352|  8.59k|                    if (source_.read(&b, 1) == 0)
  ------------------
  |  Branch (352:25): [True: 2, False: 8.58k]
  ------------------
  353|      2|                    {
  354|      2|                        ec = msgpack_errc::unexpected_eof;
  355|      2|                        more_ = false;
  356|      2|                        return;
  357|      2|                    }
  358|  8.58k|                    visitor.uint64_value(b, semantic_tag::none, *this, ec);
  359|  8.58k|                    more_ = !cursor_mode_;
  360|  8.58k|                    break;
  361|  8.59k|                }
  362|       |
  363|  1.51k|                case jsoncons::msgpack::msgpack_type::uint16_type: 
  ------------------
  |  Branch (363:17): [True: 1.51k, False: 25.0M]
  ------------------
  364|  1.51k|                {
  365|  1.51k|                    uint8_t buf[sizeof(uint16_t)];
  366|  1.51k|                    if (source_.read(buf, sizeof(uint16_t)) !=sizeof(uint16_t)) 
  ------------------
  |  Branch (366:25): [True: 2, False: 1.50k]
  ------------------
  367|      2|                    {
  368|      2|                        ec = msgpack_errc::unexpected_eof;
  369|      2|                        more_ = false;
  370|      2|                        return;
  371|      2|                    }
  372|  1.50k|                    uint16_t val = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  373|  1.50k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  374|  1.50k|                    more_ = !cursor_mode_;
  375|  1.50k|                    break;
  376|  1.51k|                }
  377|       |
  378|  8.23k|                case jsoncons::msgpack::msgpack_type::uint32_type: 
  ------------------
  |  Branch (378:17): [True: 8.23k, False: 25.0M]
  ------------------
  379|  8.23k|                {
  380|  8.23k|                    uint8_t buf[sizeof(uint32_t)];
  381|  8.23k|                    if (source_.read(buf, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (381:25): [True: 5, False: 8.23k]
  ------------------
  382|      5|                    {
  383|      5|                        ec = msgpack_errc::unexpected_eof;
  384|      5|                        more_ = false;
  385|      5|                        return;
  386|      5|                    }
  387|  8.23k|                    uint32_t val = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  388|  8.23k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  389|  8.23k|                    more_ = !cursor_mode_;
  390|  8.23k|                    break;
  391|  8.23k|                }
  392|       |
  393|  5.08k|                case jsoncons::msgpack::msgpack_type::uint64_type: 
  ------------------
  |  Branch (393:17): [True: 5.08k, False: 25.0M]
  ------------------
  394|  5.08k|                {
  395|  5.08k|                    uint8_t buf[sizeof(uint64_t)];
  396|  5.08k|                    if (source_.read(buf, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (396:25): [True: 1, False: 5.07k]
  ------------------
  397|      1|                    {
  398|      1|                        ec = msgpack_errc::unexpected_eof;
  399|      1|                        more_ = false;
  400|      1|                        return;
  401|      1|                    }
  402|  5.07k|                    uint64_t val = binary::big_to_native<uint64_t>(buf, sizeof(buf));
  403|  5.07k|                    visitor.uint64_value(val, semantic_tag::none, *this, ec);
  404|  5.07k|                    more_ = !cursor_mode_;
  405|  5.07k|                    break;
  406|  5.08k|                }
  407|       |
  408|  1.09k|                case jsoncons::msgpack::msgpack_type::int8_type: 
  ------------------
  |  Branch (408:17): [True: 1.09k, False: 25.0M]
  ------------------
  409|  1.09k|                {
  410|  1.09k|                    uint8_t buf[sizeof(int8_t)];
  411|  1.09k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (411:25): [True: 3, False: 1.09k]
  ------------------
  412|      3|                    {
  413|      3|                        ec = msgpack_errc::unexpected_eof;
  414|      3|                        more_ = false;
  415|      3|                        return;
  416|      3|                    }
  417|  1.09k|                    int8_t val = binary::big_to_native<int8_t>(buf, sizeof(buf));
  418|  1.09k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  419|  1.09k|                    more_ = !cursor_mode_;
  420|  1.09k|                    break;
  421|  1.09k|                }
  422|       |
  423|   156k|                case jsoncons::msgpack::msgpack_type::int16_type: 
  ------------------
  |  Branch (423:17): [True: 156k, False: 24.8M]
  ------------------
  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.08k|                case jsoncons::msgpack::msgpack_type::int32_type: 
  ------------------
  |  Branch (438:17): [True: 3.08k, False: 25.0M]
  ------------------
  439|  3.08k|                {
  440|  3.08k|                    uint8_t buf[sizeof(int32_t)];
  441|  3.08k|                    if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (441:25): [True: 5, False: 3.08k]
  ------------------
  442|      5|                    {
  443|      5|                        ec = msgpack_errc::unexpected_eof;
  444|      5|                        more_ = false;
  445|      5|                        return;
  446|      5|                    }
  447|  3.08k|                    int32_t val = binary::big_to_native<int32_t>(buf, sizeof(buf));
  448|  3.08k|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  449|  3.08k|                    more_ = !cursor_mode_;
  450|  3.08k|                    break;
  451|  3.08k|                }
  452|       |
  453|    875|                case jsoncons::msgpack::msgpack_type::int64_type: 
  ------------------
  |  Branch (453:17): [True: 875, False: 25.0M]
  ------------------
  454|    875|                {
  455|    875|                    uint8_t buf[sizeof(int64_t)];
  456|    875|                    if (source_.read(buf, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (456:25): [True: 9, False: 866]
  ------------------
  457|      9|                    {
  458|      9|                        ec = msgpack_errc::unexpected_eof;
  459|      9|                        more_ = false;
  460|      9|                        return;
  461|      9|                    }
  462|    866|                    int64_t val = binary::big_to_native<int64_t>(buf, sizeof(buf));
  463|    866|                    visitor.int64_value(val, semantic_tag::none, *this, ec);
  464|    866|                    more_ = !cursor_mode_;
  465|    866|                    break;
  466|    875|                }
  467|       |
  468|    531|                case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (468:17): [True: 531, False: 25.0M]
  ------------------
  469|  1.94k|                case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (469:17): [True: 1.41k, False: 25.0M]
  ------------------
  470|  2.22k|                case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (470:17): [True: 274, False: 25.0M]
  ------------------
  471|  2.22k|                {
  472|  2.22k|                    std::size_t len = get_size(type, ec);
  473|  2.22k|                    if (!more_)
  ------------------
  |  Branch (473:25): [True: 27, False: 2.19k]
  ------------------
  474|     27|                    {
  475|     27|                        return;
  476|     27|                    }
  477|       |
  478|  2.19k|                    text_buffer_.clear();
  479|  2.19k|                    if (source_reader<Source>::read(source_,text_buffer_,len) != static_cast<std::size_t>(len))
  ------------------
  |  Branch (479:25): [True: 106, False: 2.08k]
  ------------------
  480|    106|                    {
  481|    106|                        ec = msgpack_errc::unexpected_eof;
  482|    106|                        more_ = false;
  483|    106|                        return;
  484|    106|                    }
  485|       |
  486|  2.08k|                    auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  487|  2.08k|                    if (result.ec != unicode_traits::conv_errc())
  ------------------
  |  Branch (487:25): [True: 16, False: 2.07k]
  ------------------
  488|     16|                    {
  489|     16|                        ec = msgpack_errc::invalid_utf8_text_string;
  490|     16|                        more_ = false;
  491|     16|                        return;
  492|     16|                    }
  493|  2.07k|                    visitor.string_value(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), semantic_tag::none, *this, ec);
  494|  2.07k|                    more_ = !cursor_mode_;
  495|  2.07k|                    break;
  496|  2.08k|                }
  497|       |
  498|   164k|                case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (498:17): [True: 164k, False: 24.8M]
  ------------------
  499|   165k|                case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (499:17): [True: 830, False: 25.0M]
  ------------------
  500|   165k|                case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (500:17): [True: 304, False: 25.0M]
  ------------------
  501|   165k|                {
  502|   165k|                    std::size_t len = get_size(type,ec);
  503|   165k|                    if (!more_)
  ------------------
  |  Branch (503:25): [True: 32, False: 165k]
  ------------------
  504|     32|                    {
  505|     32|                        return;
  506|     32|                    }
  507|   165k|                    bytes_buffer_.clear();
  508|   165k|                    if (source_reader<Source>::read(source_,bytes_buffer_,len) != static_cast<std::size_t>(len))
  ------------------
  |  Branch (508:25): [True: 154, False: 165k]
  ------------------
  509|    154|                    {
  510|    154|                        ec = msgpack_errc::unexpected_eof;
  511|    154|                        more_ = false;
  512|    154|                        return;
  513|    154|                    }
  514|       |
  515|   165k|                    visitor.byte_string_value(byte_string_view(bytes_buffer_.data(),bytes_buffer_.size()), 
  516|   165k|                                                      semantic_tag::none, 
  517|   165k|                                                      *this,
  518|   165k|                                                      ec);
  519|   165k|                    more_ = !cursor_mode_;
  520|   165k|                    break;
  521|   165k|                }
  522|  79.5k|                case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (522:17): [True: 79.5k, False: 24.9M]
  ------------------
  523|   103k|                case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (523:17): [True: 23.4k, False: 24.9M]
  ------------------
  524|   104k|                case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (524:17): [True: 1.54k, False: 25.0M]
  ------------------
  525|   122k|                case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (525:17): [True: 17.6k, False: 25.0M]
  ------------------
  526|   125k|                case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (526:17): [True: 3.25k, False: 25.0M]
  ------------------
  527|   146k|                case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (527:17): [True: 20.7k, False: 24.9M]
  ------------------
  528|   147k|                case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (528:17): [True: 1.49k, False: 25.0M]
  ------------------
  529|   147k|                case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (529:17): [True: 287, False: 25.0M]
  ------------------
  530|   147k|                {
  531|   147k|                    std::size_t len = get_size(type,ec);
  532|   147k|                    if (!more_)
  ------------------
  |  Branch (532:25): [True: 30, False: 147k]
  ------------------
  533|     30|                    {
  534|     30|                        return;
  535|     30|                    }
  536|       |
  537|       |                    // type
  538|   147k|                    uint8_t buf[sizeof(int8_t)];
  539|   147k|                    if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (539:25): [True: 42, False: 147k]
  ------------------
  540|     42|                    {
  541|     42|                        ec = msgpack_errc::unexpected_eof;
  542|     42|                        more_ = false;
  543|     42|                        return;
  544|     42|                    }
  545|       |
  546|   147k|                    int8_t ext_type = binary::big_to_native<int8_t>(buf, sizeof(buf));
  547|       |
  548|   147k|                    bool is_timestamp = false; 
  549|   147k|                    if (ext_type == -1)
  ------------------
  |  Branch (549:25): [True: 31.2k, False: 116k]
  ------------------
  550|  31.2k|                    {
  551|  31.2k|                        is_timestamp = true;;
  552|  31.2k|                    }
  553|       |
  554|       |                    // payload
  555|   147k|                    if (is_timestamp && len == 4)
  ------------------
  |  Branch (555:25): [True: 31.2k, False: 116k]
  |  Branch (555:41): [True: 299, False: 30.9k]
  ------------------
  556|    299|                    {
  557|    299|                        uint8_t buf32[sizeof(uint32_t)];
  558|    299|                        if (source_.read(buf32, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (558:29): [True: 4, False: 295]
  ------------------
  559|      4|                        {
  560|      4|                            ec = msgpack_errc::unexpected_eof;
  561|      4|                            more_ = false;
  562|      4|                            return;
  563|      4|                        }
  564|    295|                        uint32_t val = binary::big_to_native<uint32_t>(buf32, sizeof(buf32));
  565|    295|                        visitor.uint64_value(val, semantic_tag::epoch_second, *this, ec);
  566|    295|                        more_ = !cursor_mode_;
  567|    295|                    }
  568|   147k|                    else if (is_timestamp && len == 8)
  ------------------
  |  Branch (568:30): [True: 30.9k, False: 116k]
  |  Branch (568:46): [True: 15.9k, False: 15.0k]
  ------------------
  569|  15.9k|                    {
  570|  15.9k|                        uint8_t buf64[sizeof(uint64_t)];
  571|  15.9k|                        if (source_.read(buf64, sizeof(uint64_t)) != sizeof(uint64_t))
  ------------------
  |  Branch (571:29): [True: 13, False: 15.9k]
  ------------------
  572|     13|                        {
  573|     13|                            ec = msgpack_errc::unexpected_eof;
  574|     13|                            more_ = false;
  575|     13|                            return;
  576|     13|                        }
  577|  15.9k|                        uint64_t data64 = binary::big_to_native<uint64_t>(buf64, sizeof(buf64));
  578|  15.9k|                        uint64_t sec = data64 & 0x00000003ffffffffL;
  579|  15.9k|                        uint64_t nsec = data64 >> 34;
  580|       |
  581|  15.9k|                        bigint nano(sec);
  582|  15.9k|                        nano *= uint64_t(nanos_in_second);
  583|  15.9k|                        nano += nsec;
  584|  15.9k|                        text_buffer_.clear();
  585|  15.9k|                        nano.write_string(text_buffer_);
  586|  15.9k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  587|  15.9k|                        more_ = !cursor_mode_;
  588|  15.9k|                        if (!more_) return;
  ------------------
  |  Branch (588:29): [True: 0, False: 15.9k]
  ------------------
  589|  15.9k|                    }
  590|   131k|                    else if (is_timestamp && len == 12)
  ------------------
  |  Branch (590:30): [True: 15.0k, False: 116k]
  |  Branch (590:46): [True: 13.8k, False: 1.11k]
  ------------------
  591|  13.8k|                    {
  592|  13.8k|                        uint8_t buf1[sizeof(uint32_t)];
  593|  13.8k|                        if (source_.read(buf1, sizeof(uint32_t)) != sizeof(uint32_t))
  ------------------
  |  Branch (593:29): [True: 11, False: 13.8k]
  ------------------
  594|     11|                        {
  595|     11|                            ec = msgpack_errc::unexpected_eof;
  596|     11|                            more_ = false;
  597|     11|                            return;
  598|     11|                        }
  599|  13.8k|                        uint32_t nsec = binary::big_to_native<uint32_t>(buf1, sizeof(buf1));
  600|       |
  601|  13.8k|                        uint8_t buf2[sizeof(int64_t)];
  602|  13.8k|                        if (source_.read(buf2, sizeof(int64_t)) != sizeof(int64_t))
  ------------------
  |  Branch (602:29): [True: 14, False: 13.8k]
  ------------------
  603|     14|                        {
  604|     14|                            ec = msgpack_errc::unexpected_eof;
  605|     14|                            more_ = false;
  606|     14|                            return;
  607|     14|                        }
  608|  13.8k|                        int64_t sec = binary::big_to_native<int64_t>(buf2, sizeof(buf2));
  609|       |
  610|  13.8k|                        bigint nano(sec);
  611|       |
  612|  13.8k|                        nano *= uint64_t(nanos_in_second);
  613|       |
  614|  13.8k|                        if (nano < 0)
  ------------------
  |  Branch (614:29): [True: 3.90k, False: 9.95k]
  ------------------
  615|  3.90k|                        {
  616|  3.90k|                            nano -= nsec;
  617|  3.90k|                        }
  618|  9.95k|                        else
  619|  9.95k|                        {
  620|  9.95k|                            nano += nsec;
  621|  9.95k|                        }
  622|       |
  623|  13.8k|                        text_buffer_.clear();
  624|  13.8k|                        nano.write_string(text_buffer_);
  625|  13.8k|                        visitor.string_value(text_buffer_, semantic_tag::epoch_nano, *this, ec);
  626|  13.8k|                        more_ = !cursor_mode_;
  627|  13.8k|                        if (!more_) return;
  ------------------
  |  Branch (627:29): [True: 0, False: 13.8k]
  ------------------
  628|  13.8k|                    }
  629|   117k|                    else
  630|   117k|                    {
  631|   117k|                        bytes_buffer_.clear();
  632|   117k|                        if (source_reader<Source>::read(source_,bytes_buffer_,len) != static_cast<std::size_t>(len))
  ------------------
  |  Branch (632:29): [True: 167, False: 117k]
  ------------------
  633|    167|                        {
  634|    167|                            ec = msgpack_errc::unexpected_eof;
  635|    167|                            more_ = false;
  636|    167|                            return;
  637|    167|                        }
  638|       |
  639|   117k|                        visitor.byte_string_value(byte_string_view(bytes_buffer_.data(),bytes_buffer_.size()), 
  640|   117k|                                                          static_cast<uint8_t>(ext_type), 
  641|   117k|                                                          *this,
  642|   117k|                                                          ec);
  643|   117k|                        more_ = !cursor_mode_;
  644|   117k|                    }
  645|   147k|                    break;
  646|   147k|                }
  647|       |
  648|   147k|                case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (648:17): [True: 4.68k, False: 25.0M]
  ------------------
  649|  6.12k|                case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (649:17): [True: 1.44k, False: 25.0M]
  ------------------
  650|  6.12k|                {
  651|  6.12k|                    begin_array(visitor,type,ec);
  652|  6.12k|                    break;
  653|  4.68k|                }
  654|       |
  655|  10.2k|                case jsoncons::msgpack::msgpack_type::map16_type : 
  ------------------
  |  Branch (655:17): [True: 10.2k, False: 25.0M]
  ------------------
  656|  10.9k|                case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (656:17): [True: 687, False: 25.0M]
  ------------------
  657|  10.9k|                {
  658|  10.9k|                    begin_object(visitor, type, ec);
  659|  10.9k|                    break;
  660|  10.2k|                }
  661|       |
  662|     27|                default:
  ------------------
  |  Branch (662:17): [True: 27, False: 25.0M]
  ------------------
  663|     27|                {
  664|     27|                    ec = msgpack_errc::unknown_type;
  665|     27|                    more_ = false;
  666|     27|                    return;
  667|  10.2k|                }
  668|  25.0M|            }
  669|  25.0M|        }
  670|  77.0M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE12begin_objectERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  700|  3.96M|    {
  701|  3.96M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  3.96M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 2, False: 3.96M]
  |  |  ------------------
  ------------------
  702|      2|        {
  703|      2|            ec = msgpack_errc::max_nesting_depth_exceeded;
  704|      2|            more_ = false;
  705|      2|            return;
  706|      2|        } 
  707|  3.96M|        std::size_t length = get_size(type, ec);
  708|  3.96M|        if (!more_)
  ------------------
  |  Branch (708:13): [True: 18, False: 3.96M]
  ------------------
  709|     18|        {
  710|     18|            return;
  711|     18|        }
  712|  3.96M|        state_stack_.emplace_back(parse_mode::map_key,length);
  713|  3.96M|        visitor.begin_object(length, semantic_tag::none, *this, ec);
  714|  3.96M|        more_ = !cursor_mode_;
  715|  3.96M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE11begin_arrayERNS_24basic_item_event_visitorIcEEhRNS3_10error_codeE:
  673|  6.33M|    {
  674|  6.33M|        if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_))
  ------------------
  |  |   78|  6.33M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (78:30): [True: 1, False: 6.33M]
  |  |  ------------------
  ------------------
  675|      1|        {
  676|      1|            ec = msgpack_errc::max_nesting_depth_exceeded;
  677|      1|            more_ = false;
  678|      1|            return;
  679|      1|        } 
  680|  6.33M|        std::size_t length = get_size(type, ec);
  681|  6.33M|        if (!more_)
  ------------------
  |  Branch (681:13): [True: 15, False: 6.33M]
  ------------------
  682|     15|        {
  683|     15|            return;
  684|     15|        }
  685|  6.33M|        state_stack_.emplace_back(parse_mode::array,length);
  686|  6.33M|        visitor.begin_array(length, semantic_tag::none, *this, ec);
  687|  6.33M|        more_ = !cursor_mode_;
  688|  6.33M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE8get_sizeEhRNS3_10error_codeE:
  726|  10.6M|    {
  727|  10.6M|        switch (type)
  728|  10.6M|        {
  729|    531|            case jsoncons::msgpack::msgpack_type::str8_type: 
  ------------------
  |  Branch (729:13): [True: 531, False: 10.6M]
  ------------------
  730|   165k|            case jsoncons::msgpack::msgpack_type::bin8_type: 
  ------------------
  |  Branch (730:13): [True: 164k, False: 10.4M]
  ------------------
  731|   185k|            case jsoncons::msgpack::msgpack_type::ext8_type: 
  ------------------
  |  Branch (731:13): [True: 20.7k, False: 10.5M]
  ------------------
  732|   185k|            {
  733|   185k|                uint8_t buf[sizeof(int8_t)];
  734|   185k|                if (source_.read(buf, sizeof(int8_t)) != sizeof(int8_t))
  ------------------
  |  Branch (734:21): [True: 33, False: 185k]
  ------------------
  735|     33|                {
  736|     33|                    ec = msgpack_errc::unexpected_eof;
  737|     33|                    more_ = false;
  738|     33|                    return 0;
  739|     33|                }
  740|   185k|                uint8_t len = binary::big_to_native<uint8_t>(buf, sizeof(buf));
  741|   185k|                return static_cast<std::size_t>(len);
  742|   185k|            }
  743|       |
  744|  1.41k|            case jsoncons::msgpack::msgpack_type::str16_type: 
  ------------------
  |  Branch (744:13): [True: 1.41k, False: 10.6M]
  ------------------
  745|  2.24k|            case jsoncons::msgpack::msgpack_type::bin16_type: 
  ------------------
  |  Branch (745:13): [True: 830, False: 10.6M]
  ------------------
  746|  3.73k|            case jsoncons::msgpack::msgpack_type::ext16_type: 
  ------------------
  |  Branch (746:13): [True: 1.49k, False: 10.6M]
  ------------------
  747|  8.41k|            case jsoncons::msgpack::msgpack_type::array16_type: 
  ------------------
  |  Branch (747:13): [True: 4.68k, False: 10.6M]
  ------------------
  748|  18.6k|            case jsoncons::msgpack::msgpack_type::map16_type:
  ------------------
  |  Branch (748:13): [True: 10.2k, False: 10.5M]
  ------------------
  749|  18.6k|            {
  750|  18.6k|                uint8_t buf[sizeof(int16_t)];
  751|  18.6k|                if (source_.read(buf, sizeof(int16_t)) != sizeof(int16_t))
  ------------------
  |  Branch (751:21): [True: 43, False: 18.6k]
  ------------------
  752|     43|                {
  753|     43|                    ec = msgpack_errc::unexpected_eof;
  754|     43|                    more_ = false;
  755|     43|                    return 0;
  756|     43|                }
  757|  18.6k|                uint16_t len = binary::big_to_native<uint16_t>(buf, sizeof(buf));
  758|  18.6k|                return static_cast<std::size_t>(len);
  759|  18.6k|            }
  760|       |
  761|    274|            case jsoncons::msgpack::msgpack_type::str32_type: 
  ------------------
  |  Branch (761:13): [True: 274, False: 10.6M]
  ------------------
  762|    578|            case jsoncons::msgpack::msgpack_type::bin32_type: 
  ------------------
  |  Branch (762:13): [True: 304, False: 10.6M]
  ------------------
  763|    865|            case jsoncons::msgpack::msgpack_type::ext32_type: 
  ------------------
  |  Branch (763:13): [True: 287, False: 10.6M]
  ------------------
  764|  2.31k|            case jsoncons::msgpack::msgpack_type::array32_type: 
  ------------------
  |  Branch (764:13): [True: 1.44k, False: 10.6M]
  ------------------
  765|  2.99k|            case jsoncons::msgpack::msgpack_type::map32_type : 
  ------------------
  |  Branch (765:13): [True: 687, False: 10.6M]
  ------------------
  766|  2.99k|            {
  767|  2.99k|                uint8_t buf[sizeof(int32_t)];
  768|  2.99k|                if (source_.read(buf, sizeof(int32_t)) != sizeof(int32_t))
  ------------------
  |  Branch (768:21): [True: 46, False: 2.95k]
  ------------------
  769|     46|                {
  770|     46|                    ec = msgpack_errc::unexpected_eof;
  771|     46|                    more_ = false;
  772|     46|                    return 0;
  773|     46|                }
  774|  2.95k|                uint32_t len = binary::big_to_native<uint32_t>(buf, sizeof(buf));
  775|  2.95k|                return static_cast<std::size_t>(len);
  776|  2.99k|            }
  777|  79.5k|            case jsoncons::msgpack::msgpack_type::fixext1_type: 
  ------------------
  |  Branch (777:13): [True: 79.5k, False: 10.5M]
  ------------------
  778|  79.5k|                return 1;
  779|  23.4k|            case jsoncons::msgpack::msgpack_type::fixext2_type: 
  ------------------
  |  Branch (779:13): [True: 23.4k, False: 10.5M]
  ------------------
  780|  23.4k|                return 2;
  781|  1.54k|            case jsoncons::msgpack::msgpack_type::fixext4_type: 
  ------------------
  |  Branch (781:13): [True: 1.54k, False: 10.6M]
  ------------------
  782|  1.54k|                return 4;
  783|  17.6k|            case jsoncons::msgpack::msgpack_type::fixext8_type: 
  ------------------
  |  Branch (783:13): [True: 17.6k, False: 10.5M]
  ------------------
  784|  17.6k|                return 8;
  785|  3.25k|            case jsoncons::msgpack::msgpack_type::fixext16_type: 
  ------------------
  |  Branch (785:13): [True: 3.25k, False: 10.6M]
  ------------------
  786|  3.25k|                return 16;
  787|  10.2M|            default:
  ------------------
  |  Branch (787:13): [True: 10.2M, False: 332k]
  ------------------
  788|  10.2M|                if ((type > 0x8f && type <= 0x9f) // fixarray
  ------------------
  |  Branch (788:22): [True: 6.32M, False: 3.95M]
  |  Branch (788:37): [True: 6.32M, False: 0]
  ------------------
  789|  3.95M|                    || (type > 0x7f && type <= 0x8f) // fixmap
  ------------------
  |  Branch (789:25): [True: 3.95M, False: 0]
  |  Branch (789:40): [True: 3.95M, False: 0]
  ------------------
  790|  10.2M|        )
  791|  10.2M|                {
  792|  10.2M|                    return type & 0x0f;
  793|  10.2M|                }
  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.6M|        }
  802|  10.6M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE9end_arrayERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  691|  6.29M|    {
  692|  6.29M|        --nesting_depth_;
  693|       |
  694|  6.29M|        visitor.end_array(*this, ec);
  695|  6.29M|        more_ = !cursor_mode_;
  696|  6.29M|        state_stack_.pop_back();
  697|  6.29M|    }
_ZN8jsoncons7msgpack20basic_msgpack_parserINS_13stream_sourceIhNSt3__19allocatorIhEEEENS4_IcEEE10end_objectERNS_24basic_item_event_visitorIcEERNS3_10error_codeE:
  718|  3.94M|    {
  719|  3.94M|        --nesting_depth_;
  720|  3.94M|        visitor.end_object(*this, ec);
  721|  3.94M|        more_ = !cursor_mode_;
  722|  3.94M|        state_stack_.pop_back();
  723|  3.94M|    }

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

