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

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

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 2791|   103M|        {
 2792|   103M|             destroy();
 2793|   103M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
  903|   103M|        {
  904|   103M|            switch (storage_kind())
  905|   103M|            {
  906|  13.8k|                case json_storage_kind::long_str:
  ------------------
  |  Branch (906:17): [True: 13.8k, False: 103M]
  ------------------
  907|  13.8k|                {
  908|  13.8k|                    if (cast<long_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (908:25): [True: 13.8k, False: 0]
  ------------------
  909|  13.8k|                    {
  910|  13.8k|                        long_string_storage::heap_string_factory_type::destroy(cast<long_string_storage>().ptr_);
  911|  13.8k|                    }
  912|  13.8k|                    break;
  913|      0|                }
  914|   220k|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (914:17): [True: 220k, False: 103M]
  ------------------
  915|   220k|                    if (cast<byte_string_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (915:25): [True: 220k, False: 0]
  ------------------
  916|   220k|                    {
  917|   220k|                        byte_string_storage::heap_string_factory_type::destroy(cast<byte_string_storage>().ptr_);
  918|   220k|                    }
  919|   220k|                    break;
  920|  4.20M|                case json_storage_kind::array:
  ------------------
  |  Branch (920:17): [True: 4.20M, False: 99.2M]
  ------------------
  921|  4.20M|                {
  922|  4.20M|                    if (cast<array_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (922:25): [True: 4.20M, False: 0]
  ------------------
  923|  4.20M|                    {
  924|  4.20M|                        auto& stor = cast<array_storage>();
  925|  4.20M|                        typename array_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  926|  4.20M|                        std::allocator_traits<typename array_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  927|  4.20M|                        std::allocator_traits<typename array_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  928|  4.20M|                    }
  929|  4.20M|                    break;
  930|      0|                }
  931|  4.28M|                case json_storage_kind::object:
  ------------------
  |  Branch (931:17): [True: 4.28M, False: 99.1M]
  ------------------
  932|  4.28M|                {
  933|  4.28M|                    if (cast<object_storage>().ptr_ != nullptr)
  ------------------
  |  Branch (933:25): [True: 4.28M, False: 0]
  ------------------
  934|  4.28M|                    {
  935|  4.28M|                        auto& stor = cast<object_storage>();
  936|  4.28M|                        typename object_storage::allocator_type alloc{stor.ptr_->get_allocator()};
  937|  4.28M|                        std::allocator_traits<typename object_storage::allocator_type>::destroy(alloc, ext_traits::to_plain_pointer(stor.ptr_));
  938|  4.28M|                        std::allocator_traits<typename object_storage::allocator_type>::deallocate(alloc, stor.ptr_,1);
  939|  4.28M|                    }
  940|  4.28M|                    break;
  941|      0|                }
  942|  94.7M|                default:
  ------------------
  |  Branch (942:17): [True: 94.7M, False: 8.72M]
  ------------------
  943|  94.7M|                    break;
  944|   103M|            }
  945|   103M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 1467|   247M|        {
 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|   247M|            return static_cast<json_storage_kind>(common_.storage_kind_);
 1473|   247M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 1009|   123k|        {
 1010|   123k|            return cast(identity<T>());
 1011|   123k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 1100|   123k|        {
 1101|   123k|            return long_str_;
 1102|   123k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 1009|  1.58M|        {
 1010|  1.58M|            return cast(identity<T>());
 1011|  1.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 1110|  1.58M|        {
 1111|  1.58M|            return byte_str_;
 1112|  1.58M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 1009|  35.5M|        {
 1010|  35.5M|            return cast(identity<T>());
 1011|  35.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1130|  35.5M|        {
 1131|  35.5M|            return array_;
 1132|  35.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 2312|  69.1M|        {
 2313|  69.1M|            uninitialized_move(std::move(other));
 2314|  69.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 1307|  69.1M|        {
 1308|  69.1M|            if (is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1308:17): [True: 51.2M, False: 17.9M]
  ------------------
 1309|  51.2M|            {
 1310|  51.2M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1311|  51.2M|            }
 1312|  17.9M|            else
 1313|  17.9M|            {
 1314|  17.9M|                switch (other.storage_kind())
 1315|  17.9M|                {
 1316|  20.8k|                    case json_storage_kind::long_str:
  ------------------
  |  Branch (1316:21): [True: 20.8k, False: 17.9M]
  ------------------
 1317|  20.8k|                        construct<long_string_storage>(other.cast<long_string_storage>());
 1318|  20.8k|                        other.construct<null_storage>();
 1319|  20.8k|                        break;
 1320|   410k|                    case json_storage_kind::byte_str:
  ------------------
  |  Branch (1320:21): [True: 410k, False: 17.5M]
  ------------------
 1321|   410k|                        construct<byte_string_storage>(other.cast<byte_string_storage>());
 1322|   410k|                        other.construct<null_storage>();
 1323|   410k|                        break;
 1324|  8.41M|                    case json_storage_kind::array:
  ------------------
  |  Branch (1324:21): [True: 8.41M, False: 9.52M]
  ------------------
 1325|  8.41M|                        construct<array_storage>(other.cast<array_storage>());
 1326|  8.41M|                        other.construct<null_storage>();
 1327|  8.41M|                        break;
 1328|  9.08M|                    case json_storage_kind::object:
  ------------------
  |  Branch (1328:21): [True: 9.08M, False: 8.84M]
  ------------------
 1329|  9.08M|                        construct<object_storage>(other.cast<object_storage>());
 1330|  9.08M|                        other.construct<null_storage>();
 1331|  9.08M|                        break;
 1332|      0|                    default:
  ------------------
  |  Branch (1332:21): [True: 0, False: 17.9M]
  ------------------
 1333|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1334|      0|                        break;
 1335|  17.9M|                }
 1336|  17.9M|            }
 1337|  69.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRS7_EEEvDpOT0_:
 1000|  40.6k|        {
 1001|  40.6k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  40.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ERKS6_:
  631|  60.5k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  632|  60.5k|            {
  633|  60.5k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJEEEvDpOT0_:
 1000|  17.9M|        {
 1001|  17.9M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  17.9M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 1009|  24.3M|        {
 1010|  24.3M|            return cast(identity<T>());
 1011|  24.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 1020|  24.3M|        {
 1021|  24.3M|            return null_;
 1022|  24.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  455|  20.1M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::null)), short_str_length_(0), tag_(tag)
  456|  20.1M|            {
  457|  20.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRS7_EEEvDpOT0_:
 1000|   462k|        {
 1001|   462k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   462k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ERKS6_:
  680|   513k|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  681|   513k|            {
  682|   513k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRS7_EEEvDpOT0_:
 1000|  9.75M|        {
 1001|  9.75M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  9.75M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2ERKS6_:
  732|  11.1M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  733|  11.1M|            {
  734|  11.1M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRS7_EEEvDpOT0_:
 1000|  10.1M|        {
 1001|  10.1M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  10.1M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2ERKS6_:
  782|  11.3M|                : storage_kind_(other.storage_kind_), short_str_length_(0), tag_(other.tag_), ptr_(other.ptr_)
  783|  11.3M|            {
  784|  11.3M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 4755|  45.6k|        {
 4756|  45.6k|            switch (storage_kind())
 4757|  45.6k|            {
 4758|  45.6k|                case json_storage_kind::array:
  ------------------
  |  Branch (4758:17): [True: 45.6k, False: 0]
  ------------------
 4759|  45.6k|                    return array_range_type(cast<array_storage>().value().begin(),
 4760|  45.6k|                        cast<array_storage>().value().end());
 4761|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4761:17): [True: 0, False: 45.6k]
  ------------------
 4762|      0|                    return cast<json_ref_storage>().value().array_range();
 4763|      0|                default:
  ------------------
  |  Branch (4763:17): [True: 0, False: 45.6k]
  ------------------
 4764|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4765|  45.6k|            }
 4766|  45.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  755|  3.38M|            {
  756|  3.38M|                return *ptr_;
  757|  3.38M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  353|  45.6k|            : first_(first), last_(last)
  354|  45.6k|        {
  355|  45.6k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  358|  45.6k|        {
  359|  45.6k|            return first_;
  360|  45.6k|        }
_ZNK8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  362|  45.6k|        {
  363|  45.6k|            return last_;
  364|  45.6k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 3420|   150k|        {
 3421|   150k|            switch (storage_kind())
 3422|   150k|            {
 3423|      0|                case json_storage_kind::byte_str:
  ------------------
  |  Branch (3423:17): [True: 0, False: 150k]
  ------------------
 3424|      0|                    return cast<byte_string_storage>().length() == 0;
 3425|      0|                    break;
 3426|      0|                case json_storage_kind::short_str:
  ------------------
  |  Branch (3426:17): [True: 0, False: 150k]
  ------------------
 3427|      0|                    return cast<short_string_storage>().length() == 0;
 3428|      0|                case json_storage_kind::long_str:
  ------------------
  |  Branch (3428:17): [True: 0, False: 150k]
  ------------------
 3429|      0|                    return cast<long_string_storage>().length() == 0;
 3430|   104k|                case json_storage_kind::array:
  ------------------
  |  Branch (3430:17): [True: 104k, False: 46.7k]
  ------------------
 3431|   104k|                    return cast<array_storage>().value().empty();
 3432|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (3432:17): [True: 0, False: 150k]
  ------------------
 3433|      0|                    return true;
 3434|  46.7k|                case json_storage_kind::object:
  ------------------
  |  Branch (3434:17): [True: 46.7k, False: 104k]
  ------------------
 3435|  46.7k|                    return cast<object_storage>().value().empty();
 3436|      0|                case json_storage_kind::const_json_ref:
  ------------------
  |  Branch (3436:17): [True: 0, False: 150k]
  ------------------
 3437|      0|                    return cast<const_json_ref_storage>().value().empty();
 3438|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (3438:17): [True: 0, False: 150k]
  ------------------
 3439|      0|                    return cast<json_ref_storage>().value().empty();
 3440|      0|                default:
  ------------------
  |  Branch (3440:17): [True: 0, False: 150k]
  ------------------
 3441|      0|                    return false;
 3442|   150k|            }
 3443|   150k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 1015|   104k|        {
 1016|   104k|            return cast(identity<T>());
 1017|   104k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 1135|   104k|        {
 1136|   104k|            return array_;
 1137|   104k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
  760|   104k|            {
  761|   104k|                return *ptr_;
  762|   104k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 1015|  46.7k|        {
 1016|  46.7k|            return cast(identity<T>());
 1017|  46.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1125|  46.7k|        {
 1126|  46.7k|            return object_;
 1127|  46.7k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  806|  46.7k|            {
  807|  46.7k|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  46.7k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 46.7k]
  |  |  ------------------
  |  |   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|  46.7k|                return *ptr_;
  809|  46.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4151|   394k|        {
 4152|   394k|            switch (storage_kind())
 4153|   394k|            {
 4154|  45.6k|                case json_storage_kind::array:
  ------------------
  |  Branch (4154:17): [True: 45.6k, False: 348k]
  ------------------
 4155|  45.6k|                    cast<array_storage>().value().clear();
 4156|  45.6k|                    break;
 4157|   348k|                case json_storage_kind::object:
  ------------------
  |  Branch (4157:17): [True: 348k, False: 45.6k]
  ------------------
 4158|   348k|                    cast<object_storage>().value().clear();
 4159|   348k|                    break;
 4160|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4160:17): [True: 0, False: 394k]
  ------------------
 4161|      0|                    cast<json_ref_storage>().value().clear();
 4162|      0|                    break;
 4163|      0|                default:
  ------------------
  |  Branch (4163:17): [True: 0, False: 394k]
  ------------------
 4164|      0|                    break;
 4165|   394k|            }
 4166|   394k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
  800|  1.09M|            {
  801|  1.09M|                JSONCONS_ASSERT(ptr_ != nullptr);
  ------------------
  |  |   45|  1.09M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 1.09M]
  |  |  ------------------
  |  |   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.09M|                return *ptr_;
  803|  1.09M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 4721|   348k|        {
 4722|   348k|            switch (storage_kind())
 4723|   348k|            {
 4724|      0|                case json_storage_kind::empty_object:
  ------------------
  |  Branch (4724:17): [True: 0, False: 348k]
  ------------------
 4725|      0|                    return object_range_type(object_iterator(), object_iterator());
 4726|   348k|                case json_storage_kind::object:
  ------------------
  |  Branch (4726:17): [True: 348k, False: 0]
  ------------------
 4727|   348k|                    return object_range_type(object_iterator(cast<object_storage>().value().begin()),
 4728|   348k|                                                  object_iterator(cast<object_storage>().value().end()));
 4729|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4729:17): [True: 0, False: 348k]
  ------------------
 4730|      0|                    return cast<json_ref_storage>().value().object_range();
 4731|      0|                default:
  ------------------
  |  Branch (4731:17): [True: 0, False: 348k]
  ------------------
 4732|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 4733|   348k|            }
 4734|   348k|        }
_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|   348k|            : first_(first), last_(last)
  354|   348k|        {
  355|   348k|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  122|   697k|            explicit random_access_iterator_wrapper(Iterator ptr) : it_(ptr), has_value_(true)  
  123|   697k|            {
  124|   697k|            }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  358|   348k|        {
  359|   348k|            return first_;
  360|   348k|        }
_ZNK8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  362|   348k|        {
  363|   348k|            return last_;
  364|   348k|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  225|   441k|            {
  226|   441k|                return !(*this == rhs);
  227|   441k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  213|   441k|            {
  214|   441k|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (214:21): [True: 0, False: 441k]
  |  Branch (214:36): [True: 0, False: 441k]
  ------------------
  215|      0|                {
  216|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (216:28): [True: 0, False: 0]
  ------------------
  217|      0|                }
  218|   441k|                else
  219|   441k|                {
  220|   441k|                    return it_ == rhs.it_;
  221|   441k|                }
  222|   441k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  144|  93.2k|            {
  145|  93.2k|                return *it_;
  146|  93.2k|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  154|  93.2k|            {
  155|  93.2k|                ++it_;
  156|  93.2k|                return *this;
  157|  93.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 1009|  34.3M|        {
 1010|  34.3M|            return cast(identity<T>());
 1011|  34.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 1120|  34.3M|        {
 1121|  34.3M|            return object_;
 1122|  34.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 2280|  6.81k|        {
 2281|  6.81k|            construct<empty_object_storage>(semantic_tag::none);
 2282|  6.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
 1000|  6.81k|        {
 1001|  6.81k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  6.81k|        }
_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.81k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::empty_object)), short_str_length_(0), tag_(tag)
  468|  6.81k|            {
  469|  6.81k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 3479|  20.4k|        {
 3480|  20.4k|            if (n > 0)
  ------------------
  |  Branch (3480:17): [True: 20.4k, False: 0]
  ------------------
 3481|  20.4k|            {
 3482|  20.4k|                switch (storage_kind())
 3483|  20.4k|                {
 3484|  20.4k|                    case json_storage_kind::array:
  ------------------
  |  Branch (3484:21): [True: 20.4k, False: 0]
  ------------------
 3485|  20.4k|                        cast<array_storage>().value().reserve(n);
 3486|  20.4k|                        break;
 3487|      0|                    case json_storage_kind::empty_object:
  ------------------
  |  Branch (3487:21): [True: 0, False: 20.4k]
  ------------------
 3488|      0|                        create_object_implicitly();
 3489|      0|                        cast<object_storage>().value().reserve(n);
 3490|      0|                        break;
 3491|      0|                    case json_storage_kind::object:
  ------------------
  |  Branch (3491:21): [True: 0, False: 20.4k]
  ------------------
 3492|      0|                        cast<object_storage>().value().reserve(n);
 3493|      0|                        break;
 3494|      0|                    case json_storage_kind::json_ref:
  ------------------
  |  Branch (3494:21): [True: 0, False: 20.4k]
  ------------------
 3495|      0|                        cast<json_ref_storage>().value().reserve(n);
 3496|      0|                        break;
 3497|      0|                    default:
  ------------------
  |  Branch (3497:21): [True: 0, False: 20.4k]
  ------------------
 3498|      0|                        break;
 3499|  20.4k|                }
 3500|  20.4k|            }
 3501|  20.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 2325|  4.28M|        {
 2326|  4.28M|            auto ptr = create_object(alloc);
 2327|  4.28M|            construct<object_storage>(ptr, tag);
 2328|  4.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13create_objectIJEEEPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERKS4_DpOT_:
  981|  4.28M|        {
  982|  4.28M|            using stor_allocator_type = typename object_storage::allocator_type;
  983|  4.28M|            stor_allocator_type stor_alloc(alloc);
  984|  4.28M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  985|  4.28M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.28M|    #define JSONCONS_TRY try
  ------------------
  986|  4.28M|            {
  987|  4.28M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  988|  4.28M|                    std::forward<Args>(args)...);
  989|  4.28M|            }
  990|  4.28M|            JSONCONS_CATCH(...)
  991|  4.28M|            {
  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|  4.28M|            return ptr;
  996|  4.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJRPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  4.28M|        {
 1001|  4.28M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  4.28M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EPNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
  777|  4.28M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::object)), short_str_length_(0), tag_(tag), ptr_(ptr)
  778|  4.28M|            {
  779|  4.28M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 1458|  18.5M|        {
 1459|  18.5M|            if (this != &other)
  ------------------
  |  Branch (1459:17): [True: 18.5M, False: 0]
  ------------------
 1460|  18.5M|            {
 1461|  18.5M|                move_assignment(std::move(other));
 1462|  18.5M|            }
 1463|  18.5M|            return *this;
 1464|  18.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 1420|  18.5M|        {
 1421|  18.5M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1421:17): [True: 18.5M, False: 0]
  |  Branch (1421:55): [True: 15.9M, False: 2.52M]
  ------------------
 1422|  15.9M|            {
 1423|  15.9M|                std::memcpy(static_cast<void*>(this), &other, sizeof(basic_json));
 1424|  15.9M|            }
 1425|  2.52M|            else
 1426|  2.52M|            {
 1427|  2.52M|                swap(other);
 1428|  2.52M|            }
 1429|  18.5M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 4697|  3.22M|        {
 4698|  3.22M|            switch (storage_kind())
 4699|  3.22M|            {
 4700|  3.22M|                case json_storage_kind::array:
  ------------------
  |  Branch (4700:17): [True: 3.22M, False: 0]
  ------------------
 4701|  3.22M|                    cast<array_storage>().value().push_back(std::move(val));
 4702|  3.22M|                    break;
 4703|      0|                case json_storage_kind::json_ref:
  ------------------
  |  Branch (4703:17): [True: 0, False: 3.22M]
  ------------------
 4704|      0|                    cast<json_ref_storage>().value().push_back(std::move(val));
 4705|      0|                    break;
 4706|      0|                default:
  ------------------
  |  Branch (4706:17): [True: 0, False: 3.22M]
  ------------------
 4707|      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
  ------------------
 4708|  3.22M|            }
 4709|  3.22M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 1939|  2.52M|        {
 1940|  2.52M|            if (this == &other)
  ------------------
  |  Branch (1940:17): [True: 0, False: 2.52M]
  ------------------
 1941|      0|            {
 1942|      0|                return;
 1943|      0|            }
 1944|  2.52M|            if (is_trivial_storage(storage_kind()) && is_trivial_storage(other.storage_kind()))
  ------------------
  |  Branch (1944:17): [True: 2.52M, False: 0]
  |  Branch (1944:55): [True: 0, False: 2.52M]
  ------------------
 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.52M|            else
 1952|  2.52M|            {
 1953|  2.52M|                switch (storage_kind())
 1954|  2.52M|                {
 1955|  2.09M|                    case json_storage_kind::null: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (1955:21): [True: 2.09M, False: 434k]
  ------------------
 1956|  2.32k|                    case json_storage_kind::empty_object : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (1956:21): [True: 2.32k, False: 2.52M]
  ------------------
 1957|  46.9k|                    case json_storage_kind::boolean: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (1957:21): [True: 46.9k, False: 2.48M]
  ------------------
 1958|  50.3k|                    case json_storage_kind::int64: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (1958:21): [True: 50.3k, False: 2.47M]
  ------------------
 1959|   321k|                    case json_storage_kind::uint64: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (1959:21): [True: 321k, False: 2.20M]
  ------------------
 1960|      0|                    case json_storage_kind::half_float: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (1960:21): [True: 0, False: 2.52M]
  ------------------
 1961|  2.19k|                    case json_storage_kind::float64: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (1961:21): [True: 2.19k, False: 2.52M]
  ------------------
 1962|  10.7k|                    case json_storage_kind::short_str: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (1962:21): [True: 10.7k, False: 2.51M]
  ------------------
 1963|      0|                    case json_storage_kind::long_str: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (1963:21): [True: 0, False: 2.52M]
  ------------------
 1964|      0|                    case json_storage_kind::byte_str: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (1964:21): [True: 0, False: 2.52M]
  ------------------
 1965|      0|                    case json_storage_kind::array: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (1965:21): [True: 0, False: 2.52M]
  ------------------
 1966|      0|                    case json_storage_kind::object: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (1966:21): [True: 0, False: 2.52M]
  ------------------
 1967|      0|                    case json_storage_kind::const_json_ref: swap_l<const_json_ref_storage>(other); break;
  ------------------
  |  Branch (1967:21): [True: 0, False: 2.52M]
  ------------------
 1968|      0|                    case json_storage_kind::json_ref: swap_l<json_ref_storage>(other); break;
  ------------------
  |  Branch (1968:21): [True: 0, False: 2.52M]
  ------------------
 1969|      0|                    default:
  ------------------
  |  Branch (1969:21): [True: 0, False: 2.52M]
  ------------------
 1970|      0|                        JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1971|      0|                        break;
 1972|  2.52M|                }
 1973|  2.52M|            }
 1974|  2.52M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12null_storageEEEvRS5_:
 1175|  2.09M|        {
 1176|  2.09M|            switch (other.storage_kind())
 1177|  2.09M|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.09M]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.09M]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.09M]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.09M]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.09M]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.09M]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 2.09M]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.09M]
  ------------------
 1186|  5.23k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 5.23k, False: 2.08M]
  ------------------
 1187|  31.4k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 31.4k, False: 2.06M]
  ------------------
 1188|  1.08M|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 1.08M, False: 1.00M]
  ------------------
 1189|   970k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 970k, False: 1.12M]
  ------------------
 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.09M]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 2.09M]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 2.09M]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  2.09M|            }
 1196|  2.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRS7_EEEvDpOT0_:
 1000|  2.09M|        {
 1001|  2.09M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.09M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJRS7_EEEvDpOT0_:
 1000|  2.32k|        {
 1001|  2.32k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 1009|  2.56M|        {
 1010|  2.56M|            return cast(identity<T>());
 1011|  2.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 1040|  2.56M|        {
 1041|  2.56M|            return boolean_;
 1042|  2.56M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRS7_EEEvDpOT0_:
 1000|  46.9k|        {
 1001|  46.9k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  46.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 1009|  3.21M|        {
 1010|  3.21M|            return cast(identity<T>());
 1011|  3.21M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 1050|  3.21M|        {
 1051|  3.21M|            return int64_;
 1052|  3.21M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRS7_EEEvDpOT0_:
 1000|  50.3k|        {
 1001|  50.3k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  50.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 1009|  18.0M|        {
 1010|  18.0M|            return cast(identity<T>());
 1011|  18.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 1060|  18.0M|        {
 1061|  18.0M|            return uint64_;
 1062|  18.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRS7_EEEvDpOT0_:
 1000|   321k|        {
 1001|   321k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   321k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 1009|  78.6k|        {
 1010|  78.6k|            return cast(identity<T>());
 1011|  78.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 1080|  78.6k|        {
 1081|  78.6k|            return float64_;
 1082|  78.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRS7_EEEvDpOT0_:
 1000|  2.19k|        {
 1001|  2.19k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.19k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 1009|   356k|        {
 1010|   356k|            return cast(identity<T>());
 1011|   356k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 1090|   356k|        {
 1091|   356k|            return short_str_;
 1092|   356k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  590|  10.7k|                : storage_kind_(other.storage_kind_), short_str_length_(other.short_str_length_), tag_(other.tag_)
  591|  10.7k|            {
  592|  10.7k|                std::memcpy(data_,other.data_,other.short_str_length_*sizeof(char_type));
  593|  10.7k|                data_[short_str_length_] = 0;
  594|  10.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRS7_EEEvDpOT0_:
 1000|  10.7k|        {
 1001|  10.7k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  10.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvRS5_:
 1161|  5.23k|        {
 1162|  5.23k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  5.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  5.23k|        {
 1168|  5.23k|            TypeR temp{other.cast<TypeR>()};
 1169|  5.23k|            other.construct<TypeL>(cast<TypeL>());
 1170|  5.23k|            construct<TypeR>(temp);
 1171|  5.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_19byte_string_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_12null_storageENS5_19byte_string_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_12null_storageENS5_13array_storageEEEvRS5_:
 1161|  1.08M|        {
 1162|  1.08M|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.08M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.08M|        {
 1168|  1.08M|            TypeR temp{other.cast<TypeR>()};
 1169|  1.08M|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.08M|            construct<TypeR>(temp);
 1171|  1.08M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvRS5_:
 1161|   970k|        {
 1162|   970k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|   970k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|   970k|        {
 1168|   970k|            TypeR temp{other.cast<TypeR>()};
 1169|   970k|            other.construct<TypeL>(cast<TypeL>());
 1170|   970k|            construct<TypeR>(temp);
 1171|   970k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 1175|  2.32k|        {
 1176|  2.32k|            switch (other.storage_kind())
 1177|  2.32k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.32k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.32k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.32k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.32k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.32k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.32k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 2.32k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.32k]
  ------------------
 1186|    801|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 801, False: 1.52k]
  ------------------
 1187|      9|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 9, False: 2.31k]
  ------------------
 1188|    216|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 216, False: 2.10k]
  ------------------
 1189|  1.29k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 1.29k, False: 1.02k]
  ------------------
 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.32k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 2.32k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 2.32k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  2.32k|            }
 1196|  2.32k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvRS5_:
 1161|    801|        {
 1162|    801|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    801|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    801|        {
 1168|    801|            TypeR temp{other.cast<TypeR>()};
 1169|    801|            other.construct<TypeL>(cast<TypeL>());
 1170|    801|            construct<TypeR>(temp);
 1171|    801|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvRS5_:
 1161|      9|        {
 1162|      9|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|      9|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|      9|        {
 1168|      9|            TypeR temp{other.cast<TypeR>()};
 1169|      9|            other.construct<TypeL>(cast<TypeL>());
 1170|      9|            construct<TypeR>(temp);
 1171|      9|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvRS5_:
 1161|    216|        {
 1162|    216|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    216|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    216|        {
 1168|    216|            TypeR temp{other.cast<TypeR>()};
 1169|    216|            other.construct<TypeL>(cast<TypeL>());
 1170|    216|            construct<TypeR>(temp);
 1171|    216|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 1161|  1.29k|        {
 1162|  1.29k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.29k|        {
 1168|  1.29k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.29k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.29k|            construct<TypeR>(temp);
 1171|  1.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_12bool_storageEEEvRS5_:
 1175|  46.9k|        {
 1176|  46.9k|            switch (other.storage_kind())
 1177|  46.9k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 46.9k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 46.9k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 46.9k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 46.9k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 46.9k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 46.9k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 46.9k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 46.9k]
  ------------------
 1186|    400|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 400, False: 46.5k]
  ------------------
 1187|    841|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 841, False: 46.1k]
  ------------------
 1188|  28.5k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 28.5k, False: 18.3k]
  ------------------
 1189|  17.1k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 17.1k, False: 29.8k]
  ------------------
 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: 46.9k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 46.9k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 46.9k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  46.9k|            }
 1196|  46.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvRS5_:
 1161|    400|        {
 1162|    400|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    400|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    400|        {
 1168|    400|            TypeR temp{other.cast<TypeR>()};
 1169|    400|            other.construct<TypeL>(cast<TypeL>());
 1170|    400|            construct<TypeR>(temp);
 1171|    400|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    841|        {
 1162|    841|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    841|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    841|        {
 1168|    841|            TypeR temp{other.cast<TypeR>()};
 1169|    841|            other.construct<TypeL>(cast<TypeL>());
 1170|    841|            construct<TypeR>(temp);
 1171|    841|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvRS5_:
 1161|  28.5k|        {
 1162|  28.5k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  28.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  28.5k|        {
 1168|  28.5k|            TypeR temp{other.cast<TypeR>()};
 1169|  28.5k|            other.construct<TypeL>(cast<TypeL>());
 1170|  28.5k|            construct<TypeR>(temp);
 1171|  28.5k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvRS5_:
 1161|  17.1k|        {
 1162|  17.1k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  17.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  17.1k|        {
 1168|  17.1k|            TypeR temp{other.cast<TypeR>()};
 1169|  17.1k|            other.construct<TypeL>(cast<TypeL>());
 1170|  17.1k|            construct<TypeR>(temp);
 1171|  17.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_13int64_storageEEEvRS5_:
 1175|  50.3k|        {
 1176|  50.3k|            switch (other.storage_kind())
 1177|  50.3k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 50.3k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 50.3k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 50.3k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 50.3k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 50.3k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 50.3k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 50.3k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 50.3k]
  ------------------
 1186|  3.10k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 3.10k, False: 47.2k]
  ------------------
 1187|  2.69k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 2.69k, False: 47.6k]
  ------------------
 1188|  25.7k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 25.7k, False: 24.5k]
  ------------------
 1189|  18.7k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 18.7k, False: 31.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: 50.3k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 50.3k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 50.3k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  50.3k|            }
 1196|  50.3k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvRS5_:
 1161|  3.10k|        {
 1162|  3.10k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  3.10k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  3.10k|        {
 1168|  3.10k|            TypeR temp{other.cast<TypeR>()};
 1169|  3.10k|            other.construct<TypeL>(cast<TypeL>());
 1170|  3.10k|            construct<TypeR>(temp);
 1171|  3.10k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  2.69k|        {
 1162|  2.69k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  2.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  2.69k|        {
 1168|  2.69k|            TypeR temp{other.cast<TypeR>()};
 1169|  2.69k|            other.construct<TypeL>(cast<TypeL>());
 1170|  2.69k|            construct<TypeR>(temp);
 1171|  2.69k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvRS5_:
 1161|  25.7k|        {
 1162|  25.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  25.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  25.7k|        {
 1168|  25.7k|            TypeR temp{other.cast<TypeR>()};
 1169|  25.7k|            other.construct<TypeL>(cast<TypeL>());
 1170|  25.7k|            construct<TypeR>(temp);
 1171|  25.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvRS5_:
 1161|  18.7k|        {
 1162|  18.7k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  18.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  18.7k|        {
 1168|  18.7k|            TypeR temp{other.cast<TypeR>()};
 1169|  18.7k|            other.construct<TypeL>(cast<TypeL>());
 1170|  18.7k|            construct<TypeR>(temp);
 1171|  18.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14uint64_storageEEEvRS5_:
 1175|   321k|        {
 1176|   321k|            switch (other.storage_kind())
 1177|   321k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 321k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 321k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 321k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 321k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 321k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 321k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 321k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 321k]
  ------------------
 1186|  8.46k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 8.46k, False: 313k]
  ------------------
 1187|  15.4k|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 15.4k, False: 306k]
  ------------------
 1188|   200k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 200k, False: 120k]
  ------------------
 1189|  96.6k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 96.6k, False: 224k]
  ------------------
 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: 321k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 321k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 321k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|   321k|            }
 1196|   321k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvRS5_:
 1161|  8.46k|        {
 1162|  8.46k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  8.46k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  8.46k|        {
 1168|  8.46k|            TypeR temp{other.cast<TypeR>()};
 1169|  8.46k|            other.construct<TypeL>(cast<TypeL>());
 1170|  8.46k|            construct<TypeR>(temp);
 1171|  8.46k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvRS5_:
 1161|  15.4k|        {
 1162|  15.4k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  15.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  15.4k|        {
 1168|  15.4k|            TypeR temp{other.cast<TypeR>()};
 1169|  15.4k|            other.construct<TypeL>(cast<TypeL>());
 1170|  15.4k|            construct<TypeR>(temp);
 1171|  15.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvRS5_:
 1161|   200k|        {
 1162|   200k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|   200k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|   200k|        {
 1168|   200k|            TypeR temp{other.cast<TypeR>()};
 1169|   200k|            other.construct<TypeL>(cast<TypeL>());
 1170|   200k|            construct<TypeR>(temp);
 1171|   200k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvRS5_:
 1161|  96.6k|        {
 1162|  96.6k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  96.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  96.6k|        {
 1168|  96.6k|            TypeR temp{other.cast<TypeR>()};
 1169|  96.6k|            other.construct<TypeL>(cast<TypeL>());
 1170|  96.6k|            construct<TypeR>(temp);
 1171|  96.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_14double_storageEEEvRS5_:
 1175|  2.19k|        {
 1176|  2.19k|            switch (other.storage_kind())
 1177|  2.19k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 2.19k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 2.19k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 2.19k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 2.19k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 2.19k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 2.19k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 2.19k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 2.19k]
  ------------------
 1186|    467|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 467, False: 1.72k]
  ------------------
 1187|    545|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 545, False: 1.64k]
  ------------------
 1188|    453|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 453, False: 1.73k]
  ------------------
 1189|    725|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 725, False: 1.46k]
  ------------------
 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.19k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 2.19k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 2.19k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  2.19k|            }
 1196|  2.19k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvRS5_:
 1161|    467|        {
 1162|    467|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    467|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    467|        {
 1168|    467|            TypeR temp{other.cast<TypeR>()};
 1169|    467|            other.construct<TypeL>(cast<TypeL>());
 1170|    467|            construct<TypeR>(temp);
 1171|    467|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    545|        {
 1162|    545|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    545|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    545|        {
 1168|    545|            TypeR temp{other.cast<TypeR>()};
 1169|    545|            other.construct<TypeL>(cast<TypeL>());
 1170|    545|            construct<TypeR>(temp);
 1171|    545|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvRS5_:
 1161|    453|        {
 1162|    453|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    453|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    453|        {
 1168|    453|            TypeR temp{other.cast<TypeR>()};
 1169|    453|            other.construct<TypeL>(cast<TypeL>());
 1170|    453|            construct<TypeR>(temp);
 1171|    453|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvRS5_:
 1161|    725|        {
 1162|    725|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    725|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    725|        {
 1168|    725|            TypeR temp{other.cast<TypeR>()};
 1169|    725|            other.construct<TypeL>(cast<TypeL>());
 1170|    725|            construct<TypeR>(temp);
 1171|    725|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20short_string_storageEEEvRS5_:
 1175|  10.7k|        {
 1176|  10.7k|            switch (other.storage_kind())
 1177|  10.7k|            {
 1178|      0|                case json_storage_kind::null         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (1178:17): [True: 0, False: 10.7k]
  ------------------
 1179|      0|                case json_storage_kind::empty_object : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (1179:17): [True: 0, False: 10.7k]
  ------------------
 1180|      0|                case json_storage_kind::boolean         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (1180:17): [True: 0, False: 10.7k]
  ------------------
 1181|      0|                case json_storage_kind::int64        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (1181:17): [True: 0, False: 10.7k]
  ------------------
 1182|      0|                case json_storage_kind::uint64       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (1182:17): [True: 0, False: 10.7k]
  ------------------
 1183|      0|                case json_storage_kind::half_float         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (1183:17): [True: 0, False: 10.7k]
  ------------------
 1184|      0|                case json_storage_kind::float64       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (1184:17): [True: 0, False: 10.7k]
  ------------------
 1185|      0|                case json_storage_kind::short_str : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (1185:17): [True: 0, False: 10.7k]
  ------------------
 1186|  1.34k|                case json_storage_kind::long_str  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (1186:17): [True: 1.34k, False: 9.38k]
  ------------------
 1187|    510|                case json_storage_kind::byte_str  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (1187:17): [True: 510, False: 10.2k]
  ------------------
 1188|  2.57k|                case json_storage_kind::array        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (1188:17): [True: 2.57k, False: 8.15k]
  ------------------
 1189|  6.29k|                case json_storage_kind::object       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (1189:17): [True: 6.29k, False: 4.42k]
  ------------------
 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.7k]
  ------------------
 1191|      0|                case json_storage_kind::json_ref : swap_l_r<TypeL, json_ref_storage>(other); break;
  ------------------
  |  Branch (1191:17): [True: 0, False: 10.7k]
  ------------------
 1192|      0|                default:
  ------------------
  |  Branch (1192:17): [True: 0, False: 10.7k]
  ------------------
 1193|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   79|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 1194|      0|                    break;
 1195|  10.7k|            }
 1196|  10.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvRS5_:
 1161|  1.34k|        {
 1162|  1.34k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  1.34k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  1.34k|        {
 1168|  1.34k|            TypeR temp{other.cast<TypeR>()};
 1169|  1.34k|            other.construct<TypeL>(cast<TypeL>());
 1170|  1.34k|            construct<TypeR>(temp);
 1171|  1.34k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvRS5_:
 1161|    510|        {
 1162|    510|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|    510|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|    510|        {
 1168|    510|            TypeR temp{other.cast<TypeR>()};
 1169|    510|            other.construct<TypeL>(cast<TypeL>());
 1170|    510|            construct<TypeR>(temp);
 1171|    510|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvRS5_:
 1161|  2.57k|        {
 1162|  2.57k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  2.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  2.57k|        {
 1168|  2.57k|            TypeR temp{other.cast<TypeR>()};
 1169|  2.57k|            other.construct<TypeL>(cast<TypeL>());
 1170|  2.57k|            construct<TypeR>(temp);
 1171|  2.57k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvRS5_:
 1161|  6.29k|        {
 1162|  6.29k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 1163|  6.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 1167|  6.29k|        {
 1168|  6.29k|            TypeR temp{other.cast<TypeR>()};
 1169|  6.29k|            other.construct<TypeL>(cast<TypeL>());
 1170|  6.29k|            construct<TypeR>(temp);
 1171|  6.29k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2631|  17.4M|        {
 2632|  17.4M|            construct<uint64_storage>(val, tag);
 2633|  17.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
 1000|  17.4M|        {
 1001|  17.4M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  17.4M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  521|  17.4M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::uint64)), short_str_length_(0), tag_(tag),
  522|  17.4M|                  val_(val)
  523|  17.4M|            {
  524|  17.4M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr10ext_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 2662|  3.11M|        {
 2663|  3.11M|            construct<int64_storage>(val, tag);
 2664|  3.11M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
 1000|  3.11M|        {
 1001|  3.11M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  3.11M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  501|  3.11M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::int64)), short_str_length_(0), tag_(tag),
  502|  3.11M|                  val_(val)
  503|  3.11M|            {
  504|  3.11M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 2619|  74.2k|        {
 2620|  74.2k|            construct<double_storage>(val, tag);
 2621|  74.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
 1000|  74.2k|        {
 1001|  74.2k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  74.2k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  560|  74.2k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::float64)), short_str_length_(0), tag_(tag),
  561|  74.2k|                  val_(val)
  562|  74.2k|            {
  563|  74.2k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagE:
 2406|  4.20M|        {
 2407|  4.20M|            auto ptr = create_array(Allocator());
 2408|  4.20M|            construct<array_storage>(ptr, tag);
 2409|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12create_arrayIJEEEPNS_10json_arrayIS5_NS2_6vectorEEERKS4_DpOT_:
  962|  4.20M|        {
  963|  4.20M|            using stor_allocator_type = typename array_storage::allocator_type;
  964|  4.20M|            stor_allocator_type stor_alloc(alloc);
  965|  4.20M|            auto ptr = std::allocator_traits<stor_allocator_type>::allocate(stor_alloc, 1);
  966|  4.20M|            JSONCONS_TRY
  ------------------
  |  |   37|  4.20M|    #define JSONCONS_TRY try
  ------------------
  967|  4.20M|            {
  968|  4.20M|                std::allocator_traits<stor_allocator_type>::construct(stor_alloc, ext_traits::to_plain_pointer(ptr), 
  969|  4.20M|                    std::forward<Args>(args)...);
  970|  4.20M|            }
  971|  4.20M|            JSONCONS_CATCH(...)
  972|  4.20M|            {
  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.20M|            return ptr;
  977|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJRPNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 1000|  4.20M|        {
 1001|  4.20M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  4.20M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EPNS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  727|  4.20M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::array)), short_str_length_(0), tag_(tag), ptr_(ptr)
  728|  4.20M|            {
  729|  4.20M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 2708|  2.18M|        {
 2709|  2.18M|            construct<null_storage>(tag);
 2710|  2.18M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
 1000|  2.18M|        {
 1001|  2.18M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.18M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 2718|  2.47M|        {
 2719|  2.47M|            construct<bool_storage>(val,tag);
 2720|  2.47M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
 1000|  2.47M|        {
 1001|  2.47M|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  2.47M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  480|  2.47M|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::boolean)), short_str_length_(0), tag_(tag),
  481|  2.47M|                  val_(val)
  482|  2.47M|            {
  483|  2.47M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagE:
 2566|   348k|            : basic_json(s.data(), s.size(), tag, allocator_type())
 2567|   348k|        {
 2568|   348k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 2596|   348k|        {
 2597|   348k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (2597:17): [True: 335k, False: 13.8k]
  ------------------
 2598|   335k|            {
 2599|   335k|                construct<short_string_storage>(s, static_cast<uint8_t>(length), tag);
 2600|   335k|            }
 2601|  13.8k|            else
 2602|  13.8k|            {
 2603|  13.8k|                auto ptr = create_long_string(alloc, s, length);
 2604|  13.8k|                construct<long_string_storage>(ptr, tag);
 2605|  13.8k|            }
 2606|   348k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRPKchRNS_12semantic_tagEEEEvDpOT0_:
 1000|   335k|        {
 1001|   335k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   335k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2EPKchNS_12semantic_tagE:
  582|   335k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::short_str)), short_str_length_(length), tag_(tag)
  583|   335k|            {
  584|   335k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |   45|   335k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 335k]
  |  |  ------------------
  |  |   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|   335k|                std::memcpy(data_,p,length*sizeof(char_type));
  586|   335k|                data_[length] = 0;
  587|   335k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_long_stringERKS4_PKcm:
  948|  13.8k|        {
  949|  13.8k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<char_type,null_type,Allocator>;
  950|  13.8k|            return heap_string_factory_type::create(data, length, null_type(), alloc); 
  951|  13.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRPNS_4heap11heap_stringIcNS_9null_typeES4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|  13.8k|        {
 1001|  13.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  13.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EPNS_4heap11heap_stringIcNS_9null_typeES4_EENS_12semantic_tagE:
  626|  13.8k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::long_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  627|  13.8k|            {
  628|  13.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS2_17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 2728|    889|            : basic_json(sv.data(), sv.length(), tag, alloc)
 2729|    889|        {
 2730|    889|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagENS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2736|   150k|        {
 2737|   150k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2738|       |            
 2739|   150k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), 0);
 2740|   150k|            construct<byte_string_storage>(ptr, tag);
 2741|   150k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18create_byte_stringERKS4_PKhmm:
  955|   220k|        {
  956|   220k|            using heap_string_factory_type = jsoncons::heap::heap_string_factory<uint8_t,uint64_t,Allocator>;
  957|   220k|            return heap_string_factory_type::create(data, length, ext_tag, alloc); 
  958|   220k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EERNS_12semantic_tagEEEEvDpOT0_:
 1000|   150k|        {
 1001|   150k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|   150k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagE:
  675|   220k|                : storage_kind_(static_cast<uint8_t>(json_storage_kind::byte_str)), short_str_length_(0), tag_(tag), ptr_(ptr)
  676|   220k|            {
  677|   220k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_NS_12semantic_tagERKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2748|      4|        {
 2749|      4|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2750|       |
 2751|      4|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0);
 2752|      4|            construct<byte_string_storage>(ptr, tag);
 2753|      4|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mNS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2759|  69.8k|        {
 2760|  69.8k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2761|       |
 2762|  69.8k|            auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), ext_tag);
 2763|  69.8k|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2764|  69.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJRPNS_4heap11heap_stringIhmS4_EENS_12semantic_tagEEEEvDpOT0_:
 1000|  69.8k|        {
 1001|  69.8k|            ::new (&cast<StorageType>()) StorageType(std::forward<Args>(args)...);
 1002|  69.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS9_EE5valueEiE4typeE:
 2771|      5|        {
 2772|      5|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 2773|       |
 2774|      5|            auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), ext_tag);
 2775|      5|            construct<byte_string_storage>(ptr, semantic_tag::ext);
 2776|      5|        }

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

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

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

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

_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEEC2ERNS_18basic_json_visitorIcEERKS3_:
  858|  6.81k|            : destination_(std::addressof(visitor)), 
  859|  6.81k|              key_(alloc), key_buffer_(alloc), level_stack_(alloc)
  860|  6.81k|        {
  861|  6.81k|            level_stack_.emplace_back(target_t::destination,container_t::root); // root
  862|  6.81k|        }
_ZN8jsoncons24basic_item_event_visitorIcEC2Ev:
   51|  6.81k|        basic_item_event_visitor() = default;
_ZN8jsoncons24basic_item_event_visitorIcE11begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  293|  5.95M|        {
  294|  5.95M|            visit_begin_array(length, tag, context, ec);
  295|  5.95M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.95M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  296|  5.95M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  362|  36.4M|        {
  363|  36.4M|            visit_uint64(value, tag, context, ec);
  364|  36.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  365|  36.4M|        }
_ZN8jsoncons24basic_item_event_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  299|  5.91M|        {
  300|  5.91M|            visit_end_array(context, ec);
  301|  5.91M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.91M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  302|  5.91M|        }
_ZN8jsoncons24basic_item_event_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  371|  5.44M|        {
  372|  5.44M|            visit_int64(value, tag, context, ec);
  373|  5.44M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  374|  5.44M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  389|   169k|        {
  390|   169k|            visit_double(value, tag, context, ec);
  391|   169k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   169k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  392|   169k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5levelC2ENS4_8target_tENS4_11container_tE:
  797|  11.0M|                : state_(state), type_(type), even_odd_(type == container_t::object ? 0 : 1)
  ------------------
  |  Branch (797:57): [True: 5.12M, False: 5.96M]
  ------------------
  798|  11.0M|            {
  799|  11.0M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_begin_arrayEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1011|  5.95M|        {
 1012|  5.95M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1012:17): [True: 601k, False: 5.35M]
  ------------------
 1013|   601k|            {
 1014|   601k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1014:21): [True: 372k, False: 229k]
  |  Branch (1014:73): [True: 369k, False: 2.84k]
  ------------------
 1015|   369k|                {
 1016|   369k|                    key_buffer_.push_back(',');
 1017|   369k|                }
 1018|   601k|                level_stack_.emplace_back(target_t::buffer, container_t::array);
 1019|   601k|                key_buffer_.push_back('[');
 1020|   601k|            }
 1021|  5.35M|            else
 1022|  5.35M|            {
 1023|  5.35M|                switch (level_stack_.back().target())
 1024|  5.35M|                {
 1025|  1.15M|                    case target_t::buffer:
  ------------------
  |  Branch (1025:21): [True: 1.15M, False: 4.20M]
  ------------------
 1026|  1.15M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1026:29): [True: 777k, False: 373k]
  |  Branch (1026:65): [True: 755k, False: 21.9k]
  ------------------
 1027|   755k|                        {
 1028|   755k|                            key_buffer_.push_back(',');
 1029|   755k|                        }
 1030|  1.15M|                        level_stack_.emplace_back(target_t::buffer, container_t::array);
 1031|  1.15M|                        key_buffer_.push_back('[');
 1032|  1.15M|                        break;
 1033|  4.20M|                    default:
  ------------------
  |  Branch (1033:21): [True: 4.20M, False: 1.15M]
  ------------------
 1034|  4.20M|                        level_stack_.emplace_back(target_t::destination, container_t::array);
 1035|  4.20M|                        destination_->begin_array(length, tag, context, ec);
 1036|  4.20M|                        break;
 1037|  5.35M|                }
 1038|  5.35M|            }
 1039|  5.95M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.95M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1040|  5.95M|        }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level6is_keyEv:
  814|   222M|            {
  815|   222M|                return even_odd_ == 0;
  816|   222M|            }
_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.9M|            {
  830|  30.9M|                return count_;
  831|  30.9M|            }
_ZNK8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level9is_objectEv:
  819|   108M|            {
  820|   108M|                return type_ == container_t::object;
  821|   108M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE15visit_end_arrayERKNS_11ser_contextERNS1_10error_codeE:
 1043|  5.91M|        {
 1044|  5.91M|            switch (level_stack_.back().target())
 1045|  5.91M|            {
 1046|  1.74M|                case target_t::buffer:
  ------------------
  |  Branch (1046:17): [True: 1.74M, False: 4.16M]
  ------------------
 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: 228k, False: 1.51M]
  ------------------
 1051|   228k|                    {
 1052|   228k|                        destination_->key(key_buffer_, context, ec);
 1053|   228k|                        key_buffer_.clear();
 1054|   228k|                    }
 1055|  1.51M|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (1055:30): [True: 371k, False: 1.14M]
  ------------------
 1056|   371k|                    {
 1057|   371k|                        key_buffer_.push_back(':');
 1058|   371k|                    }
 1059|  1.74M|                    level_stack_.back().advance();
 1060|  1.74M|                    break;
 1061|  4.16M|                default:
  ------------------
  |  Branch (1061:17): [True: 4.16M, False: 1.74M]
  ------------------
 1062|  4.16M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  4.16M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.16M]
  |  |  ------------------
  |  |   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.16M|                    level_stack_.pop_back();
 1064|  4.16M|                    level_stack_.back().advance();
 1065|  4.16M|                    destination_->end_array(context, ec);
 1066|  4.16M|                    break;
 1067|  5.91M|            }
 1068|  5.91M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.91M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1069|  5.91M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE5level7advanceEv:
  802|  77.2M|            {
  803|  77.2M|                if (!is_key())
  ------------------
  |  Branch (803:21): [True: 65.2M, False: 12.0M]
  ------------------
  804|  65.2M|                {
  805|  65.2M|                    ++count_;
  806|  65.2M|                }
  807|  77.2M|                if (is_object())
  ------------------
  |  Branch (807:21): [True: 24.0M, False: 53.1M]
  ------------------
  808|  24.0M|                {
  809|  24.0M|                    even_odd_ = !even_odd_;
  810|  24.0M|                }
  811|  77.2M|            }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1236|  36.4M|        {
 1237|  36.4M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1237:17): [True: 8.62M, False: 27.7M]
  |  Branch (1237:49): [True: 10.3M, False: 17.4M]
  ------------------
 1238|  18.9M|            {
 1239|  18.9M|                key_.clear();
 1240|  18.9M|                jsoncons::from_integer(value,key_);
 1241|  18.9M|            }
 1242|       |
 1243|  36.4M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1243:17): [True: 8.62M, False: 27.7M]
  ------------------
 1244|  8.62M|            {
 1245|  8.62M|                switch (level_stack_.back().target())
 1246|  8.62M|                {
 1247|  5.81M|                    case target_t::buffer:
  ------------------
  |  Branch (1247:21): [True: 5.81M, False: 2.80M]
  ------------------
 1248|  5.81M|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1248:29): [True: 5.80M, False: 16.9k]
  ------------------
 1249|  5.80M|                        {
 1250|  5.80M|                            key_buffer_.push_back(',');
 1251|  5.80M|                        }
 1252|  5.81M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1253|  5.81M|                        key_buffer_.push_back(':');
 1254|  5.81M|                        break;
 1255|  2.80M|                    default:
  ------------------
  |  Branch (1255:21): [True: 2.80M, False: 5.81M]
  ------------------
 1256|  2.80M|                        destination_->key(key_, context, ec);
 1257|  2.80M|                        break;
 1258|  8.62M|                }
 1259|  8.62M|            }
 1260|  27.7M|            else
 1261|  27.7M|            {
 1262|  27.7M|                switch (level_stack_.back().target())
 1263|  27.7M|                {
 1264|  10.3M|                    case target_t::buffer:
  ------------------
  |  Branch (1264:21): [True: 10.3M, False: 17.4M]
  ------------------
 1265|  10.3M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1265:29): [True: 4.54M, False: 5.81M]
  |  Branch (1265:65): [True: 4.54M, False: 9.27k]
  ------------------
 1266|  4.54M|                        {
 1267|  4.54M|                            key_buffer_.push_back(',');
 1268|  4.54M|                        }
 1269|  10.3M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1270|  10.3M|                        break;
 1271|  17.4M|                    default:
  ------------------
  |  Branch (1271:21): [True: 17.4M, False: 10.3M]
  ------------------
 1272|  17.4M|                        destination_->uint64_value(value, tag, context, ec);
 1273|  17.4M|                        break;
 1274|  27.7M|                }
 1275|  27.7M|            }
 1276|       |
 1277|  36.4M|            level_stack_.back().advance();
 1278|  36.4M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  36.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1279|  36.4M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1282|  5.44M|        {
 1283|  5.44M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1283:17): [True: 363k, False: 5.08M]
  |  Branch (1283:49): [True: 1.97M, False: 3.11M]
  ------------------
 1284|  2.33M|            {
 1285|  2.33M|                key_.clear();
 1286|  2.33M|                jsoncons::from_integer(value,key_);
 1287|  2.33M|            }
 1288|       |
 1289|  5.44M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1289:17): [True: 363k, False: 5.08M]
  ------------------
 1290|   363k|            {
 1291|   363k|                switch (level_stack_.back().target())
 1292|   363k|                {
 1293|   231k|                    case target_t::buffer:
  ------------------
  |  Branch (1293:21): [True: 231k, False: 131k]
  ------------------
 1294|   231k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1294:29): [True: 222k, False: 9.45k]
  ------------------
 1295|   222k|                        {
 1296|   222k|                            key_buffer_.push_back(',');
 1297|   222k|                        }
 1298|   231k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1299|   231k|                        key_buffer_.push_back(':');
 1300|   231k|                        break;
 1301|   131k|                    default:
  ------------------
  |  Branch (1301:21): [True: 131k, False: 231k]
  ------------------
 1302|   131k|                        destination_->key(key_, context, ec);
 1303|   131k|                        break;
 1304|   363k|                }
 1305|   363k|            }
 1306|  5.08M|            else
 1307|  5.08M|            {
 1308|  5.08M|                switch (level_stack_.back().target())
 1309|  5.08M|                {
 1310|  1.97M|                    case target_t::buffer:
  ------------------
  |  Branch (1310:21): [True: 1.97M, False: 3.11M]
  ------------------
 1311|  1.97M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1311:29): [True: 1.74M, False: 231k]
  |  Branch (1311:65): [True: 1.73M, False: 2.09k]
  ------------------
 1312|  1.73M|                        {
 1313|  1.73M|                            key_buffer_.push_back(',');
 1314|  1.73M|                        }
 1315|  1.97M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1316|  1.97M|                        break;
 1317|  3.11M|                    default:
  ------------------
  |  Branch (1317:21): [True: 3.11M, False: 1.97M]
  ------------------
 1318|  3.11M|                        destination_->int64_value(value, tag, context, ec);
 1319|  3.11M|                        break;
 1320|  5.08M|                }
 1321|  5.08M|            }
 1322|       |
 1323|  5.44M|            level_stack_.back().advance();
 1324|  5.44M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.44M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1325|  5.44M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1377|   169k|        {
 1378|   169k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1378:17): [True: 37.1k, False: 132k]
  |  Branch (1378:49): [True: 58.1k, False: 74.2k]
  ------------------
 1379|  95.2k|            {
 1380|  95.2k|                key_.clear();
 1381|  95.2k|                string_sink<string_type> sink(key_);
 1382|  95.2k|                jsoncons::write_double f{float_chars_format::general,0};
 1383|  95.2k|                f(value, sink);
 1384|  95.2k|            }
 1385|       |
 1386|   169k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1386:17): [True: 37.1k, False: 132k]
  ------------------
 1387|  37.1k|            {
 1388|  37.1k|                switch (level_stack_.back().target())
 1389|  37.1k|                {
 1390|  25.7k|                    case target_t::buffer:
  ------------------
  |  Branch (1390:21): [True: 25.7k, False: 11.3k]
  ------------------
 1391|  25.7k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1391:29): [True: 21.0k, False: 4.70k]
  ------------------
 1392|  21.0k|                        {
 1393|  21.0k|                            key_buffer_.push_back(',');
 1394|  21.0k|                        }
 1395|  25.7k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1396|  25.7k|                        key_buffer_.push_back(':');
 1397|  25.7k|                        break;
 1398|  11.3k|                    default:
  ------------------
  |  Branch (1398:21): [True: 11.3k, False: 25.7k]
  ------------------
 1399|  11.3k|                        destination_->key(key_, context, ec);
 1400|  11.3k|                        break;
 1401|  37.1k|                }
 1402|  37.1k|            }
 1403|   132k|            else
 1404|   132k|            {
 1405|   132k|                switch (level_stack_.back().target())
 1406|   132k|                {
 1407|  58.1k|                    case target_t::buffer:
  ------------------
  |  Branch (1407:21): [True: 58.1k, False: 74.2k]
  ------------------
 1408|  58.1k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1408:29): [True: 36.3k, False: 21.8k]
  |  Branch (1408:65): [True: 34.9k, False: 1.40k]
  ------------------
 1409|  34.9k|                        {
 1410|  34.9k|                            key_buffer_.push_back(',');
 1411|  34.9k|                        }
 1412|  58.1k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1413|  58.1k|                        break;
 1414|  74.2k|                    default:
  ------------------
  |  Branch (1414:21): [True: 74.2k, False: 58.1k]
  ------------------
 1415|  74.2k|                        destination_->double_value(value, tag, context, ec);
 1416|  74.2k|                        break;
 1417|   132k|                }
 1418|   132k|            }
 1419|       |
 1420|   169k|            level_stack_.back().advance();
 1421|   169k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   169k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1422|   169k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE11visit_flushEv:
  884|  2.43k|        {
  885|  2.43k|            destination_->flush();
  886|  2.43k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
  917|  5.12M|        {
  918|  5.12M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (918:17): [True: 304k, False: 4.81M]
  ------------------
  919|   304k|            {
  920|   304k|                if (level_stack_.back().target() == target_t::buffer && level_stack_.back().count() > 0)
  ------------------
  |  Branch (920:21): [True: 84.1k, False: 220k]
  |  Branch (920:73): [True: 71.3k, False: 12.8k]
  ------------------
  921|  71.3k|                {
  922|  71.3k|                    key_buffer_.push_back(',');
  923|  71.3k|                }
  924|   304k|                level_stack_.emplace_back(target_t::buffer, container_t::object);
  925|   304k|                key_buffer_.push_back('{');
  926|   304k|            }
  927|  4.81M|            else
  928|  4.81M|            {
  929|  4.81M|                switch (level_stack_.back().target())
  930|  4.81M|                {
  931|   527k|                    case target_t::buffer:
  ------------------
  |  Branch (931:21): [True: 527k, False: 4.28M]
  ------------------
  932|   527k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (932:29): [True: 431k, False: 96.0k]
  |  Branch (932:65): [True: 429k, False: 2.34k]
  ------------------
  933|   429k|                        {
  934|   429k|                            key_buffer_.push_back(',');
  935|   429k|                        }
  936|   527k|                        level_stack_.emplace_back(target_t::buffer, container_t::object);
  937|   527k|                        key_buffer_.push_back('{');
  938|   527k|                        break;
  939|  4.28M|                    default:
  ------------------
  |  Branch (939:21): [True: 4.28M, False: 527k]
  ------------------
  940|  4.28M|                        level_stack_.emplace_back(target_t::destination, container_t::object);
  941|  4.28M|                        destination_->begin_object(length, tag, context, ec);
  942|  4.28M|                        break;
  943|  4.81M|                }
  944|  4.81M|            }
  945|  5.12M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  946|  5.12M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE16visit_end_objectERKNS_11ser_contextERNS1_10error_codeE:
  949|  5.10M|        {
  950|  5.10M|            switch (level_stack_.back().target())
  951|  5.10M|            {
  952|   824k|                case target_t::buffer:
  ------------------
  |  Branch (952:17): [True: 824k, False: 4.28M]
  ------------------
  953|   824k|                    key_buffer_.push_back('}');
  954|   824k|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|   824k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 824k]
  |  |  ------------------
  |  |   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|   824k|                    level_stack_.pop_back();
  956|       |                    
  957|   824k|                    if (level_stack_.back().target() == target_t::destination)
  ------------------
  |  Branch (957:25): [True: 219k, False: 604k]
  ------------------
  958|   219k|                    {
  959|   219k|                        destination_->key(key_buffer_,context, ec);
  960|   219k|                        key_buffer_.clear();
  961|   219k|                    }
  962|   604k|                    else if (level_stack_.back().is_key())
  ------------------
  |  Branch (962:30): [True: 81.7k, False: 522k]
  ------------------
  963|  81.7k|                    {
  964|  81.7k|                        key_buffer_.push_back(':');
  965|  81.7k|                    }
  966|   824k|                    level_stack_.back().advance();
  967|   824k|                    break;
  968|  4.28M|                default:
  ------------------
  |  Branch (968:17): [True: 4.28M, False: 824k]
  ------------------
  969|  4.28M|                    JSONCONS_ASSERT(level_stack_.size() > 1);
  ------------------
  |  |   45|  4.28M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.28M]
  |  |  ------------------
  |  |   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|  4.28M|                    level_stack_.pop_back();
  971|  4.28M|                    level_stack_.back().advance();
  972|  4.28M|                    destination_->end_object(context, ec);
  973|  4.28M|                    break;
  974|  5.10M|            }
  975|  5.10M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  976|  5.10M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1478|  3.28M|        {
 1479|  3.28M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1479:17): [True: 372k, False: 2.90M]
  |  Branch (1479:49): [True: 723k, False: 2.18M]
  ------------------
 1480|  1.09M|            {
 1481|  1.09M|                key_.clear(); 
 1482|  1.09M|                key_.insert(key_.begin(), null_constant.begin(), null_constant.end());
 1483|  1.09M|            }
 1484|       |
 1485|  3.28M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1485:17): [True: 372k, False: 2.90M]
  ------------------
 1486|   372k|            {
 1487|   372k|                switch (level_stack_.back().target())
 1488|   372k|                {
 1489|   308k|                    case target_t::buffer:
  ------------------
  |  Branch (1489:21): [True: 308k, False: 63.6k]
  ------------------
 1490|   308k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1490:29): [True: 307k, False: 1.76k]
  ------------------
 1491|   307k|                        {
 1492|   307k|                            key_buffer_.push_back(',');
 1493|   307k|                        }
 1494|   308k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1495|   308k|                        key_buffer_.push_back(':');
 1496|   308k|                        break;
 1497|  63.6k|                    default:
  ------------------
  |  Branch (1497:21): [True: 63.6k, False: 308k]
  ------------------
 1498|  63.6k|                        destination_->key(key_, context, ec);
 1499|  63.6k|                        break;
 1500|   372k|                }
 1501|   372k|            }
 1502|  2.90M|            else
 1503|  2.90M|            {
 1504|  2.90M|                switch (level_stack_.back().target())
 1505|  2.90M|                {
 1506|   723k|                    case target_t::buffer:
  ------------------
  |  Branch (1506:21): [True: 723k, False: 2.18M]
  ------------------
 1507|   723k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1507:29): [True: 414k, False: 308k]
  |  Branch (1507:65): [True: 413k, False: 806]
  ------------------
 1508|   413k|                        {
 1509|   413k|                            key_buffer_.push_back(',');
 1510|   413k|                        }
 1511|   723k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1512|   723k|                        break;
 1513|  2.18M|                    default:
  ------------------
  |  Branch (1513:21): [True: 2.18M, False: 723k]
  ------------------
 1514|  2.18M|                        destination_->null_value(tag, context, ec);
 1515|  2.18M|                        break;
 1516|  2.90M|                }
 1517|  2.90M|            }
 1518|       |
 1519|  3.28M|            level_stack_.back().advance();
 1520|  3.28M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1521|  3.28M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1425|  19.9M|        {
 1426|  19.9M|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1426:17): [True: 1.56M, False: 18.4M]
  |  Branch (1426:49): [True: 15.9M, False: 2.47M]
  ------------------
 1427|  17.5M|            {
 1428|  17.5M|                key_.clear(); 
 1429|  17.5M|                if (value)
  ------------------
  |  Branch (1429:21): [True: 95.1k, False: 17.4M]
  ------------------
 1430|  95.1k|                {
 1431|  95.1k|                    key_.insert(key_.begin(), true_constant.begin(), true_constant.end());
 1432|  95.1k|                }
 1433|  17.4M|                else
 1434|  17.4M|                {
 1435|  17.4M|                    key_.insert(key_.begin(), false_constant.begin(), false_constant.end());
 1436|  17.4M|                }
 1437|  17.5M|            }
 1438|       |
 1439|  19.9M|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1439:17): [True: 1.56M, False: 18.4M]
  ------------------
 1440|  1.56M|            {
 1441|  1.56M|                switch (level_stack_.back().target())
 1442|  1.56M|                {
 1443|   807k|                    case target_t::buffer:
  ------------------
  |  Branch (1443:21): [True: 807k, False: 760k]
  ------------------
 1444|   807k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1444:29): [True: 796k, False: 11.4k]
  ------------------
 1445|   796k|                        {
 1446|   796k|                            key_buffer_.push_back(',');
 1447|   796k|                        }
 1448|   807k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1449|   807k|                        key_buffer_.push_back(':');
 1450|   807k|                        break;
 1451|   760k|                    default:
  ------------------
  |  Branch (1451:21): [True: 760k, False: 807k]
  ------------------
 1452|   760k|                        destination_->key(key_, context, ec);
 1453|   760k|                        break;
 1454|  1.56M|                }
 1455|  1.56M|            }
 1456|  18.4M|            else
 1457|  18.4M|            {
 1458|  18.4M|                switch (level_stack_.back().target())
 1459|  18.4M|                {
 1460|  15.9M|                    case target_t::buffer:
  ------------------
  |  Branch (1460:21): [True: 15.9M, False: 2.47M]
  ------------------
 1461|  15.9M|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1461:29): [True: 15.1M, False: 808k]
  |  Branch (1461:65): [True: 15.1M, False: 3.04k]
  ------------------
 1462|  15.1M|                        {
 1463|  15.1M|                            key_buffer_.push_back(',');
 1464|  15.1M|                        }
 1465|  15.9M|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1466|  15.9M|                        break;
 1467|  2.47M|                    default:
  ------------------
  |  Branch (1467:21): [True: 2.47M, False: 15.9M]
  ------------------
 1468|  2.47M|                        destination_->bool_value(value, tag, context, ec);
 1469|  2.47M|                        break;
 1470|  18.4M|                }
 1471|  18.4M|            }
 1472|       |
 1473|  19.9M|            level_stack_.back().advance();
 1474|  19.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  19.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1475|  19.9M|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE12visit_stringERKNS1_17basic_string_viewIcNS1_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1075|   648k|        {
 1076|   648k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1076:17): [True: 134k, False: 514k]
  ------------------
 1077|   134k|            {
 1078|   134k|                switch (level_stack_.back().target())
 1079|   134k|                {
 1080|  91.7k|                    case target_t::buffer:
  ------------------
  |  Branch (1080:21): [True: 91.7k, False: 42.6k]
  ------------------
 1081|  91.7k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1081:29): [True: 89.3k, False: 2.35k]
  ------------------
 1082|  89.3k|                        {
 1083|  89.3k|                            key_buffer_.push_back(',');
 1084|  89.3k|                        }
 1085|  91.7k|                        key_buffer_.push_back('\"');
 1086|  91.7k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1087|  91.7k|                        key_buffer_.push_back('\"');
 1088|  91.7k|                        key_buffer_.push_back(':');
 1089|  91.7k|                        break;
 1090|  42.6k|                    default:
  ------------------
  |  Branch (1090:21): [True: 42.6k, False: 91.7k]
  ------------------
 1091|  42.6k|                        destination_->key(value, context, ec);
 1092|  42.6k|                        break;
 1093|   134k|                }
 1094|   134k|            }
 1095|   514k|            else
 1096|   514k|            {
 1097|   514k|                switch (level_stack_.back().target())
 1098|   514k|                {
 1099|   165k|                    case target_t::buffer:
  ------------------
  |  Branch (1099:21): [True: 165k, False: 348k]
  ------------------
 1100|   165k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1100:29): [True: 80.4k, False: 84.7k]
  |  Branch (1100:65): [True: 79.1k, False: 1.29k]
  ------------------
 1101|  79.1k|                        {
 1102|  79.1k|                            key_buffer_.push_back(',');
 1103|  79.1k|                        }
 1104|   165k|                        key_buffer_.push_back('\"');
 1105|   165k|                        key_buffer_.insert(key_buffer_.end(), value.begin(), value.end());
 1106|   165k|                        key_buffer_.push_back('\"');
 1107|   165k|                        break;
 1108|   348k|                    default:
  ------------------
  |  Branch (1108:21): [True: 348k, False: 165k]
  ------------------
 1109|   348k|                        destination_->string_value(value, tag, context, ec);
 1110|   348k|                        break;
 1111|   514k|                }
 1112|   514k|            }
 1113|       |
 1114|   648k|            level_stack_.back().advance();
 1115|   648k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   648k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1116|   648k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS1_10error_codeE:
 1122|   209k|        {
 1123|   209k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1123:17): [True: 26.9k, False: 182k]
  |  Branch (1123:49): [True: 32.3k, False: 150k]
  ------------------
 1124|  59.3k|            {
 1125|  59.3k|                key_.clear();
 1126|  59.3k|                switch (tag)
 1127|  59.3k|                {
 1128|      0|                    case semantic_tag::base64:
  ------------------
  |  Branch (1128:21): [True: 0, False: 59.3k]
  ------------------
 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: 59.3k]
  ------------------
 1132|      0|                        bytes_to_base16(value.begin(), value.end(),key_);
 1133|      0|                        break;
 1134|  59.3k|                    default:
  ------------------
  |  Branch (1134:21): [True: 59.3k, False: 0]
  ------------------
 1135|  59.3k|                        bytes_to_base64url(value.begin(), value.end(),key_);
 1136|  59.3k|                        break;
 1137|  59.3k|                }
 1138|  59.3k|            }
 1139|       |
 1140|   209k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1140:17): [True: 26.9k, False: 182k]
  ------------------
 1141|  26.9k|            {
 1142|  26.9k|                switch (level_stack_.back().target())
 1143|  26.9k|                {
 1144|  16.8k|                    case target_t::buffer:
  ------------------
  |  Branch (1144:21): [True: 16.8k, False: 10.0k]
  ------------------
 1145|  16.8k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1145:29): [True: 15.6k, False: 1.25k]
  ------------------
 1146|  15.6k|                        {
 1147|  15.6k|                            key_buffer_.push_back(',');
 1148|  15.6k|                        }
 1149|  16.8k|                        key_buffer_.push_back('\"');
 1150|  16.8k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1151|  16.8k|                        key_buffer_.push_back('\"');
 1152|  16.8k|                        key_buffer_.push_back(':');
 1153|  16.8k|                        break;
 1154|  10.0k|                    default:
  ------------------
  |  Branch (1154:21): [True: 10.0k, False: 16.8k]
  ------------------
 1155|  10.0k|                        destination_->key(key_, context, ec);
 1156|  10.0k|                        break;
 1157|  26.9k|                }
 1158|  26.9k|            }
 1159|   182k|            else
 1160|   182k|            {
 1161|   182k|                switch (level_stack_.back().target())
 1162|   182k|                {
 1163|  32.3k|                    case target_t::buffer:
  ------------------
  |  Branch (1163:21): [True: 32.3k, False: 150k]
  ------------------
 1164|  32.3k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1164:29): [True: 16.5k, False: 15.8k]
  |  Branch (1164:65): [True: 16.1k, False: 362]
  ------------------
 1165|  16.1k|                        {
 1166|  16.1k|                            key_buffer_.push_back(',');
 1167|  16.1k|                        }
 1168|  32.3k|                        key_buffer_.push_back('\"');
 1169|  32.3k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1170|  32.3k|                        key_buffer_.push_back('\"');
 1171|  32.3k|                        break;
 1172|   150k|                    default:
  ------------------
  |  Branch (1172:21): [True: 150k, False: 32.3k]
  ------------------
 1173|   150k|                        destination_->byte_string_value(value, tag, context, ec);
 1174|   150k|                        break;
 1175|   182k|                }
 1176|   182k|            }
 1177|       |
 1178|   209k|            level_stack_.back().advance();
 1179|   209k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   209k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1180|   209k|        }
_ZN8jsoncons40basic_item_event_visitor_to_json_visitorIcNSt3__19allocatorIcEEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS1_10error_codeE:
 1186|   118k|        {
 1187|   118k|            if (level_stack_.back().is_key() || level_stack_.back().target() == target_t::buffer)
  ------------------
  |  Branch (1187:17): [True: 15.6k, False: 103k]
  |  Branch (1187:49): [True: 33.5k, False: 69.8k]
  ------------------
 1188|  49.1k|            {
 1189|  49.1k|                key_.clear();
 1190|  49.1k|                bytes_to_base64url(value.begin(), value.end(),key_);
 1191|  49.1k|            }
 1192|       |
 1193|   118k|            if (level_stack_.back().is_key())
  ------------------
  |  Branch (1193:17): [True: 15.6k, False: 103k]
  ------------------
 1194|  15.6k|            {
 1195|  15.6k|                switch (level_stack_.back().target())
 1196|  15.6k|                {
 1197|  10.4k|                    case target_t::buffer:
  ------------------
  |  Branch (1197:21): [True: 10.4k, False: 5.20k]
  ------------------
 1198|  10.4k|                        if (level_stack_.back().count() > 0)
  ------------------
  |  Branch (1198:29): [True: 8.56k, False: 1.84k]
  ------------------
 1199|  8.56k|                        {
 1200|  8.56k|                            key_buffer_.push_back(',');
 1201|  8.56k|                        }
 1202|  10.4k|                        key_buffer_.push_back('\"');
 1203|  10.4k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1204|  10.4k|                        key_buffer_.push_back('\"');
 1205|  10.4k|                        key_buffer_.push_back(':');
 1206|  10.4k|                        break;
 1207|  5.20k|                    default:
  ------------------
  |  Branch (1207:21): [True: 5.20k, False: 10.4k]
  ------------------
 1208|  5.20k|                        destination_->key(key_, context, ec);
 1209|  5.20k|                        break;
 1210|  15.6k|                }
 1211|  15.6k|            }
 1212|   103k|            else
 1213|   103k|            {
 1214|   103k|                switch (level_stack_.back().target())
 1215|   103k|                {
 1216|  33.5k|                    case target_t::buffer:
  ------------------
  |  Branch (1216:21): [True: 33.5k, False: 69.8k]
  ------------------
 1217|  33.5k|                        if (!level_stack_.back().is_object() && level_stack_.back().count() > 0)
  ------------------
  |  Branch (1217:29): [True: 23.8k, False: 9.64k]
  |  Branch (1217:65): [True: 22.7k, False: 1.12k]
  ------------------
 1218|  22.7k|                        {
 1219|  22.7k|                            key_buffer_.push_back(',');
 1220|  22.7k|                        }
 1221|  33.5k|                        key_buffer_.push_back('\"');
 1222|  33.5k|                        key_buffer_.insert(key_buffer_.end(), key_.begin(), key_.end());
 1223|  33.5k|                        key_buffer_.push_back('\"');
 1224|  33.5k|                        break;
 1225|  69.8k|                    default:
  ------------------
  |  Branch (1225:21): [True: 69.8k, False: 33.5k]
  ------------------
 1226|  69.8k|                        destination_->byte_string_value(value, ext_tag, context, ec);
 1227|  69.8k|                        break;
 1228|   103k|                }
 1229|   103k|            }
 1230|       |
 1231|   118k|            level_stack_.back().advance();
 1232|   118k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   118k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
 1233|   118k|        }
_ZN8jsoncons24basic_item_event_visitorIcE12begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  275|  5.12M|        {
  276|  5.12M|            visit_begin_object(length, tag, context, ec);
  277|  5.12M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.12M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  278|  5.12M|        }
_ZN8jsoncons24basic_item_event_visitorIcE12string_valueERKNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS2_10error_codeE:
  331|   648k|        {
  332|   648k|            visit_string(value, tag, context, ec);
  333|   648k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   648k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  334|   648k|        }
_ZN8jsoncons24basic_item_event_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  313|  3.28M|        {
  314|  3.28M|            visit_null(tag, context, ec);
  315|  3.28M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  316|  3.28M|        }
_ZN8jsoncons24basic_item_event_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  322|  19.9M|        {
  323|  19.9M|            visit_bool(value, tag, context, ec);
  324|  19.9M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  19.9M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  325|  19.9M|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_NS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeENSB_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  342|   209k|        {
  343|   209k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), tag, context, ec);
  344|   209k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   209k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  345|   209k|        }
_ZN8jsoncons24basic_item_event_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr10ext_traits18is_bytes_view_likeIS4_EE5valueEiE4typeE:
  353|   118k|        {
  354|   118k|            visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  355|   118k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   118k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  356|   118k|        }
_ZN8jsoncons24basic_item_event_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  281|  5.10M|        {
  282|  5.10M|            visit_end_object(context, ec);
  283|  5.10M|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  5.10M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  284|  5.10M|        }
_ZN8jsoncons24basic_item_event_visitorIcE5flushEv:
   56|  2.43k|        {
   57|  2.43k|            visit_flush();
   58|  2.43k|        }

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  107|  4.21M|        {
  108|  4.21M|            flatten_and_destroy();
  109|  4.21M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  246|  4.21M|        {
  247|  5.20M|            while (!elements_.empty())
  ------------------
  |  Branch (247:20): [True: 986k, False: 4.21M]
  ------------------
  248|   986k|            {
  249|   986k|                value_type current = std::move(elements_.back());
  250|   986k|                elements_.pop_back();
  251|   986k|                switch (current.storage_kind())
  252|   986k|                {
  253|  45.6k|                    case json_storage_kind::array:
  ------------------
  |  Branch (253:21): [True: 45.6k, False: 940k]
  ------------------
  254|  45.6k|                    {
  255|  45.6k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (255:42): [True: 2.28M, False: 45.6k]
  ------------------
  256|  2.28M|                        {
  257|  2.28M|                            if ((item.storage_kind() == json_storage_kind::array || item.storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (257:34): [True: 94.9k, False: 2.19M]
  |  Branch (257:85): [True: 11.8k, False: 2.17M]
  ------------------
  258|   106k|                                && !item.empty()) // non-empty object or array
  ------------------
  |  Branch (258:36): [True: 13.6k, False: 93.1k]
  ------------------
  259|  13.6k|                            {
  260|  13.6k|                                elements_.push_back(std::move(item));
  261|  13.6k|                            }
  262|  2.28M|                        }
  263|  45.6k|                        current.clear();                           
  264|  45.6k|                        break;
  265|      0|                    }
  266|   348k|                    case json_storage_kind::object:
  ------------------
  |  Branch (266:21): [True: 348k, False: 637k]
  ------------------
  267|   348k|                    {
  268|   348k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (268:40): [True: 93.2k, False: 348k]
  ------------------
  269|  93.2k|                        {
  270|  93.2k|                            if ((kv.value().storage_kind() == json_storage_kind::array || kv.value().storage_kind() == json_storage_kind::object)
  ------------------
  |  Branch (270:34): [True: 2.97k, False: 90.2k]
  |  Branch (270:91): [True: 25.6k, False: 64.6k]
  ------------------
  271|  28.6k|                                && !kv.value().empty()) // non-empty object or array
  ------------------
  |  Branch (271:36): [True: 24.9k, False: 3.69k]
  ------------------
  272|  24.9k|                            {
  273|  24.9k|                                elements_.push_back(std::move(kv.value()));
  274|  24.9k|                            }
  275|  93.2k|                        }
  276|   348k|                        current.clear();                           
  277|   348k|                        break;
  278|      0|                    }
  279|   592k|                    default:
  ------------------
  |  Branch (279:21): [True: 592k, False: 394k]
  ------------------
  280|   592k|                        break;
  281|   986k|                }
  282|   986k|            }
  283|  4.21M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  220|  45.6k|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  222|  45.6k|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  127|   104k|        {
  128|   104k|            return elements_.empty();
  129|   104k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  140|  45.6k|        void clear() {elements_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   51|  17.1k|            : allocator_holder<allocator_type>(alloc), 
   52|  17.1k|              elements_(value_allocator_type(alloc))
   53|  17.1k|        {
   54|  17.1k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  215|  7.82k|        {
  216|  7.82k|            elements_.emplace_back(std::forward<Args>(args)...);
  217|  7.82k|            return elements_.back();
  218|  7.82k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  151|  20.4k|        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.22M|        {
  177|  3.22M|            elements_.emplace_back(std::forward<T>(value));
  178|  3.22M|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2Ev:
   47|  4.20M|        {
   48|  4.20M|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   74|  6.81k|        : allocator_(alloc),
   75|  6.81k|          result_(),
   76|  6.81k|          name_(alloc),
   77|  6.81k|          item_stack_(alloc),
   78|  6.81k|          structure_stack_(temp_alloc)
   79|  6.81k|    {
   80|  6.81k|        item_stack_.reserve(1000);
   81|  6.81k|        structure_stack_.reserve(100);
   82|  6.81k|        structure_stack_.emplace_back(structure_type::root_t, 0);
   83|  6.81k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   51|  8.49M|            : type_(type), container_index_(offset)
   52|  8.49M|        {
   53|  8.49M|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  179|  4.16M|    {
  180|  4.16M|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |   45|  4.16M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.16M]
  |  |  ------------------
  |  |   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.16M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |   45|  4.16M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.16M]
  |  |  ------------------
  |  |   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.16M|        const size_t container_index = structure_stack_.back().container_index_;
  183|  4.16M|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |   45|  4.16M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.16M]
  |  |  ------------------
  |  |   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.16M|        auto& container = item_stack_[container_index].value;
  186|       |
  187|  4.16M|        const size_t size = item_stack_.size() - (container_index + 1);
  188|       |        //std::cout << "size on item stack: " << size << "\n";
  189|       |
  190|  4.16M|        if (size > 0)
  ------------------
  |  Branch (190:13): [True: 20.4k, False: 4.14M]
  ------------------
  191|  20.4k|        {
  192|  20.4k|            container.reserve(size);
  193|  20.4k|            auto first = item_stack_.begin() + (container_index+1);
  194|  20.4k|            auto last = first + size;
  195|  3.24M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (195:35): [True: 3.22M, False: 20.4k]
  ------------------
  196|  3.22M|            {
  197|  3.22M|                container.push_back(std::move((*it).value));
  198|  3.22M|            }
  199|  20.4k|            item_stack_.erase(first, item_stack_.end());
  200|  20.4k|        }
  201|       |
  202|  4.16M|        structure_stack_.pop_back();
  203|  4.16M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (203:13): [True: 216, False: 4.16M]
  ------------------
  204|    216|        {
  205|    216|            result_.swap(item_stack_.front().value);
  206|    216|            item_stack_.pop_back();
  207|    216|            is_valid_ = true;
  208|    216|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    216|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  209|    216|        }
  210|  4.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  211|  4.16M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  296|  17.4M|    {
  297|  17.4M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (297:17): [True: 17.4M, False: 0]
  ------------------
  298|  17.4M|        {
  299|  2.78M|            case structure_type::object_t:
  ------------------
  |  Branch (299:13): [True: 2.78M, False: 14.6M]
  ------------------
  300|  17.4M|            case structure_type::array_t:
  ------------------
  |  Branch (300:13): [True: 14.6M, False: 2.78M]
  ------------------
  301|  17.4M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  302|  17.4M|                break;
  303|     13|            case structure_type::root_t:
  ------------------
  |  Branch (303:13): [True: 13, False: 17.4M]
  ------------------
  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|  17.4M|        }
  308|  17.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  17.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  309|  17.4M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  277|  3.11M|    {
  278|  3.11M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (278:17): [True: 3.11M, False: 0]
  ------------------
  279|  3.11M|        {
  280|   105k|            case structure_type::object_t:
  ------------------
  |  Branch (280:13): [True: 105k, False: 3.00M]
  ------------------
  281|  3.11M|            case structure_type::array_t:
  ------------------
  |  Branch (281:13): [True: 3.00M, False: 105k]
  ------------------
  282|  3.11M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  283|  3.11M|                break;
  284|      6|            case structure_type::root_t:
  ------------------
  |  Branch (284:13): [True: 6, False: 3.11M]
  ------------------
  285|      6|                result_ = Json(value,tag);
  286|      6|                is_valid_ = true;
  287|      6|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      6|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  288|  3.11M|        }
  289|  3.11M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.11M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  290|  3.11M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  334|  74.2k|    {
  335|  74.2k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (335:17): [True: 74.2k, False: 0]
  ------------------
  336|  74.2k|        {
  337|  8.00k|            case structure_type::object_t:
  ------------------
  |  Branch (337:13): [True: 8.00k, False: 66.2k]
  ------------------
  338|  74.2k|            case structure_type::array_t:
  ------------------
  |  Branch (338:13): [True: 66.2k, False: 8.00k]
  ------------------
  339|  74.2k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  340|  74.2k|                break;
  341|      2|            case structure_type::root_t:
  ------------------
  |  Branch (341:13): [True: 2, False: 74.2k]
  ------------------
  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|  74.2k|        }
  346|  74.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  74.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  347|  74.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_flushEv:
  122|  2.43k|    {
  123|  2.43k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  126|  4.28M|    {
  127|  4.28M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (127:13): [True: 4.54k, False: 4.28M]
  ------------------
  128|  4.54k|        {
  129|  4.54k|            index_ = 0;
  130|  4.54k|            item_stack_.clear();
  131|  4.54k|            is_valid_ = false;
  132|  4.54k|        }
  133|  4.28M|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  134|  4.28M|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  135|  4.28M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  136|  4.28M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  139|  4.28M|    {
  140|  4.28M|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |   45|  4.28M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.28M]
  |  |  ------------------
  |  |   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|  4.28M|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |   45|  4.28M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.28M]
  |  |  ------------------
  |  |   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|  4.28M|        const size_t structure_index = structure_stack_.back().container_index_;
  143|  4.28M|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |   45|  4.28M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 4.28M]
  |  |  ------------------
  |  |   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|  4.28M|        const size_t count = item_stack_.size() - (structure_index + 1);
  145|  4.28M|        auto first = item_stack_.begin() + (structure_index+1);
  146|       |
  147|  4.28M|        if (count > 0)
  ------------------
  |  Branch (147:13): [True: 49.7k, False: 4.23M]
  ------------------
  148|  49.7k|        {
  149|  49.7k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  150|  49.7k|                &item_stack_[structure_index+1], count);
  151|  49.7k|        }
  152|       |
  153|  4.28M|        item_stack_.erase(first, item_stack_.end());
  154|  4.28M|        structure_stack_.pop_back();
  155|  4.28M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (155:13): [True: 1.29k, False: 4.28M]
  ------------------
  156|  1.29k|        {
  157|  1.29k|            result_.swap(item_stack_.front().value);
  158|  1.29k|            item_stack_.pop_back();
  159|  1.29k|            is_valid_ = true;
  160|  1.29k|            JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  1.29k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  161|  1.29k|        }
  162|  4.28M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  163|  4.28M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  166|  4.20M|    {
  167|  4.20M|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (167:13): [True: 960, False: 4.20M]
  ------------------
  168|    960|        {
  169|    960|            index_ = 0;
  170|    960|            item_stack_.clear();
  171|    960|            is_valid_ = false;
  172|    960|        }
  173|  4.20M|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  174|  4.20M|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  175|  4.20M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  176|  4.20M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  214|  4.27M|    {
  215|  4.27M|        name_ = key_type(name.data(),name.length(),allocator_);
  216|  4.27M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.27M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  217|  4.27M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|  2.18M|    {
  367|  2.18M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 2.18M, False: 0]
  ------------------
  368|  2.18M|        {
  369|  63.7k|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 63.7k, False: 2.12M]
  ------------------
  370|  2.18M|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 2.12M, False: 63.7k]
  ------------------
  371|  2.18M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  372|  2.18M|                break;
  373|      1|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 1, False: 2.18M]
  ------------------
  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.18M|        }
  378|  2.18M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  379|  2.18M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|  2.47M|    {
  351|  2.47M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 2.47M, False: 0]
  ------------------
  352|  2.47M|        {
  353|   763k|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 763k, False: 1.70M]
  ------------------
  354|  2.47M|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 1.70M, False: 763k]
  ------------------
  355|  2.47M|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|  2.47M|                break;
  357|      2|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 2, False: 2.47M]
  ------------------
  358|      2|                result_ = Json(value, tag);
  359|      2|                is_valid_ = true;
  360|      2|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      2|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  361|  2.47M|        }
  362|  2.47M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.47M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  363|  2.47M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  220|   348k|    {
  221|   348k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (221:17): [True: 348k, False: 0]
  ------------------
  222|   348k|        {
  223|  38.5k|            case structure_type::object_t:
  ------------------
  |  Branch (223:13): [True: 38.5k, False: 310k]
  ------------------
  224|   348k|            case structure_type::array_t:
  ------------------
  |  Branch (224:13): [True: 309k, False: 39.4k]
  ------------------
  225|   348k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  226|   348k|                break;
  227|    889|            case structure_type::root_t:
  ------------------
  |  Branch (227:13): [True: 889, False: 348k]
  ------------------
  228|    889|                result_ = Json(sv, tag, allocator_);
  229|    889|                is_valid_ = true;
  230|    889|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|    889|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  231|   348k|        }
  232|   348k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   348k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  233|   348k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  239|   150k|    {
  240|   150k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (240:17): [True: 150k, False: 0]
  ------------------
  241|   150k|        {
  242|  26.5k|            case structure_type::object_t:
  ------------------
  |  Branch (242:13): [True: 26.5k, False: 123k]
  ------------------
  243|   150k|            case structure_type::array_t:
  ------------------
  |  Branch (243:13): [True: 123k, False: 26.6k]
  ------------------
  244|   150k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, tag);
  245|   150k|                break;
  246|      4|            case structure_type::root_t:
  ------------------
  |  Branch (246:13): [True: 4, False: 150k]
  ------------------
  247|      4|                result_ = Json(byte_string_arg, b, tag, allocator_);
  248|      4|                is_valid_ = true;
  249|      4|                JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|      4|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  250|   150k|        }
  251|   150k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   150k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  252|   150k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  258|  69.8k|    {
  259|  69.8k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (259:17): [True: 69.8k, False: 0]
  ------------------
  260|  69.8k|        {
  261|  3.93k|            case structure_type::object_t:
  ------------------
  |  Branch (261:13): [True: 3.93k, False: 65.9k]
  ------------------
  262|  69.8k|            case structure_type::array_t:
  ------------------
  |  Branch (262:13): [True: 65.9k, False: 3.94k]
  ------------------
  263|  69.8k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, ext_tag);
  264|  69.8k|                break;
  265|      5|            case structure_type::root_t:
  ------------------
  |  Branch (265:13): [True: 5, False: 69.8k]
  ------------------
  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|  69.8k|        }
  270|  69.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  69.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  271|  69.8k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  108|  2.43k|    {
  109|  2.43k|        return is_valid_;
  110|  2.43k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  113|  2.43k|    {
  114|  2.43k|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |   45|  2.43k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   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.43k|        is_valid_ = false;
  116|  2.43k|        return std::move(result_);
  117|  2.43k|    }

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

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
 1064|  6.81k|{
 1065|  6.81k|    return json_visitor_adaptor<From, To>(to);
 1066|  6.81k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  983|  6.81k|        : supertype(visitor)
  984|  6.81k|    {
  985|  6.81k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  721|  6.81k|        : destination1_(std::addressof(visitor))
  722|  6.81k|    {
  723|  6.81k|    }
_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.20M|    {
  778|  4.20M|        destination1_->begin_array(length, tag, context, ec);
  779|  4.20M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.20M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  780|  4.20M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  783|  4.16M|    {
  784|  4.16M|        destination1_->end_array(context, ec);
  785|  4.16M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.16M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  786|  4.16M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  825|  17.4M|    {
  826|  17.4M|        destination1_->uint64_value(value, tag, context, ec);
  827|  17.4M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  17.4M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  828|  17.4M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  819|  3.11M|    {
  820|  3.11M|        destination1_->int64_value(value, tag, context, ec);
  821|  3.11M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  3.11M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  822|  3.11M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  813|  74.2k|    {
  814|  74.2k|        destination1_->double_value(value, tag, context, ec);
  815|  74.2k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  74.2k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  816|  74.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_flushEv:
  738|  2.43k|    {
  739|  2.43k|        destination1_->flush();
  740|  2.43k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectEmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  754|  4.28M|    {
  755|  4.28M|        destination1_->begin_object(length, tag, context, ec);
  756|  4.28M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  757|  4.28M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  760|  4.28M|    {
  761|  4.28M|        destination1_->end_object(context, ec);
  762|  4.28M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  4.28M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  763|  4.28M|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS6_17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  995|  4.27M|    {
  996|  4.27M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  997|  4.27M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  732|  4.62M|    {
  733|  4.62M|        return *destination1_;
  734|  4.62M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  837|  2.18M|    {
  838|  2.18M|        destination1_->null_value(tag, context, ec);
  839|  2.18M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.18M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  840|  2.18M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  831|  2.47M|    {
  832|  2.47M|        destination1_->bool_value(value, tag, context, ec);
  833|  2.47M|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  2.47M|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  834|  2.47M|    }
_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|   348k|    {
 1004|   348k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
 1005|   348k|    }
_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|   150k|    {
  793|   150k|        destination1_->byte_string_value(b, tag, context, ec);
  794|   150k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|   150k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  795|   150k|    }
_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|  69.8k|    {
  802|  69.8k|        destination1_->byte_string_value(b, ext_tag, context, ec);
  803|  69.8k|        JSONCONS_VISITOR_RETURN;
  ------------------
  |  |  272|  69.8k|#define JSONCONS_VISITOR_RETURN return true 
  ------------------
  804|  69.8k|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  432|  46.7k|        {
  433|  46.7k|            return members_.empty();
  434|  46.7k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  465|   348k|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  442|   348k|        {
  443|   348k|            return members_.begin();
  444|   348k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  447|   348k|        {
  448|   348k|            return members_.end();
  449|   348k|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  120|   359k|        {
  121|   359k|            return value_;
  122|   359k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  427|  4.28M|        {
  428|  4.28M|            flatten_and_destroy();
  429|  4.28M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
  986|  4.28M|        {
  987|  4.28M|            if (!members_.empty())
  ------------------
  |  Branch (987:17): [True: 17.1k, False: 4.27M]
  ------------------
  988|  17.1k|            {
  989|  17.1k|                json_array<Json> temp(get_allocator());
  990|       |
  991|  17.1k|                for (auto& kv : members_)
  ------------------
  |  Branch (991:31): [True: 98.9k, False: 17.1k]
  ------------------
  992|  98.9k|                {
  993|  98.9k|                    switch (kv.value().storage_kind())
  994|  98.9k|                    {
  995|  6.25k|                        case json_storage_kind::array:
  ------------------
  |  Branch (995:25): [True: 6.25k, False: 92.7k]
  ------------------
  996|  15.5k|                        case json_storage_kind::object:
  ------------------
  |  Branch (996:25): [True: 9.30k, False: 89.6k]
  ------------------
  997|  15.5k|                            if (!kv.value().empty())
  ------------------
  |  Branch (997:33): [True: 7.82k, False: 7.73k]
  ------------------
  998|  7.82k|                            {
  999|  7.82k|                                temp.emplace_back(std::move(kv.value()));
 1000|  7.82k|                            }
 1001|  15.5k|                            break;
 1002|  83.3k|                        default:
  ------------------
  |  Branch (1002:25): [True: 83.3k, False: 15.5k]
  ------------------
 1003|  83.3k|                            break;
 1004|  98.9k|                    }
 1005|  98.9k|                }
 1006|  17.1k|            }
 1007|  4.28M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   49|  64.3M|        index_key_value(index_key_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2Ev:
  334|  4.28M|        {
  335|  4.28M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   60|  18.5M|        index_key_value& operator=(index_key_value&&) = default;
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  17.4M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  17.4M|        {
   45|  17.4M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  3.11M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  3.11M|        {
   45|  3.11M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  74.2k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  74.2k|        {
   45|  74.2k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.28M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.28M|        {
   45|  4.28M|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15index_key_valueISA_EEm:
  539|  49.7k|        {
  540|  49.7k|            if (count > 0)
  ------------------
  |  Branch (540:17): [True: 49.7k, False: 0]
  ------------------
  541|  49.7k|            {
  542|  49.7k|                members_.reserve(count);
  543|       |
  544|  49.7k|                std::sort(items, items+count, compare);
  545|  49.7k|                members_.emplace_back(key_type(items[0].name.data(), items[0].name.size(), get_allocator()), std::move(items[0].value));
  546|       |                
  547|  3.24M|                for (std::size_t i = 1; i < count; ++i)
  ------------------
  |  Branch (547:41): [True: 3.19M, False: 49.7k]
  ------------------
  548|  3.19M|                {
  549|  3.19M|                    auto& item = items[i];
  550|  3.19M|                    if (item.name != items[i-1].name)
  ------------------
  |  Branch (550:25): [True: 142k, False: 3.04M]
  ------------------
  551|   142k|                    {
  552|   142k|                        members_.emplace_back(key_type(item.name.data(), item.name.size(), get_allocator()), std::move(item.value));
  553|   142k|                    }
  554|  3.19M|                }
  555|  49.7k|            }
  556|  49.7k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15index_key_valueISA_EESG_:
  530|  66.6M|        {
  531|  66.6M|            int comp = item1.name.compare(item2.name); 
  532|  66.6M|            if (comp < 0) return true;
  ------------------
  |  Branch (532:17): [True: 1.88M, False: 64.7M]
  ------------------
  533|  64.7M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (533:17): [True: 63.2M, False: 1.51M]
  ------------------
  534|       |
  535|  1.51M|            return false;
  536|  64.7M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEEOS7_DpOT_:
   86|   192k|            : key_(std::move(name)), value_(std::forward<Args>(args)...)
   87|   192k|        {
   88|   192k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  4.20M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  4.20M|        {
   45|  4.20M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.18M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.18M|        {
   45|  2.18M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  2.47M|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  2.47M|        {
   45|  2.47M|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS3_17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSB_S5_EElDpOT_:
   43|   348k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   348k|        {
   45|   348k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|   150k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|   150k|        {
   45|   150k|        }
_ZN8jsoncons15index_key_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EElDpOT_:
   43|  69.8k|            : name(std::move(Name)), index(Index), value(std::forward<Args>(args)...)
   44|  69.8k|        {
   45|  69.8k|        }

_ZN8jsoncons18is_trivial_storageENS_17json_storage_kindE:
  227|   111M|    {
  228|   111M|        static const uint8_t mask{ uint8_t(json_storage_kind::long_str) & uint8_t(json_storage_kind::byte_str) 
  229|   111M|            & uint8_t(json_storage_kind::array) & uint8_t(json_storage_kind::object) };
  230|   111M|        return (uint8_t(storage_kind) & mask) != mask;
  231|   111M|    }

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

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

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

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

_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ImEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  682|   134k|        : storage_(n, alloc)
  683|   134k|    {
  684|   134k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ImEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  349|   134k|        : word_allocator_type(alloc)
  350|   134k|    {
  351|   134k|        ::new (&inlined_) inlined_storage(n);
  352|   134k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ImEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  137|   134k|            : is_allocated_(false),
  138|   134k|            is_negative_(false),
  139|   134k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (139:19): [True: 46.3k, False: 87.9k]
  ------------------
  140|   134k|        {
  141|   134k|            values_[0] = n;
  142|   134k|            values_[1] = 0;
  143|   134k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmLImEENS1_9enable_ifIXsr10ext_traits19is_unsigned_integerIT_EE5valueERS4_E4typeES7_:
  932|  36.4k|    {
  933|  36.4k|        auto this_view = get_storage_view();
  934|  36.4k|        size_type len0 = this_view.size();
  935|  36.4k|        word_type dig = this_view[0];
  936|  36.4k|        word_type carry = 0;
  937|       |
  938|  36.4k|        resize(this_view.size() + 1);
  939|  36.4k|        this_view = get_storage_view();
  940|       |
  941|  36.4k|        size_type i = 0;
  942|  70.9k|        for (; i < len0; i++ )
  ------------------
  |  Branch (942:16): [True: 34.4k, False: 36.4k]
  ------------------
  943|  34.4k|        {
  944|  34.4k|            word_type hi;
  945|  34.4k|            word_type lo;
  946|  34.4k|            DDproduct( dig, y, hi, lo );
  947|  34.4k|            this_view[i] = lo + carry;
  948|  34.4k|            dig = this_view[i+1];
  949|  34.4k|            carry = hi + (this_view[i] < lo);
  950|  34.4k|        }
  951|  36.4k|        this_view[i] = carry;
  952|  36.4k|        reduce();
  953|  36.4k|        return *this;
  954|  36.4k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  707|   554k|    {
  708|   554k|        return storage_.get_storage_view();
  709|   554k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  509|   800k|    {
  510|   800k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (510:16): [True: 199k, False: 601k]
  ------------------
  511|   199k|            storage_view<word_type>{allocated_.data_, allocated_.size_} :
  512|   800k|            storage_view<word_type>{inlined_.values_, inlined_.size_};
  513|   800k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEC2EPmm:
   63|   800k|            : data_(data), size_(size)
   64|   800k|        {
   65|   800k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4sizeEv:
   83|  1.37M|        {
   84|  1.37M|            return size_;
   85|  1.37M|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImEixEm:
   68|   520k|        {
   69|   520k|            return data_[i];
   70|   520k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6resizeEm:
  824|  88.5k|    {
  825|  88.5k|        storage_.resize(new_length);
  826|  88.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6resizeEm:
  523|   199k|    {
  524|   199k|        size_type old_length = common_.size_;
  525|   199k|        reserve(new_length);
  526|   199k|        common_.size_ = new_length;
  527|       |
  528|   199k|        if (old_length < new_length)
  ------------------
  |  Branch (528:13): [True: 109k, False: 90.1k]
  ------------------
  529|   109k|        {
  530|   109k|            if (is_allocated())
  ------------------
  |  Branch (530:17): [True: 15.3k, False: 94.1k]
  ------------------
  531|  15.3k|            {
  532|  15.3k|                std::memset(allocated_.data_+old_length, 0, size_type((new_length-old_length)*sizeof(word_type)));
  533|  15.3k|            }
  534|  94.1k|            else
  535|  94.1k|            {
  536|  94.1k|                JSONCONS_ASSERT(new_length <= inlined_capacity);
  ------------------
  |  |   45|  94.1k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 94.1k]
  |  |  ------------------
  |  |   46|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |   47|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  537|   228k|                for (size_type i = old_length; i < inlined_capacity; ++i)
  ------------------
  |  Branch (537:48): [True: 134k, False: 94.1k]
  ------------------
  538|   134k|                {
  539|   134k|                    inlined_.values_[i] = 0;
  540|   134k|                }
  541|  94.1k|            }
  542|   109k|        }
  543|   199k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7reserveEm:
  441|   199k|    {
  442|   199k|       if (capacity() < n)
  ------------------
  |  Branch (442:12): [True: 15.3k, False: 184k]
  ------------------
  443|  15.3k|       {
  444|  15.3k|           if (!is_allocated())
  ------------------
  |  Branch (444:16): [True: 15.3k, False: 0]
  ------------------
  445|  15.3k|           {
  446|  15.3k|               size_type size = inlined_.size_;
  447|  15.3k|               size_type is_neg = inlined_.is_negative_;
  448|  15.3k|               word_type values[inlined_capacity] = {inlined_.values_[0], inlined_.values_[1]};
  449|       |
  450|  15.3k|               ::new (&allocated_) allocated_storage();
  451|  15.3k|               allocated_.reserve(n, get_allocator());
  452|  15.3k|               allocated_.size_ = size;
  453|  15.3k|               allocated_.is_negative_ = is_neg;
  454|  15.3k|               if (n >= 1)
  ------------------
  |  Branch (454:20): [True: 15.3k, False: 0]
  ------------------
  455|  15.3k|               {
  456|  15.3k|                   allocated_.data_[0] = values[0];
  457|  15.3k|               }
  458|  15.3k|               if (n >= 2)
  ------------------
  |  Branch (458:20): [True: 15.3k, False: 0]
  ------------------
  459|  15.3k|               {
  460|  15.3k|                   allocated_.data_[1] = values[1];
  461|  15.3k|               }
  462|  15.3k|           }
  463|      0|           else
  464|      0|           {
  465|      0|               allocated_.reserve(n, get_allocator());
  466|      0|           }
  467|  15.3k|       }
  468|   199k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE8capacityEv:
  494|   199k|    {
  495|   199k|        return is_allocated() ? allocated_.capacity_ : inlined_capacity;
  ------------------
  |  Branch (495:16): [True: 30.6k, False: 168k]
  ------------------
  496|   199k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2Ev:
  201|  15.3k|            : is_allocated_(true),
  202|  15.3k|            is_negative_(false)
  203|  15.3k|        {
  204|  15.3k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7reserveEmRKS4_:
  253|  15.3k|        {
  254|  15.3k|            size_type capacity_new = round_up(n);
  255|       |
  256|  15.3k|            real_allocator_type alloc(a);
  257|  15.3k|            word_type* data_new = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_new);
  258|  15.3k|            if (size_ > 0)
  ------------------
  |  Branch (258:17): [True: 0, False: 15.3k]
  ------------------
  259|      0|            {
  260|      0|                std::memcpy(data_new, data_, size_type(size_ * sizeof(word_type)));
  261|      0|            }
  262|  15.3k|            if (data_ != nullptr)
  ------------------
  |  Branch (262:17): [True: 0, False: 15.3k]
  ------------------
  263|      0|            {
  264|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  265|      0|            }
  266|  15.3k|            capacity_ = capacity_new;
  267|  15.3k|            data_ = data_new;
  268|  15.3k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage8round_upEm:
  272|  76.5k|        {
  273|       |            //if (i == (std::numeric_limits<size_type>::max)())
  274|       |            //{
  275|       |            //    return i;
  276|       |            //}
  277|  76.5k|            return ((i + 1/3) / mem_unit + 1) * mem_unit;
  278|  76.5k|        }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE13get_allocatorEv:
  471|   375k|    {
  472|   375k|        return static_cast<const word_allocator_type&>(*this);
  473|   375k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12is_allocatedEv:
  489|   940k|    {
  490|   940k|        return common_.is_allocated_;
  491|   940k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9DDproductEmmRmS5_:
 1713|  50.1k|    {
 1714|  50.1k|        word_type hiA = A >> word_type_half_bits, loA = A & r_mask,
 1715|  50.1k|                   hiB = B >> word_type_half_bits, loB = B & r_mask;
 1716|       |
 1717|  50.1k|        lo = loA * loB;
 1718|  50.1k|        hi = hiA * hiB;
 1719|  50.1k|        word_type mid1 = loA * hiB;
 1720|  50.1k|        word_type mid2 = hiA * loB;
 1721|  50.1k|        word_type old = lo;
 1722|  50.1k|        lo += mid1 << word_type_half_bits;
 1723|  50.1k|            hi += (lo < old) + (mid1 >> word_type_half_bits);
 1724|  50.1k|        old = lo;
 1725|  50.1k|        lo += mid2 << word_type_half_bits;
 1726|  50.1k|            hi += (lo < old) + (mid2 >> word_type_half_bits);
 1727|  50.1k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE6reduceEv:
 1849|   135k|    {
 1850|   135k|        storage_.reduce();
 1851|   135k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE6reduceEv:
  418|   135k|    {
  419|   135k|        if (common_.size_ > 0)
  ------------------
  |  Branch (419:13): [True: 135k, False: 0]
  ------------------
  420|   135k|        {
  421|   135k|            auto this_view = get_storage_view();
  422|   135k|            word_type* p = this_view.end() - 1;
  423|   135k|            word_type* first = this_view.begin();
  424|   209k|            while ( p >= first )
  ------------------
  |  Branch (424:21): [True: 205k, False: 4.59k]
  ------------------
  425|   205k|            {
  426|   205k|                if ( *p )
  ------------------
  |  Branch (426:22): [True: 130k, False: 74.2k]
  ------------------
  427|   130k|                {
  428|   130k|                    break;
  429|   130k|                }
  430|  74.2k|                --common_.size_;
  431|  74.2k|                --p;
  432|  74.2k|            }
  433|   135k|        }
  434|   135k|        if (common_.size_ == 0)
  ------------------
  |  Branch (434:13): [True: 4.59k, False: 130k]
  ------------------
  435|  4.59k|        {
  436|  4.59k|            common_.is_negative_ = false;
  437|  4.59k|        }
  438|   135k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE3endEv:
   92|   135k|        {
   93|   135k|            return data_ + size_;
   94|   135k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE5beginEv:
   87|   135k|        {
   88|   135k|            return data_;
   89|   135k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEpLERKS4_:
  854|  36.4k|    {
  855|  36.4k|        auto y_view = y.get_storage_view();
  856|       |        
  857|  36.4k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (857:14): [True: 0, False: 36.4k]
  ------------------
  858|      0|            return *this -= -y;
  859|  36.4k|        word_type d;
  860|  36.4k|        word_type carry = 0;
  861|       |
  862|  36.4k|        auto this_view = get_storage_view();
  863|  36.4k|        resize( (std::max)(y_view.size(), this_view.size()) + 1 );
  864|  36.4k|        this_view = get_storage_view();
  865|       |
  866|  70.2k|        for (size_type i = 0; i < this_view.size(); i++ )
  ------------------
  |  Branch (866:31): [True: 69.8k, False: 374]
  ------------------
  867|  69.8k|        {
  868|  69.8k|            if ( i >= y_view.size() && carry == 0 )
  ------------------
  |  Branch (868:18): [True: 43.9k, False: 25.8k]
  |  Branch (868:40): [True: 36.0k, False: 7.94k]
  ------------------
  869|  36.0k|                break;
  870|  33.8k|            d = this_view[i] + carry;
  871|  33.8k|            carry = d < carry;
  872|  33.8k|            if ( i < y_view.size())
  ------------------
  |  Branch (872:18): [True: 25.8k, False: 7.94k]
  ------------------
  873|  25.8k|            {
  874|  25.8k|                this_view[i] = d + y_view[i];
  875|  25.8k|                if (this_view[i] < d)
  ------------------
  |  Branch (875:21): [True: 7.94k, False: 17.9k]
  ------------------
  876|  7.94k|                    carry = 1;
  877|  25.8k|            }
  878|  7.94k|            else
  879|  7.94k|            {
  880|  7.94k|                this_view[i] = d;
  881|  7.94k|            }
  882|  33.8k|        }
  883|  36.4k|        reduce();
  884|  36.4k|        return *this;
  885|  36.4k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE16get_storage_viewEv:
  712|   228k|    {
  713|   228k|        return storage_.get_storage_view();
  714|   228k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE16get_storage_viewEv:
  516|   339k|    {
  517|   339k|        return common_.is_allocated_ ? 
  ------------------
  |  Branch (517:16): [True: 76.5k, False: 263k]
  ------------------
  518|  76.5k|            storage_view<const word_type>{allocated_.data_, allocated_.size_} :
  519|   339k|            storage_view<const word_type>{inlined_.values_, inlined_.size_};
  520|   339k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEC2EPS7_m:
   63|   339k|            : data_(data), size_(size)
   64|   339k|        {
   65|   339k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11is_negativeEv:
  717|   549k|    {
  718|   549k|        return storage_.is_negative();
  719|   549k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE11is_negativeEv:
  499|   549k|    {
  500|   549k|        return common_.is_negative_;
  501|   549k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEEngEv:
  841|  3.11k|    {
  842|  3.11k|        basic_bigint<Allocator> v(*this);
  843|  3.11k|        v.set_negative(!v.is_negative());
  844|  3.11k|        return v;
  845|  3.11k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_:
  660|  39.5k|        : storage_(other.storage_)
  661|  39.5k|    {
  662|  39.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_:
  295|  39.5k|        : word_allocator_type(other.get_allocator())
  296|  39.5k|    {
  297|  39.5k|        if (!other.is_allocated())
  ------------------
  |  Branch (297:13): [True: 24.2k, False: 15.3k]
  ------------------
  298|  24.2k|        {
  299|  24.2k|            ::new (&inlined_) inlined_storage(other.inlined_);
  300|  24.2k|        }
  301|  15.3k|        else
  302|  15.3k|        {
  303|  15.3k|            ::new (&allocated_) allocated_storage(other.allocated_, get_allocator());
  304|  15.3k|        }
  305|  39.5k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2ERKS6_:
  177|   136k|            : is_allocated_(false),
  178|   136k|            is_negative_(stor.is_negative_),
  179|   136k|            size_(stor.size_)
  180|   136k|        {
  181|   136k|            values_[0] = stor.values_[0];
  182|   136k|            values_[1] = stor.values_[1];
  183|   136k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storageC2ERKS6_RKS4_:
  207|  61.2k|            : is_allocated_(true),
  208|  61.2k|              is_negative_(stor.is_negative_),
  209|  61.2k|              size_(stor.size_),
  210|  61.2k|              capacity_(round_up(stor.size_))
  211|  61.2k|        {
  212|  61.2k|            real_allocator_type alloc(a);
  213|       |
  214|  61.2k|            data_ = std::allocator_traits<real_allocator_type>::allocate(alloc, capacity_);
  215|  61.2k|            JSONCONS_TRY
  ------------------
  |  |   37|  61.2k|    #define JSONCONS_TRY try
  ------------------
  216|  61.2k|            {
  217|  61.2k|                std::allocator_traits<real_allocator_type>::construct(alloc, ext_traits::to_plain_pointer(data_));
  218|  61.2k|            }
  219|  61.2k|            JSONCONS_CATCH(...)
  220|  61.2k|            {
  221|      0|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  222|      0|                data_ = nullptr;
  223|      0|                JSONCONS_RETHROW;
  ------------------
  |  |   36|      0|    #define JSONCONS_RETHROW throw
  ------------------
  224|      0|            }
  225|  61.2k|            JSONCONS_ASSERT(stor.data_ != nullptr);
  ------------------
  |  |   45|  61.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 61.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 ))); }
  ------------------
  226|  61.2k|            std::memcpy(data_, stor.data_, size_type(stor.size_ * sizeof(word_type)));
  227|  61.2k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEE12set_negativeEb:
  722|   256k|    {
  723|   256k|        storage_.set_negative(value);
  724|   256k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12set_negativeEb:
  504|   256k|    {
  505|   256k|        common_.is_negative_ = value;
  506|   256k|    }
_ZNK8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4sizeEv:
   83|   869k|        {
   84|   869k|            return size_;
   85|   869k|        }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmEixEm:
   68|   197k|        {
   69|   197k|            return data_[i];
   70|   197k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEED2Ev:
  697|   418k|    {
  698|   418k|        storage_.destroy();
  699|   418k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE7destroyEv:
  476|   418k|    {
  477|   418k|        if (is_allocated())
  ------------------
  |  Branch (477:13): [True: 76.5k, False: 341k]
  ------------------
  478|  76.5k|        {
  479|  76.5k|            allocated_.destroy(get_allocator());
  480|  76.5k|            allocated_.~allocated_storage();
  481|  76.5k|        }
  482|   341k|        else
  483|   341k|        {
  484|   341k|            inlined_.~inlined_storage();
  485|   341k|        }
  486|   418k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE17allocated_storage7destroyERKS4_:
  244|  76.5k|        {
  245|  76.5k|            if (data_ != nullptr)
  ------------------
  |  Branch (245:17): [True: 76.5k, False: 0]
  ------------------
  246|  76.5k|            {
  247|  76.5k|                real_allocator_type alloc(a);
  248|  76.5k|                std::allocator_traits<real_allocator_type>::deallocate(alloc, data_, capacity_);
  249|  76.5k|            }
  250|  76.5k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE12write_stringIcNS1_11char_traitsIcEENS2_IcEEEEvRNS1_12basic_stringIT_T0_T1_EE:
 1292|  36.4k|    {
 1293|  36.4k|        basic_bigint<Allocator> v(*this);
 1294|  36.4k|        auto v_view = v.get_storage_view();
 1295|       |
 1296|  36.4k|        size_type len = (v_view.size() * word_type_bits / 3) + 2;
 1297|  36.4k|        data.reserve(len);
 1298|       |
 1299|  36.4k|        if ( v_view.size() == 0 )
  ------------------
  |  Branch (1299:14): [True: 1.24k, False: 35.1k]
  ------------------
 1300|  1.24k|        {
 1301|  1.24k|            data.push_back('0');
 1302|  1.24k|        }
 1303|  35.1k|        else
 1304|  35.1k|        {
 1305|  35.1k|            word_type r;
 1306|  35.1k|            basic_bigint<Allocator> R(get_allocator());
 1307|  35.1k|            basic_bigint<Allocator> LP10(max_unsigned_power_10, get_allocator()); 
 1308|       |
 1309|  35.1k|            do
 1310|  63.3k|            {
 1311|  63.3k|                v.divide( LP10, v, R, true );
 1312|  63.3k|                v_view = v.get_storage_view();
 1313|       |
 1314|  63.3k|                auto R_view = R.get_storage_view();
 1315|  63.3k|                r = (R_view.size() ? R_view[0] : 0);
  ------------------
  |  Branch (1315:22): [True: 59.0k, False: 4.29k]
  ------------------
 1316|   805k|                for ( size_type j=0; j < imax_unsigned_power_10; j++ )
  ------------------
  |  Branch (1316:38): [True: 777k, False: 28.2k]
  ------------------
 1317|   777k|                {
 1318|   777k|                    data.push_back(char(r % 10u + '0'));
 1319|   777k|                    r /= 10u;
 1320|   777k|                    if ( r + v_view.size() == 0 )
  ------------------
  |  Branch (1320:26): [True: 35.1k, False: 742k]
  ------------------
 1321|  35.1k|                        break;
 1322|   777k|                }
 1323|  63.3k|            } 
 1324|  63.3k|            while ( v_view.size() > 0);
  ------------------
  |  Branch (1324:21): [True: 28.2k, False: 35.1k]
  ------------------
 1325|       |
 1326|  35.1k|            if (is_negative())
  ------------------
  |  Branch (1326:17): [True: 3.11k, False: 32.0k]
  ------------------
 1327|  3.11k|            {
 1328|  3.11k|                data.push_back('-');
 1329|  3.11k|            }
 1330|  35.1k|            std::reverse(data.begin(),data.end());
 1331|  35.1k|        }
 1332|  36.4k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE13get_allocatorEv:
  702|   228k|    {
  703|   228k|        return storage_.get_allocator();
  704|   228k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS3_:
  633|  35.1k|        : storage_(alloc)
  634|  35.1k|    {
  635|  35.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS4_:
  289|  35.1k|        : word_allocator_type(alloc)
  290|  35.1k|    {
  291|  35.1k|        ::new (&inlined_) inlined_storage();
  292|  35.1k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2Ev:
  112|  35.1k|            : is_allocated_(false),
  113|  35.1k|            is_negative_(false),
  114|  35.1k|            size_(0),
  115|  35.1k|            values_{0, 0}
  116|  35.1k|        {
  117|  35.1k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE6divideERKS4_RS4_S7_b:
 1607|  63.3k|    {
 1608|  63.3k|        basic_bigint<Allocator> denom(denom_, get_allocator());
 1609|  63.3k|        auto denom_view = denom.get_storage_view();
 1610|       |
 1611|  63.3k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1611:13): [True: 0, False: 63.3k]
  ------------------
 1612|      0|        {
 1613|      0|            JSONCONS_THROW(std::runtime_error( "Zero divide." ));
  ------------------
  |  |   35|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 1614|      0|        }
 1615|  63.3k|        bool quot_neg = is_negative() ^ denom.is_negative();
 1616|  63.3k|        bool rem_neg = is_negative();
 1617|  63.3k|        basic_bigint<Allocator> num(*this, get_allocator());
 1618|  63.3k|        num.set_negative(false);
 1619|  63.3k|        denom.set_negative(false);
 1620|  63.3k|        if ( num < denom )
  ------------------
  |  Branch (1620:14): [True: 35.1k, False: 28.2k]
  ------------------
 1621|  35.1k|        {
 1622|  35.1k|            quot = word_type(0);
 1623|  35.1k|            quot.set_negative(quot_neg);
 1624|  35.1k|            rem = num;
 1625|  35.1k|            rem.set_negative(rem_neg);
 1626|  35.1k|            return;
 1627|  35.1k|        }
 1628|       |
 1629|  28.2k|        auto num_view = num.get_storage_view();
 1630|  28.2k|        auto quot_view = quot.get_storage_view();
 1631|  28.2k|        auto this_view = get_storage_view();
 1632|       |
 1633|  28.2k|        if ( denom_view.size() == 1 && num_view.size() == 1 )
  ------------------
  |  Branch (1633:14): [True: 28.2k, False: 0]
  |  Branch (1633:40): [True: 12.5k, False: 15.6k]
  ------------------
 1634|  12.5k|        {
 1635|  12.5k|            quot = word_type( num_view[0]/denom_view[0] );
 1636|  12.5k|            rem = word_type( num_view[0]%denom_view[0] );
 1637|  12.5k|            quot.set_negative(quot_neg);
 1638|  12.5k|            rem.set_negative(rem_neg);
 1639|  12.5k|            return;
 1640|  12.5k|        }
 1641|  15.6k|        if (denom_view.size() == 1 && (denom_view[0] & l_mask) == 0 )
  ------------------
  |  Branch (1641:13): [True: 15.6k, False: 0]
  |  Branch (1641:39): [True: 0, False: 15.6k]
  ------------------
 1642|      0|        {
 1643|       |            // Denominator fits into a half word
 1644|      0|            word_type divisor = denom_view[0], dHi = 0, q1, r, q2, dividend;
 1645|      0|            quot.resize(this_view.size());
 1646|      0|            quot_view = quot.get_storage_view();
 1647|      0|            for (size_type i=this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1647:48): [True: 0, False: 0]
  ------------------
 1648|      0|            {
 1649|      0|                dividend = (dHi << word_type_half_bits) | (this_view[i] >> word_type_half_bits);
 1650|      0|                q1 = dividend/divisor;
 1651|      0|                r = dividend % divisor;
 1652|      0|                dividend = (r << word_type_half_bits) | (this_view[i] & r_mask);
 1653|      0|                q2 = dividend/divisor;
 1654|      0|                dHi = dividend % divisor;
 1655|      0|                quot_view[i] = (q1 << word_type_half_bits) | q2;
 1656|      0|            }
 1657|      0|            quot.reduce();
 1658|      0|            rem = dHi;
 1659|      0|            quot.set_negative(quot_neg);
 1660|      0|            rem.set_negative(rem_neg);
 1661|      0|            return;
 1662|      0|        }
 1663|  15.6k|        basic_bigint<Allocator> num0(num, get_allocator());
 1664|  15.6k|        basic_bigint<Allocator> denom0(denom, get_allocator());
 1665|  15.6k|        int x = 0;
 1666|  15.6k|        bool second_done = normalize(denom, num, x);
 1667|  15.6k|        denom_view = denom.get_storage_view();
 1668|  15.6k|        num_view = num.get_storage_view();
 1669|       |
 1670|  15.6k|        size_type l = denom_view.size() - 1;
 1671|  15.6k|        size_type n = num_view.size() - 1;
 1672|  15.6k|        quot.resize(n - l);
 1673|  15.6k|        quot_view = quot.get_storage_view();
 1674|  31.3k|        for (size_type i = quot_view.size(); i-- > 0; )
  ------------------
  |  Branch (1674:46): [True: 15.6k, False: 15.6k]
  ------------------
 1675|  15.6k|        {
 1676|  15.6k|            quot_view[i] = 0;
 1677|  15.6k|        }
 1678|  15.6k|        rem = num;
 1679|  15.6k|        auto rem_view = rem.get_storage_view();
 1680|  15.6k|        if ( rem_view[n] >= denom_view[l] )
  ------------------
  |  Branch (1680:14): [True: 0, False: 15.6k]
  ------------------
 1681|      0|        {
 1682|      0|            rem.resize(rem_view.size() + 1);
 1683|      0|            rem_view = rem.get_storage_view();
 1684|      0|            n++;
 1685|      0|            quot.resize(quot_view.size() + 1);
 1686|      0|            quot_view = quot.get_storage_view();
 1687|      0|        }
 1688|  15.6k|        word_type d = denom_view[l];
 1689|       |
 1690|  31.3k|        for ( size_type k = n; k > l; k-- )
  ------------------
  |  Branch (1690:32): [True: 15.6k, False: 15.6k]
  ------------------
 1691|  15.6k|        {
 1692|  15.6k|            word_type q = DDquotient(rem_view[k], rem_view[k-1], d);
 1693|  15.6k|            subtractmul( rem_view.data() + (k - l - 1), denom_view.data(), l + 1, q );
 1694|  15.6k|            quot_view[k - l - 1] = q;
 1695|  15.6k|        }
 1696|  15.6k|        quot.reduce();
 1697|  15.6k|        quot.set_negative(quot_neg);
 1698|  15.6k|        if (remDesired)
  ------------------
  |  Branch (1698:13): [True: 15.6k, False: 0]
  ------------------
 1699|  15.6k|        {
 1700|  15.6k|            unnormalize(rem, x, second_done);
 1701|  15.6k|            rem.set_negative(rem_neg);
 1702|  15.6k|        }
 1703|  15.6k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2ERKS4_RKS3_:
  665|   158k|        : storage_(other.storage_, alloc)
  666|   158k|    {
  667|   158k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2ERKS5_RKS4_:
  308|   158k|        : word_allocator_type(alloc)
  309|   158k|    {
  310|   158k|        if (!other.is_allocated())
  ------------------
  |  Branch (310:13): [True: 112k, False: 45.9k]
  ------------------
  311|   112k|        {
  312|   112k|            ::new (&inlined_) inlined_storage(other.inlined_);
  313|   112k|        }
  314|  45.9k|        else
  315|  45.9k|        {
  316|  45.9k|            ::new (&allocated_) allocated_storage(other.allocated_, alloc);
  317|  45.9k|        }
  318|   158k|    }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEES6_:
 1409|  63.3k|    {
 1410|  63.3k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1410:15): [True: 35.1k, False: 28.2k]
  ------------------
 1411|  63.3k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE7compareERKS4_:
 1574|  80.3k|    {
 1575|  80.3k|        auto this_view = get_storage_view();
 1576|  80.3k|        auto y_view = y.get_storage_view();
 1577|       |
 1578|  80.3k|        if ( this_view.size() == 0 && y_view.size() == 0 )
  ------------------
  |  Branch (1578:14): [True: 892, False: 79.4k]
  |  Branch (1578:39): [True: 892, False: 0]
  ------------------
 1579|    892|            return 0;
 1580|  79.4k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (1580:14): [True: 3.11k, False: 76.3k]
  ------------------
 1581|  3.11k|            return y.is_negative() - is_negative();
 1582|  76.3k|        int code = 0;
 1583|  76.3k|        if ( this_view.size() < y_view.size())
  ------------------
  |  Branch (1583:14): [True: 0, False: 76.3k]
  ------------------
 1584|      0|            code = -1;
 1585|  76.3k|        else if ( this_view.size() > y_view.size())
  ------------------
  |  Branch (1585:19): [True: 28.6k, False: 47.7k]
  ------------------
 1586|  28.6k|            code = +1;
 1587|  47.7k|        else
 1588|  47.7k|        {
 1589|  50.5k|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1589:50): [True: 47.7k, False: 2.86k]
  ------------------
 1590|  47.7k|            {
 1591|  47.7k|                if (this_view[i] > y_view[i])
  ------------------
  |  Branch (1591:21): [True: 9.66k, False: 38.0k]
  ------------------
 1592|  9.66k|                {
 1593|  9.66k|                    code = 1;
 1594|  9.66k|                    break;
 1595|  9.66k|                }
 1596|  38.0k|                else if (this_view[i] < y_view[i])
  ------------------
  |  Branch (1596:26): [True: 35.1k, False: 2.86k]
  ------------------
 1597|  35.1k|                {
 1598|  35.1k|                    code = -1;
 1599|  35.1k|                    break;
 1600|  35.1k|                }
 1601|  47.7k|            }
 1602|  47.7k|        }
 1603|  76.3k|        return is_negative() ? -code : code;
  ------------------
  |  Branch (1603:16): [True: 0, False: 76.3k]
  ------------------
 1604|  79.4k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEaSERKS4_:
  848|   111k|    {
  849|   111k|        storage_ = y.storage_;
  850|   111k|        return *this;
  851|   111k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEaSERKS5_:
  355|   111k|    {
  356|   111k|        if (this != &other)
  ------------------
  |  Branch (356:13): [True: 111k, False: 0]
  ------------------
  357|   111k|        {
  358|   111k|            auto other_view = other.get_storage_view();
  359|   111k|            resize(other_view.size());
  360|   111k|            auto this_view = get_storage_view();
  361|   111k|            if (other_view.size() > 0)
  ------------------
  |  Branch (361:17): [True: 73.0k, False: 38.0k]
  ------------------
  362|  73.0k|            {
  363|  73.0k|                common_.is_negative_ = other.common_.is_negative_;
  364|  73.0k|                std::memcpy(this_view.data(), other_view.data(), size_type(other_view.size()*sizeof(word_type)));
  365|  73.0k|            }
  366|   111k|        }
  367|   111k|        return *this;
  368|   111k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewIKmE4dataEv:
   78|  73.0k|        {
   79|  73.0k|            return data_;
   80|  73.0k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE9normalizeERS4_S5_Ri:
 1804|  15.6k|    {
 1805|  15.6k|        auto denom_view = denom.get_storage_view();
 1806|  15.6k|        if (denom_view.size() == 0)
  ------------------
  |  Branch (1806:13): [True: 0, False: 15.6k]
  ------------------
 1807|      0|        {
 1808|      0|            return false;
 1809|      0|        }
 1810|  15.6k|        size_type r = denom_view.size() - 1;
 1811|  15.6k|        word_type y = denom_view[r];
 1812|       |
 1813|  15.6k|        x = 0;
 1814|  15.6k|        while ( (y & l_bit) == 0 )
  ------------------
  |  Branch (1814:17): [True: 0, False: 15.6k]
  ------------------
 1815|      0|        {
 1816|      0|            y <<= 1;
 1817|      0|            x++;
 1818|      0|        }
 1819|  15.6k|        denom <<= x;
 1820|  15.6k|        num <<= x;
 1821|       |
 1822|  15.6k|        denom_view = denom.get_storage_view();
 1823|  15.6k|        if ( r > 0 && denom_view[r] < denom_view[r-1] )
  ------------------
  |  Branch (1823:14): [True: 0, False: 15.6k]
  |  Branch (1823:23): [True: 0, False: 0]
  ------------------
 1824|      0|        {
 1825|      0|            denom *= max_word;
 1826|      0|            num *= max_word;
 1827|      0|            return true;
 1828|      0|        }
 1829|  15.6k|        return false;
 1830|  15.6k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEElSEm:
 1050|  31.3k|    {
 1051|  31.3k|        auto this_view = get_storage_view();
 1052|  31.3k|        size_type q = k / word_type_bits;
 1053|  31.3k|        if ( q ) // Increase storage_.size() by q:
  ------------------
  |  Branch (1053:14): [True: 0, False: 31.3k]
  ------------------
 1054|      0|        {
 1055|      0|            resize(this_view.size() + q);
 1056|      0|            this_view = get_storage_view();
 1057|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1057:50): [True: 0, False: 0]
  ------------------
 1058|      0|                this_view[i] = ( i < q ? 0 : this_view[i - q]);
  ------------------
  |  Branch (1058:34): [True: 0, False: 0]
  ------------------
 1059|      0|            k %= word_type_bits;
 1060|      0|        }
 1061|  31.3k|        if ( k )  // 0 < k < word_type_bits:
  ------------------
  |  Branch (1061:14): [True: 0, False: 31.3k]
  ------------------
 1062|      0|        {
 1063|      0|            size_type k1 = word_type_bits - k;
 1064|      0|            word_type mask = (word_type(1) << k) - word_type(1);
 1065|      0|            resize( this_view.size() + 1 );
 1066|      0|            this_view = get_storage_view();
 1067|      0|            for (size_type i = this_view.size(); i-- > 0; )
  ------------------
  |  Branch (1067:50): [True: 0, False: 0]
  ------------------
 1068|      0|            {
 1069|      0|                this_view[i] <<= k;
 1070|      0|                if ( i > 0 )
  ------------------
  |  Branch (1070:22): [True: 0, False: 0]
  ------------------
 1071|      0|                    this_view[i] |= (this_view[i-1] >> k1) & mask;
 1072|      0|            }
 1073|      0|        }
 1074|  31.3k|        reduce();
 1075|  31.3k|        return *this;
 1076|  31.3k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE10DDquotientEmmm:
 1731|  15.6k|    {
 1732|  15.6k|        word_type left, middle, right, qHi, qLo, x, dLo1,
 1733|  15.6k|                   dHi = d >> word_type_half_bits, dLo = d & r_mask;
 1734|  15.6k|        qHi = A/(dHi + 1);
 1735|       |        // This initial guess of qHi may be too small.
 1736|  15.6k|        middle = qHi * dLo;
 1737|  15.6k|        left = qHi * dHi;
 1738|  15.6k|        x = B - (middle << word_type_half_bits);
 1739|  15.6k|        A -= (middle >> word_type_half_bits) + left + (x > B);
 1740|  15.6k|        B = x;
 1741|  15.6k|        dLo1 = dLo << word_type_half_bits;
 1742|       |        // Increase qHi if necessary:
 1743|  15.6k|        while ( A > dHi || (A == dHi && B >= dLo1) )
  ------------------
  |  Branch (1743:17): [True: 0, False: 15.6k]
  |  Branch (1743:29): [True: 0, False: 15.6k]
  |  Branch (1743:41): [True: 0, False: 0]
  ------------------
 1744|      0|        {
 1745|      0|            x = B - dLo1;
 1746|      0|            A -= dHi + (x > B);
 1747|      0|            B = x;
 1748|      0|            qHi++;
 1749|      0|        }
 1750|  15.6k|        qLo = ((A << word_type_half_bits) | (B >> word_type_half_bits))/(dHi + 1);
 1751|       |        // This initial guess of qLo may be too small.
 1752|  15.6k|        right = qLo * dLo;
 1753|  15.6k|        middle = qLo * dHi;
 1754|  15.6k|        x = B - right;
 1755|  15.6k|        A -= (x > B);
 1756|  15.6k|        B = x;
 1757|  15.6k|        x = B - (middle << word_type_half_bits);
 1758|  15.6k|            A -= (middle >> word_type_half_bits) + (x > B);
 1759|  15.6k|        B = x;
 1760|       |        // Increase qLo if necessary:
 1761|  17.9k|        while ( A || B >= d )
  ------------------
  |  Branch (1761:17): [True: 0, False: 17.9k]
  |  Branch (1761:22): [True: 2.29k, False: 15.6k]
  ------------------
 1762|  2.29k|        {
 1763|  2.29k|            x = B - d;
 1764|  2.29k|            A -= (x > B);
 1765|  2.29k|            B = x;
 1766|  2.29k|            qLo++;
 1767|  2.29k|        }
 1768|  15.6k|        return (qHi << word_type_half_bits) + qLo;
 1769|  15.6k|    }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11subtractmulEPmS5_mRm:
 1773|  15.6k|    {
 1774|  15.6k|        word_type hi, lo, d, carry = 0;
 1775|  15.6k|        size_type i;
 1776|  31.3k|        for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1776:22): [True: 15.6k, False: 15.6k]
  ------------------
 1777|  15.6k|        {
 1778|  15.6k|            DDproduct( b[i], q, hi, lo );
 1779|  15.6k|            d = a[i];
 1780|  15.6k|            a[i] -= lo;
 1781|  15.6k|            if ( a[i] > d )
  ------------------
  |  Branch (1781:18): [True: 8.97k, False: 6.71k]
  ------------------
 1782|  8.97k|                carry++;
 1783|  15.6k|            d = a[i + 1];
 1784|  15.6k|            a[i + 1] -= hi + carry;
 1785|  15.6k|            carry = a[i + 1] > d;
 1786|  15.6k|        }
 1787|  15.6k|        if ( carry ) // q was too large
  ------------------
  |  Branch (1787:14): [True: 0, False: 15.6k]
  ------------------
 1788|      0|        {
 1789|      0|            q--;
 1790|      0|            carry = 0;
 1791|      0|            for ( i = 0; i < n; i++ )
  ------------------
  |  Branch (1791:26): [True: 0, False: 0]
  ------------------
 1792|      0|            {
 1793|      0|                d = a[i] + carry;
 1794|      0|                carry = d < carry;
 1795|      0|                a[i] = d + b[i];
 1796|      0|                if ( a[i] < d )
  ------------------
  |  Branch (1796:22): [True: 0, False: 0]
  ------------------
 1797|      0|                    carry = 1;
 1798|      0|            }
 1799|      0|            a[n] = 0;
 1800|      0|        }
 1801|  15.6k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE12storage_viewImE4dataEv:
   78|   104k|        {
   79|   104k|            return data_;
   80|   104k|        }
_ZNK8jsoncons12basic_bigintINSt3__19allocatorImEEE11unnormalizeERS4_ib:
 1833|  15.6k|    {
 1834|  15.6k|        if (secondDone)
  ------------------
  |  Branch (1834:13): [True: 0, False: 15.6k]
  ------------------
 1835|      0|        {
 1836|      0|            rem /= max_word;
 1837|      0|        }
 1838|  15.6k|        if ( x > 0 )
  ------------------
  |  Branch (1838:14): [True: 0, False: 15.6k]
  ------------------
 1839|      0|        {
 1840|      0|            rem >>= x;
 1841|      0|        }
 1842|  15.6k|        else
 1843|  15.6k|        {
 1844|  15.6k|            rem.reduce();
 1845|  15.6k|        }
 1846|  15.6k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IlEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  682|  33.9k|        : storage_(n, alloc)
  683|  33.9k|    {
  684|  33.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IlEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  349|  33.9k|        : word_allocator_type(alloc)
  350|  33.9k|    {
  351|  33.9k|        ::new (&inlined_) inlined_storage(n);
  352|  33.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IlEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Esr3std9is_signedIS8_EE5valueEvE4typeE:
  124|  33.9k|            : is_allocated_(false),
  125|  33.9k|            is_negative_(n < 0),
  126|  33.9k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (126:19): [True: 17.8k, False: 16.0k]
  ------------------
  127|  33.9k|        {
  128|  33.9k|            values_[0] = n < 0 ? (word_type(0) - static_cast<word_type>(n)) : static_cast<word_type>(n);
  ------------------
  |  Branch (128:26): [True: 3.11k, False: 30.8k]
  ------------------
  129|  33.9k|            values_[1] = 0;
  130|  33.9k|        }
_ZN8jsonconsltERKNS_12basic_bigintINSt3__19allocatorImEEEEl:
 1414|  16.9k|    {
 1415|  16.9k|       return x.compare(y) < 0 ? true : false;
  ------------------
  |  Branch (1415:15): [True: 3.11k, False: 13.8k]
  ------------------
 1416|  16.9k|    }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEC2IjEET_RKS3_PNS1_9enable_ifIXsr3std11is_integralIS6_EE5valueEvE4typeE:
  682|  16.9k|        : storage_(n, alloc)
  683|  16.9k|    {
  684|  16.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEEC2IjEET_RKS4_PNS2_9enable_ifIXsr3std11is_integralIS7_EE5valueEvE4typeE:
  349|  16.9k|        : word_allocator_type(alloc)
  350|  16.9k|    {
  351|  16.9k|        ::new (&inlined_) inlined_storage(n);
  352|  16.9k|    }
_ZN8jsoncons6detail14bigint_storageINSt3__19allocatorImEEE15inlined_storageC2IjEET_PNS2_9enable_ifIXaaaasr3std11is_integralIS8_EE5valuelestS8_Lm8Entsr3std9is_signedIS8_EE5valueEvE4typeE:
  137|  16.9k|            : is_allocated_(false),
  138|  16.9k|            is_negative_(false),
  139|  16.9k|            size_(n == 0 ? 0 : 1)
  ------------------
  |  Branch (139:19): [True: 3.27k, False: 13.6k]
  ------------------
  140|  16.9k|        {
  141|  16.9k|            values_[0] = n;
  142|  16.9k|            values_[1] = 0;
  143|  16.9k|        }
_ZN8jsoncons12basic_bigintINSt3__19allocatorImEEEmIERKS4_:
  888|  3.11k|    {
  889|  3.11k|        auto y_view = y.get_storage_view();
  890|       |
  891|  3.11k|        if ( is_negative() != y.is_negative())
  ------------------
  |  Branch (891:14): [True: 3.11k, False: 0]
  ------------------
  892|  3.11k|            return *this += -y;
  893|      0|        if ( (!is_negative() && y > *this) || (is_negative() && y < *this) )
  ------------------
  |  Branch (893:15): [True: 0, False: 0]
  |  Branch (893:33): [True: 0, False: 0]
  |  Branch (893:48): [True: 0, False: 0]
  |  Branch (893:65): [True: 0, False: 0]
  ------------------
  894|      0|            return *this = -(y - *this);
  895|      0|        word_type borrow = 0;
  896|      0|        word_type d;
  897|      0|        auto this_view = get_storage_view();
  898|      0|        for (size_type i = 0; i < this_view.size(); i++ )
  ------------------
  |  Branch (898:31): [True: 0, False: 0]
  ------------------
  899|      0|        {
  900|      0|            if ( i >= y_view.size() && borrow == 0 )
  ------------------
  |  Branch (900:18): [True: 0, False: 0]
  |  Branch (900:40): [True: 0, False: 0]
  ------------------
  901|      0|                break;
  902|      0|            d = this_view[i] - borrow;
  903|      0|            borrow = d > this_view[i];
  904|      0|            if ( i < y_view.size())
  ------------------
  |  Branch (904:18): [True: 0, False: 0]
  ------------------
  905|      0|            {
  906|      0|                this_view[i] = d - y_view[i];
  907|      0|                if ( this_view[i] > d )
  ------------------
  |  Branch (907:22): [True: 0, False: 0]
  ------------------
  908|      0|                    borrow = 1;
  909|      0|            }
  910|      0|            else 
  911|      0|            {
  912|      0|                this_view[i] = d;
  913|      0|            }
  914|      0|        }
  915|      0|        reduce();
  916|      0|        return *this;
  917|      0|    }

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

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

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

_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  241|  13.8k|    {       
  242|  13.8k|        return (ptr);
  243|  13.8k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_4heap11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  241|   220k|    {       
  242|   220k|        return (ptr);
  243|   220k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  241|  8.40M|    {       
  242|  8.40M|        return (ptr);
  243|  8.40M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  241|  8.57M|    {       
  242|  8.57M|        return (ptr);
  243|  8.57M|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerIcEEPT_S3_:
  241|   233k|    {       
  242|   233k|        return (ptr);
  243|   233k|    }  
_ZN8jsoncons10ext_traits16to_plain_pointerImEEPT_S3_:
  241|  61.2k|    {       
  242|  61.2k|        return (ptr);
  243|  61.2k|    }  

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

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1134|   612k|    {
 1135|   612k|        conv_errc  result = conv_errc();
 1136|   612k|        const CharT* last = data + length;
 1137|  2.97M|        while (data != last) 
  ------------------
  |  Branch (1137:16): [True: 2.35M, False: 612k]
  ------------------
 1138|  2.35M|        {
 1139|  2.35M|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1140|  2.35M|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1140:17): [True: 8, False: 2.35M]
  ------------------
 1141|      8|            {
 1142|      8|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1143|      8|            }
 1144|  2.35M|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1144:17): [True: 126, False: 2.35M]
  ------------------
 1145|    126|            {
 1146|    126|                return convert_result<CharT>{data,result} ;
 1147|    126|            }
 1148|  2.35M|            data += len;
 1149|  2.35M|        }
 1150|   612k|        return convert_result<CharT>{data,result} ;
 1151|   612k|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr10ext_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  303|  2.35M|    {
  304|  2.35M|        uint8_t a;
  305|  2.35M|        const CharT* srcptr = first+length;
  306|  2.35M|        switch (length) {
  307|     11|        default:
  ------------------
  |  Branch (307:9): [True: 11, False: 2.35M]
  ------------------
  308|     11|            return conv_errc::over_long_utf8_sequence;
  309|    612|        case 4:
  ------------------
  |  Branch (309:9): [True: 612, False: 2.35M]
  ------------------
  310|    612|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (310:17): [True: 8, False: 604]
  ------------------
  311|      8|                return conv_errc::expected_continuation_byte;
  312|    604|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|    604|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  313|  1.47k|        case 3:
  ------------------
  |  Branch (313:9): [True: 870, False: 2.35M]
  ------------------
  314|  1.47k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 6, False: 1.46k]
  ------------------
  315|      6|                return conv_errc::expected_continuation_byte;
  316|  1.46k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.46k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  317|  2.03k|        case 2:
  ------------------
  |  Branch (317:9): [True: 565, False: 2.35M]
  ------------------
  318|  2.03k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (318:17): [True: 31, False: 2.00k]
  ------------------
  319|     31|                return conv_errc::expected_continuation_byte;
  320|       |
  321|  2.00k|            switch (static_cast<uint8_t>(*first)) 
  322|  2.00k|            {
  323|       |                // no fall-through in this inner switch
  324|    399|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (324:17): [True: 399, False: 1.60k]
  |  Branch (324:32): [True: 9, False: 390]
  ------------------
  325|    390|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (325:17): [True: 369, False: 1.63k]
  |  Branch (325:32): [True: 2, False: 367]
  ------------------
  326|    367|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (326:17): [True: 287, False: 1.71k]
  |  Branch (326:32): [True: 5, False: 282]
  ------------------
  327|    282|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (327:17): [True: 210, False: 1.79k]
  |  Branch (327:32): [True: 4, False: 206]
  ------------------
  328|    737|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (328:17): [True: 737, False: 1.26k]
  |  Branch (328:32): [True: 0, False: 737]
  ------------------
  329|  2.00k|            }
  330|       |
  331|  1.98k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |  564|  1.98k|#  define JSONCONS_FALLTHROUGH [[fallthrough]]
  ------------------
  332|  2.35M|        case 1:
  ------------------
  |  Branch (332:9): [True: 2.35M, False: 2.05k]
  ------------------
  333|  2.35M|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (333:17): [True: 2.02k, False: 2.35M]
  |  Branch (333:57): [True: 49, False: 1.98k]
  ------------------
  334|     49|                return conv_errc::source_illegal;
  335|  2.35M|            break;
  336|  2.35M|        }
  337|  2.35M|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (337:13): [True: 1, False: 2.35M]
  ------------------
  338|      1|            return conv_errc::source_illegal;
  339|       |
  340|  2.35M|        return conv_errc();
  341|  2.35M|    }

_ZN8jsoncons12from_integerImNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  18.9M|{
   43|  18.9M|    using char_type = typename Result::value_type;
   44|       |
   45|  18.9M|    char_type buf[255];
   46|  18.9M|    char_type *p = buf;
   47|  18.9M|    const char_type* last = buf+255;
   48|       |
   49|  18.9M|    bool is_negative = value < 0;
   50|       |
   51|  18.9M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 0, False: 18.9M]
  ------------------
   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|  18.9M|    else
   60|  18.9M|    {
   61|       |
   62|  18.9M|        do
   63|  22.3M|        {
   64|  22.3M|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  22.3M|        }
   66|  22.3M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 3.39M, False: 18.9M]
  |  Branch (66:33): [True: 3.39M, False: 0]
  ------------------
   67|  18.9M|    }
   68|  18.9M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  18.9M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 18.9M]
  |  |  ------------------
  |  |   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|  18.9M|    std::size_t count = (p - buf);
   71|  18.9M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 0, False: 18.9M]
  ------------------
   72|      0|    {
   73|      0|        result.push_back('-');
   74|      0|        ++count;
   75|      0|    }
   76|  41.3M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 22.3M, False: 18.9M]
  ------------------
   77|  22.3M|    {
   78|  22.3M|        result.push_back(*p);
   79|  22.3M|    }
   80|       |
   81|  18.9M|    return count;
   82|  18.9M|}
_ZN8jsoncons12from_integerIlNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEENS1_9enable_ifIXsr10ext_traits10is_integerIT_EE5valueEmE4typeES9_RT0_:
   42|  2.33M|{
   43|  2.33M|    using char_type = typename Result::value_type;
   44|       |
   45|  2.33M|    char_type buf[255];
   46|  2.33M|    char_type *p = buf;
   47|  2.33M|    const char_type* last = buf+255;
   48|       |
   49|  2.33M|    bool is_negative = value < 0;
   50|       |
   51|  2.33M|    if (value < 0)
  ------------------
  |  Branch (51:9): [True: 2.33M, False: 988]
  ------------------
   52|  2.33M|    {
   53|  2.33M|        do
   54|  4.68M|        {
   55|  4.68M|            *p++ = static_cast<char_type>(48 - (value % 10));
   56|  4.68M|        }
   57|  4.68M|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (57:16): [True: 2.34M, False: 2.33M]
  |  Branch (57:33): [True: 2.34M, False: 0]
  ------------------
   58|  2.33M|    }
   59|    988|    else
   60|    988|    {
   61|       |
   62|    988|        do
   63|  9.21k|        {
   64|  9.21k|            *p++ = static_cast<char_type>(48 + value % 10);
   65|  9.21k|        }
   66|  9.21k|        while ((value /= 10) && (p < last));
  ------------------
  |  Branch (66:16): [True: 8.22k, False: 988]
  |  Branch (66:33): [True: 8.22k, False: 0]
  ------------------
   67|    988|    }
   68|  2.33M|    JSONCONS_ASSERT(p != last);
  ------------------
  |  |   45|  2.33M|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (45:32): [True: 0, False: 2.33M]
  |  |  ------------------
  |  |   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.33M|    std::size_t count = (p - buf);
   71|  2.33M|    if (is_negative)
  ------------------
  |  Branch (71:9): [True: 2.33M, False: 988]
  ------------------
   72|  2.33M|    {
   73|  2.33M|        result.push_back('-');
   74|  2.33M|        ++count;
   75|  2.33M|    }
   76|  7.02M|    while (--p >= buf)
  ------------------
  |  Branch (76:12): [True: 4.69M, False: 2.33M]
  ------------------
   77|  4.69M|    {
   78|  4.69M|        result.push_back(*p);
   79|  4.69M|    }
   80|       |
   81|  2.33M|    return count;
   82|  2.33M|}
_ZN8jsoncons12write_doubleC2ENS_18float_chars_formatEi:
  487|  95.2k|       : float_format_(float_format), precision_(precision), decimal_point_('.')
  488|  95.2k|    {
  489|  95.2k|#if !defined(JSONCONS_NO_LOCALECONV)
  490|  95.2k|        struct lconv *lc = localeconv();
  491|  95.2k|        if (lc != nullptr && lc->decimal_point[0] != 0)
  ------------------
  |  Branch (491:13): [True: 95.2k, False: 0]
  |  Branch (491:30): [True: 95.2k, False: 0]
  ------------------
  492|  95.2k|        {
  493|  95.2k|            decimal_point_ = lc->decimal_point[0];
  494|  95.2k|        }
  495|  95.2k|#endif
  496|  95.2k|    }
_ZN8jsoncons12write_doubleclINS_11string_sinkINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEEmdRT_:
  503|  95.2k|    {
  504|  95.2k|        std::size_t count = 0;
  505|       |
  506|  95.2k|        char number_buffer[200];
  507|  95.2k|        int length = 0;
  508|       |
  509|  95.2k|        switch (float_format_)
  510|  95.2k|        {
  511|      0|        case float_chars_format::fixed:
  ------------------
  |  Branch (511:9): [True: 0, False: 95.2k]
  ------------------
  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: 95.2k]
  ------------------
  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|  95.2k|        case float_chars_format::general:
  ------------------
  |  Branch (551:9): [True: 95.2k, False: 0]
  ------------------
  552|  95.2k|            {
  553|  95.2k|                if (precision_ > 0)
  ------------------
  |  Branch (553:21): [True: 0, False: 95.2k]
  ------------------
  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|  95.2k|                else
  563|  95.2k|                {
  564|  95.2k|                    if (!dtoa_general(val, decimal_point_, result))
  ------------------
  |  Branch (564:25): [True: 0, False: 95.2k]
  ------------------
  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|  95.2k|                }             
  569|  95.2k|                break;
  570|  95.2k|            }
  571|  95.2k|            default:
  ------------------
  |  Branch (571:13): [True: 0, False: 95.2k]
  ------------------
  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|  95.2k|        }
  575|  95.2k|        return count;
  576|  95.2k|    }
_ZN8jsoncons11dump_bufferINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmcRT_:
  243|  4.67k|{
  244|  4.67k|    const char *sbeg = buffer;
  245|  4.67k|    const char *send = sbeg + length;
  246|       |
  247|  4.67k|    if (sbeg != send)
  ------------------
  |  Branch (247:9): [True: 4.67k, False: 0]
  ------------------
  248|  4.67k|    {
  249|  4.67k|        bool needs_dot = true;
  250|  75.4k|        for (const char* q = sbeg; q < send; ++q)
  ------------------
  |  Branch (250:36): [True: 70.7k, False: 4.67k]
  ------------------
  251|  70.7k|        {
  252|  70.7k|            switch (*q)
  253|  70.7k|            {
  254|  2.60k|            case '-':
  ------------------
  |  Branch (254:13): [True: 2.60k, False: 68.1k]
  ------------------
  255|  5.03k|            case '0':
  ------------------
  |  Branch (255:13): [True: 2.43k, False: 68.3k]
  ------------------
  256|  12.2k|            case '1':
  ------------------
  |  Branch (256:13): [True: 7.19k, False: 63.5k]
  ------------------
  257|  16.8k|            case '2':
  ------------------
  |  Branch (257:13): [True: 4.60k, False: 66.1k]
  ------------------
  258|  20.4k|            case '3':
  ------------------
  |  Branch (258:13): [True: 3.57k, False: 67.1k]
  ------------------
  259|  25.5k|            case '4':
  ------------------
  |  Branch (259:13): [True: 5.11k, False: 65.6k]
  ------------------
  260|  35.5k|            case '5':
  ------------------
  |  Branch (260:13): [True: 9.99k, False: 60.7k]
  ------------------
  261|  40.1k|            case '6':
  ------------------
  |  Branch (261:13): [True: 4.67k, False: 66.0k]
  ------------------
  262|  46.1k|            case '7':
  ------------------
  |  Branch (262:13): [True: 5.91k, False: 64.8k]
  ------------------
  263|  53.3k|            case '8':
  ------------------
  |  Branch (263:13): [True: 7.28k, False: 63.4k]
  ------------------
  264|  57.5k|            case '9':
  ------------------
  |  Branch (264:13): [True: 4.15k, False: 66.5k]
  ------------------
  265|  60.1k|            case '+':
  ------------------
  |  Branch (265:13): [True: 2.55k, False: 68.2k]
  ------------------
  266|  60.1k|                result.push_back(*q);
  267|  60.1k|                break;
  268|  2.82k|            case 'e':
  ------------------
  |  Branch (268:13): [True: 2.82k, False: 67.9k]
  ------------------
  269|  2.82k|            case 'E':
  ------------------
  |  Branch (269:13): [True: 0, False: 70.7k]
  ------------------
  270|  2.82k|                result.push_back('e');
  271|  2.82k|                needs_dot = false;
  272|  2.82k|                break;
  273|  7.82k|            default:
  ------------------
  |  Branch (273:13): [True: 7.82k, False: 62.9k]
  ------------------
  274|  7.82k|                if (*q == decimal_point)
  ------------------
  |  Branch (274:21): [True: 3.03k, False: 4.78k]
  ------------------
  275|  3.03k|                {
  276|  3.03k|                    needs_dot = false;
  277|  3.03k|                    result.push_back('.');
  278|  3.03k|                }
  279|  7.82k|                break;
  280|  70.7k|            }
  281|  70.7k|        }
  282|  4.67k|        if (needs_dot)
  ------------------
  |  Branch (282:13): [True: 1.63k, False: 3.03k]
  ------------------
  283|  1.63k|        {
  284|  1.63k|            result.push_back('.');
  285|  1.63k|            result.push_back('0');
  286|  1.63k|        }
  287|  4.67k|    }
  288|  4.67k|}
_ZN8jsoncons15prettify_stringINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEvPKcmiiiRT_:
  171|  88.5k|{
  172|  88.5k|    int nb_digits = (int)length;
  173|  88.5k|    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|  88.5k|    int kk = nb_digits + k;
  179|       |
  180|  88.5k|    if (nb_digits <= kk && kk <= max_exp)
  ------------------
  |  Branch (180:9): [True: 69.3k, False: 19.1k]
  |  Branch (180:28): [True: 63.1k, False: 6.25k]
  ------------------
  181|  63.1k|    {
  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|   509k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (185:25): [True: 446k, False: 63.1k]
  ------------------
  186|   446k|        {
  187|   446k|            result.push_back(buffer[i]);
  188|   446k|        }
  189|  64.5k|        for (int i = nb_digits; i < kk; ++i)
  ------------------
  |  Branch (189:33): [True: 1.42k, False: 63.1k]
  ------------------
  190|  1.42k|        {
  191|  1.42k|            result.push_back('0');
  192|  1.42k|        }
  193|  63.1k|        result.push_back('.');
  194|  63.1k|        result.push_back('0');
  195|  63.1k|    } 
  196|  25.4k|    else if (0 < kk && kk <= max_exp)
  ------------------
  |  Branch (196:14): [True: 11.9k, False: 13.4k]
  |  Branch (196:24): [True: 5.69k, False: 6.25k]
  ------------------
  197|  5.69k|    {
  198|       |        /* comma number. Just insert a '.' at the correct location. */
  199|  24.5k|        for (int i = 0; i < kk; ++i)
  ------------------
  |  Branch (199:25): [True: 18.8k, False: 5.69k]
  ------------------
  200|  18.8k|        {
  201|  18.8k|            result.push_back(buffer[i]);
  202|  18.8k|        }
  203|  5.69k|        result.push_back('.');
  204|  66.0k|        for (int i = kk; i < nb_digits; ++i)
  ------------------
  |  Branch (204:26): [True: 60.3k, False: 5.69k]
  ------------------
  205|  60.3k|        {
  206|  60.3k|            result.push_back(buffer[i]);
  207|  60.3k|        }
  208|  5.69k|    } 
  209|  19.7k|    else if (min_exp < kk && kk <= 0)
  ------------------
  |  Branch (209:14): [True: 7.08k, False: 12.6k]
  |  Branch (209:30): [True: 831, False: 6.25k]
  ------------------
  210|    831|    {
  211|    831|        offset = 2 - kk;
  212|       |
  213|    831|        result.push_back('0');
  214|    831|        result.push_back('.');
  215|  2.17k|        for (int i = 2; i < offset; ++i) 
  ------------------
  |  Branch (215:25): [True: 1.34k, False: 831]
  ------------------
  216|  1.34k|            result.push_back('0');
  217|  11.1k|        for (int i = 0; i < nb_digits; ++i)
  ------------------
  |  Branch (217:25): [True: 10.2k, False: 831]
  ------------------
  218|  10.2k|        {
  219|  10.2k|            result.push_back(buffer[i]);
  220|  10.2k|        }
  221|    831|    } 
  222|  18.9k|    else if (nb_digits == 1)
  ------------------
  |  Branch (222:14): [True: 2.85k, False: 16.0k]
  ------------------
  223|  2.85k|    {
  224|  2.85k|        result.push_back(buffer[0]);
  225|  2.85k|        result.push_back('e');
  226|  2.85k|        fill_exponent(kk - 1, result);
  227|  2.85k|    } 
  228|  16.0k|    else
  229|  16.0k|    {
  230|  16.0k|        result.push_back(buffer[0]);
  231|  16.0k|        result.push_back('.');
  232|   237k|        for (int i = 1; i < nb_digits; ++i)
  ------------------
  |  Branch (232:25): [True: 221k, False: 16.0k]
  ------------------
  233|   221k|        {
  234|   221k|            result.push_back(buffer[i]);
  235|   221k|        }
  236|  16.0k|        result.push_back('e');
  237|  16.0k|        fill_exponent(kk - 1, result);
  238|  16.0k|    }
  239|  88.5k|}
_ZN8jsoncons13fill_exponentINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEviRT_:
  136|  18.9k|{
  137|  18.9k|    if (K < 0)
  ------------------
  |  Branch (137:9): [True: 12.6k, False: 6.25k]
  ------------------
  138|  12.6k|    {
  139|  12.6k|        result.push_back('-');
  140|  12.6k|        K = -K;
  141|  12.6k|    }
  142|  6.25k|    else
  143|  6.25k|    {
  144|  6.25k|        result.push_back('+'); // compatibility with sprintf
  145|  6.25k|    }
  146|       |
  147|  18.9k|    if (K < 10)
  ------------------
  |  Branch (147:9): [True: 1.85k, False: 17.0k]
  ------------------
  148|  1.85k|    {
  149|  1.85k|        result.push_back('0'); // compatibility with sprintf
  150|  1.85k|        result.push_back((char)('0' + K));
  151|  1.85k|    }
  152|  17.0k|    else if (K < 100)
  ------------------
  |  Branch (152:14): [True: 7.87k, False: 9.19k]
  ------------------
  153|  7.87k|    {
  154|  7.87k|        result.push_back((char)('0' + K / 10)); K %= 10;
  155|  7.87k|        result.push_back((char)('0' + K));
  156|  7.87k|    }
  157|  9.19k|    else if (K < 1000)
  ------------------
  |  Branch (157:14): [True: 9.19k, False: 0]
  ------------------
  158|  9.19k|    {
  159|  9.19k|        result.push_back((char)('0' + K / 100)); K %= 100;
  160|  9.19k|        result.push_back((char)('0' + K / 10)); K %= 10;
  161|  9.19k|        result.push_back((char)('0' + K));
  162|  9.19k|    }
  163|      0|    else
  164|      0|    {
  165|      0|        jsoncons::from_integer(K, result);
  166|      0|    }
  167|  18.9k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_:
  475|  95.2k|{
  476|  95.2k|    return dtoa_general(v, decimal_point, result, std::integral_constant<bool, std::numeric_limits<double>::is_iec559>());
  477|  95.2k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb1EEE:
  366|  95.2k|{
  367|  95.2k|    if (v == 0)
  ------------------
  |  Branch (367:9): [True: 1.97k, False: 93.2k]
  ------------------
  368|  1.97k|    {
  369|  1.97k|        result.push_back('0');
  370|  1.97k|        result.push_back('.');
  371|  1.97k|        result.push_back('0');
  372|  1.97k|        return true;
  373|  1.97k|    }
  374|       |
  375|  93.2k|    int length = 0;
  376|  93.2k|    int k;
  377|       |
  378|  93.2k|    char buffer[100];
  379|       |
  380|  93.2k|    double u = std::signbit(v) ? -v : v;
  ------------------
  |  Branch (380:16): [True: 80.4k, False: 12.8k]
  ------------------
  381|  93.2k|    if (jsoncons::detail::grisu3(u, buffer, &length, &k))
  ------------------
  |  Branch (381:9): [True: 88.5k, False: 4.67k]
  ------------------
  382|  88.5k|    {
  383|  88.5k|        if (std::signbit(v))
  ------------------
  |  Branch (383:13): [True: 78.0k, False: 10.4k]
  ------------------
  384|  78.0k|        {
  385|  78.0k|            result.push_back('-');
  386|  78.0k|        }
  387|       |        // min exp: -4 is consistent with sprintf
  388|       |        // max exp: std::numeric_limits<double>::max_digits10
  389|  88.5k|        jsoncons::prettify_string(buffer, length, k, -4, std::numeric_limits<double>::max_digits10, result);
  390|  88.5k|        return true;
  391|  88.5k|    }
  392|  4.67k|    else
  393|  4.67k|    {
  394|  4.67k|        return dtoa_general(v, decimal_point, result, std::false_type());
  395|  4.67k|    }
  396|  93.2k|}
_ZN8jsoncons12dtoa_generalINS_11string_sinkINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEEEbdcRT_NS2_17integral_constantIbLb0EEE:
  329|  4.67k|{
  330|  4.67k|    if (val == 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 4.67k]
  ------------------
  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|  4.67k|    char buffer[100];
  339|  4.67k|    int precision = std::numeric_limits<double>::digits10;
  340|  4.67k|    int length = snprintf(buffer, sizeof(buffer), "%1.*g", precision, val);
  341|  4.67k|    if (length < 0)
  ------------------
  |  Branch (341:9): [True: 0, False: 4.67k]
  ------------------
  342|      0|    {
  343|      0|        return false;
  344|      0|    }
  345|  4.67k|    double x{0};
  346|  4.67k|    auto res = decstr_to_double(buffer, length, x);
  347|  4.67k|    if (res.ec == std::errc::invalid_argument)
  ------------------
  |  Branch (347:9): [True: 0, False: 4.67k]
  ------------------
  348|      0|    {
  349|      0|        return false;
  350|      0|    }
  351|  4.67k|    if (x != val)
  ------------------
  |  Branch (351:9): [True: 3.28k, False: 1.38k]
  ------------------
  352|  3.28k|    {
  353|  3.28k|        const int precision2 = std::numeric_limits<double>::max_digits10;
  354|  3.28k|        length = snprintf(buffer, sizeof(buffer), "%1.*g", precision2, val);
  355|  3.28k|        if (length < 0)
  ------------------
  |  Branch (355:13): [True: 0, False: 3.28k]
  ------------------
  356|      0|        {
  357|      0|            return false;
  358|      0|        }
  359|  3.28k|    }
  360|  4.67k|    dump_buffer(buffer, length, decimal_point, result);
  361|  4.67k|    return true;
  362|  4.67k|}

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

_ZN8jsoncons7msgpack15make_error_codeENS0_12msgpack_errcE:
   82|  4.38k|{
   83|  4.38k|    return std::error_code(static_cast<int>(e),msgpack_error_category());
   84|  4.38k|}
_ZN8jsoncons7msgpack22msgpack_error_categoryEv:
   75|  4.38k|{
   76|  4.38k|  static msgpack_error_category_impl instance;
   77|  4.38k|  return instance;
   78|  4.38k|}
_ZNK8jsoncons7msgpack27msgpack_error_category_impl7messageEi:
   42|  4.38k|    {
   43|  4.38k|        switch (static_cast<msgpack_errc>(ev))
   44|  4.38k|        {
   45|  4.22k|            case msgpack_errc::unexpected_eof:
  ------------------
  |  Branch (45:13): [True: 4.22k, False: 158]
  ------------------
   46|  4.22k|                return "Unexpected end of file";
   47|      0|            case msgpack_errc::source_error:
  ------------------
  |  Branch (47:13): [True: 0, False: 4.38k]
  ------------------
   48|      0|                return "Source error";
   49|    134|            case msgpack_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (49:13): [True: 134, False: 4.24k]
  ------------------
   50|    134|                return "Illegal UTF-8 encoding in text string";
   51|      0|            case msgpack_errc::array_length_required:
  ------------------
  |  Branch (51:13): [True: 0, False: 4.38k]
  ------------------
   52|      0|                return "MessagePack encoder requires array length";
   53|      0|            case msgpack_errc::object_length_required:
  ------------------
  |  Branch (53:13): [True: 0, False: 4.38k]
  ------------------
   54|      0|                return "MessagePack encoder requires object length";
   55|      0|            case msgpack_errc::too_many_items:
  ------------------
  |  Branch (55:13): [True: 0, False: 4.38k]
  ------------------
   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.38k]
  ------------------
   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.37k]
  ------------------
   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.38k]
  ------------------
   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.38k]
  ------------------
   64|      0|                return "Invalid timestamp";
   65|     21|            case msgpack_errc::unknown_type:
  ------------------
  |  Branch (65:13): [True: 21, False: 4.36k]
  ------------------
   66|     21|                return "An unknown type was found in the stream";
   67|      0|            default:
  ------------------
  |  Branch (67:13): [True: 0, False: 4.38k]
  ------------------
   68|      0|                return "Unknown MessagePack parser error";
   69|  4.38k|        }
   70|  4.38k|    }

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

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

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

