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

_ZNK8jsoncons16allocator_holderINSt3__19allocatorIcEEE13get_allocatorEv:
   31|   273k|    {
   32|   273k|        return alloc_;
   33|   273k|    }
_ZN8jsoncons16allocator_holderINSt3__19allocatorIcEEEC2ERKS3_:
   27|   184k|        {}

_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEED2Ev:
 3796|  95.7M|        {
 3797|  95.7M|             destroy();
 3798|  95.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7destroyEv:
 2215|   137M|        {
 2216|   137M|            switch (storage_kind())
 2217|   137M|            {
 2218|  67.9k|                case json_storage_kind::long_string_value:
  ------------------
  |  Branch (2218:17): [True: 67.9k, False: 137M]
  ------------------
 2219|  67.9k|                    destroy_var<long_string_storage>();
 2220|  67.9k|                    break;
 2221|  16.4k|                case json_storage_kind::byte_string_value:
  ------------------
  |  Branch (2221:17): [True: 16.4k, False: 137M]
  ------------------
 2222|  16.4k|                    destroy_var<byte_string_storage>();
 2223|  16.4k|                    break;
 2224|  37.0k|                case json_storage_kind::array_value:
  ------------------
  |  Branch (2224:17): [True: 37.0k, False: 137M]
  ------------------
 2225|  37.0k|                    destroy_var<array_storage>();
 2226|  37.0k|                    break;
 2227|  52.4k|                case json_storage_kind::object_value:
  ------------------
  |  Branch (2227:17): [True: 52.4k, False: 137M]
  ------------------
 2228|  52.4k|                    destroy_var<object_storage>();
 2229|  52.4k|                    break;
 2230|   137M|                default:
  ------------------
  |  Branch (2230:17): [True: 137M, False: 173k]
  ------------------
 2231|   137M|                    break;
 2232|   137M|            }
 2233|   137M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12storage_kindEv:
 2839|   377M|        {
 2840|       |            // It is legal to access 'common_stor_.storage_kind_' even though 
 2841|       |            // common_stor_ is not the active member of the union because 'storage_kind_' 
 2842|       |            // is a part of the common initial sequence of all union members
 2843|       |            // as defined in 11.4-25 of the Standard.
 2844|   377M|            return static_cast<json_storage_kind>(common_stor_.storage_kind_);
 2845|   377M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11destroy_varINS5_19long_string_storageEEEvv:
 2243|  67.9k|        {
 2244|  67.9k|            cast<T>().~T();
 2245|  67.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19long_string_storageEEERT_v:
 2252|   492k|        {
 2253|   492k|            return cast(identity<T>());
 2254|   492k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19long_string_storageEEE:
 2343|   492k|        {
 2344|   492k|            return long_string_stor_;
 2345|   492k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageD2Ev:
  733|  67.9k|            {
  734|  67.9k|                heap_string_factory_type::destroy(ptr_);
  735|  67.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11destroy_varINS5_19byte_string_storageEEEvv:
 2243|  16.4k|        {
 2244|  16.4k|            cast<T>().~T();
 2245|  16.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_19byte_string_storageEEERT_v:
 2252|   124k|        {
 2253|   124k|            return cast(identity<T>());
 2254|   124k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_19byte_string_storageEEE:
 2353|   124k|        {
 2354|   124k|            return byte_string_stor_;
 2355|   124k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageD2Ev:
  858|  16.4k|            {
  859|  16.4k|                heap_string_factory_type::destroy(ptr_);
  860|  16.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11destroy_varINS5_13array_storageEEEvv:
 2243|  37.0k|        {
 2244|  37.0k|            cast<T>().~T();
 2245|  37.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERT_v:
 2252|  4.68M|        {
 2253|  4.68M|            return cast(identity<T>());
 2254|  4.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 2373|  4.68M|        {
 2374|  4.68M|            return array_stor_;
 2375|  4.68M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageD2Ev:
  990|  37.0k|            {
  991|  37.0k|                if (ptr_ != nullptr)
  ------------------
  |  Branch (991:21): [True: 37.0k, False: 0]
  ------------------
  992|  37.0k|                {
  993|  37.0k|                    destroy();
  994|  37.0k|                }
  995|  37.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage7destroyEv:
  924|  37.0k|            {
  925|  37.0k|                array_allocator alloc(ptr_->get_allocator());
  926|  37.0k|                std::allocator_traits<array_allocator>::destroy(alloc, extension_traits::to_plain_pointer(ptr_));
  927|  37.0k|                std::allocator_traits<array_allocator>::deallocate(alloc, ptr_,1);
  928|  37.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EOS5_:
 3497|  73.2M|        {
 3498|  73.2M|            uninitialized_move(std::move(other));
 3499|  73.2M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_moveEOS5_:
 2537|  73.3M|        {
 2538|  73.3M|            switch (other.storage_kind())
 2539|  73.3M|            {
 2540|  71.2M|                case json_storage_kind::null_value:
  ------------------
  |  Branch (2540:17): [True: 71.2M, False: 2.10M]
  ------------------
 2541|  71.2M|                case json_storage_kind::empty_object_value:
  ------------------
  |  Branch (2541:17): [True: 0, False: 73.3M]
  ------------------
 2542|  71.2M|                case json_storage_kind::half_value:
  ------------------
  |  Branch (2542:17): [True: 0, False: 73.3M]
  ------------------
 2543|  71.4M|                case json_storage_kind::double_value:
  ------------------
  |  Branch (2543:17): [True: 152k, False: 73.2M]
  ------------------
 2544|  72.0M|                case json_storage_kind::int64_value:
  ------------------
  |  Branch (2544:17): [True: 653k, False: 72.7M]
  ------------------
 2545|  72.1M|                case json_storage_kind::uint64_value:
  ------------------
  |  Branch (2545:17): [True: 107k, False: 73.2M]
  ------------------
 2546|  72.8M|                case json_storage_kind::bool_value:
  ------------------
  |  Branch (2546:17): [True: 623k, False: 72.7M]
  ------------------
 2547|  72.9M|                case json_storage_kind::short_string_value:
  ------------------
  |  Branch (2547:17): [True: 140k, False: 73.2M]
  ------------------
 2548|  72.9M|                case json_storage_kind::json_const_pointer:
  ------------------
  |  Branch (2548:17): [True: 0, False: 73.3M]
  ------------------
 2549|  72.9M|                    uninitialized_copy(other);
 2550|  72.9M|                    break;
 2551|       |                    
 2552|   178k|                case json_storage_kind::long_string_value:
  ------------------
  |  Branch (2552:17): [True: 178k, False: 73.2M]
  ------------------
 2553|   178k|                    construct<long_string_storage>(std::move(other.cast<long_string_storage>()));
 2554|   178k|                    break;
 2555|  46.0k|                case json_storage_kind::byte_string_value:
  ------------------
  |  Branch (2555:17): [True: 46.0k, False: 73.3M]
  ------------------
 2556|  46.0k|                    construct<byte_string_storage>(std::move(other.cast<byte_string_storage>()));
 2557|  46.0k|                    break;
 2558|  45.0k|                case json_storage_kind::array_value:
  ------------------
  |  Branch (2558:17): [True: 45.0k, False: 73.3M]
  ------------------
 2559|  45.0k|                    construct<array_storage>(std::move(other.cast<array_storage>()));
 2560|  45.0k|                    break;
 2561|   158k|                case json_storage_kind::object_value:
  ------------------
  |  Branch (2561:17): [True: 158k, False: 73.2M]
  ------------------
 2562|   158k|                    construct<object_storage>(std::move(other.cast<object_storage>()));
 2563|   158k|                    break;
 2564|       |                    
 2565|      0|                default:
  ------------------
  |  Branch (2565:17): [True: 0, False: 73.3M]
  ------------------
 2566|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 2567|      0|                    break;
 2568|  73.3M|            }
 2569|  73.3M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE18uninitialized_copyERKS5_:
 2455|   114M|        {
 2456|   114M|            switch (other.storage_kind())
 2457|   114M|            {
 2458|   112M|                case json_storage_kind::null_value:
  ------------------
  |  Branch (2458:17): [True: 112M, False: 2.72M]
  ------------------
 2459|   112M|                    construct<null_storage>(other.cast<null_storage>());
 2460|   112M|                    break;
 2461|      0|                case json_storage_kind::empty_object_value:
  ------------------
  |  Branch (2461:17): [True: 0, False: 114M]
  ------------------
 2462|      0|                    construct<empty_object_storage>(other.cast<empty_object_storage>());
 2463|      0|                    break;
 2464|   946k|                case json_storage_kind::bool_value:
  ------------------
  |  Branch (2464:17): [True: 946k, False: 114M]
  ------------------
 2465|   946k|                    construct<bool_storage>(other.cast<bool_storage>());
 2466|   946k|                    break;
 2467|  1.10M|                case json_storage_kind::int64_value:
  ------------------
  |  Branch (2467:17): [True: 1.10M, False: 113M]
  ------------------
 2468|  1.10M|                    construct<int64_storage>(other.cast<int64_storage>());
 2469|  1.10M|                    break;
 2470|   173k|                case json_storage_kind::uint64_value:
  ------------------
  |  Branch (2470:17): [True: 173k, False: 114M]
  ------------------
 2471|   173k|                    construct<uint64_storage>(other.cast<uint64_storage>());
 2472|   173k|                    break;
 2473|      0|                case json_storage_kind::half_value:
  ------------------
  |  Branch (2473:17): [True: 0, False: 114M]
  ------------------
 2474|      0|                    construct<half_storage>(other.cast<half_storage>());
 2475|      0|                    break;
 2476|   203k|                case json_storage_kind::double_value:
  ------------------
  |  Branch (2476:17): [True: 203k, False: 114M]
  ------------------
 2477|   203k|                    construct<double_storage>(other.cast<double_storage>());
 2478|   203k|                    break;
 2479|   294k|                case json_storage_kind::short_string_value:
  ------------------
  |  Branch (2479:17): [True: 294k, False: 114M]
  ------------------
 2480|   294k|                    construct<short_string_storage>(other.cast<short_string_storage>());
 2481|   294k|                    break;
 2482|      0|                case json_storage_kind::long_string_value:
  ------------------
  |  Branch (2482:17): [True: 0, False: 114M]
  ------------------
 2483|      0|                    construct<long_string_storage>(other.cast<long_string_storage>());
 2484|      0|                    break;
 2485|      0|                case json_storage_kind::byte_string_value:
  ------------------
  |  Branch (2485:17): [True: 0, False: 114M]
  ------------------
 2486|      0|                    construct<byte_string_storage>(other.cast<byte_string_storage>());
 2487|      0|                    break;
 2488|      0|                case json_storage_kind::object_value:
  ------------------
  |  Branch (2488:17): [True: 0, False: 114M]
  ------------------
 2489|      0|                    construct<object_storage>(other.cast<object_storage>());
 2490|      0|                    break;
 2491|      0|                case json_storage_kind::array_value:
  ------------------
  |  Branch (2491:17): [True: 0, False: 114M]
  ------------------
 2492|      0|                    construct<array_storage>(other.cast<array_storage>());
 2493|      0|                    break;
 2494|      0|                case json_storage_kind::json_const_pointer:
  ------------------
  |  Branch (2494:17): [True: 0, False: 114M]
  ------------------
 2495|      0|                    construct<json_const_pointer_storage>(other.cast<json_const_pointer_storage>());
 2496|      0|                    break;
 2497|      0|                default:
  ------------------
  |  Branch (2497:17): [True: 0, False: 114M]
  ------------------
 2498|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 2499|      0|                    break;
 2500|   114M|            }
 2501|   114M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRKS7_EEEvDpOT0_:
 2237|   112M|        {
 2238|   112M|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   112M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERT_v:
 2252|   134M|        {
 2253|   134M|            return cast(identity<T>());
 2254|   134M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 2263|   134M|        {
 2264|   134M|            return null_stor_;
 2265|   134M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12null_storageEEERKT_v:
 2258|   112M|        {
 2259|   112M|            return cast(identity<T>());
 2260|   112M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12null_storageEEE:
 2268|   112M|        {
 2269|   112M|            return null_stor_;
 2270|   112M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20empty_object_storageEEERT_v:
 2252|  6.75k|        {
 2253|  6.75k|            return cast(identity<T>());
 2254|  6.75k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20empty_object_storageEEE:
 2273|  6.75k|        {
 2274|  6.75k|            return empty_object_stor_;
 2275|  6.75k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRKS7_EEEvDpOT0_:
 2237|   946k|        {
 2238|   946k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   946k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERT_v:
 2252|  1.12M|        {
 2253|  1.12M|            return cast(identity<T>());
 2254|  1.12M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 2283|  1.12M|        {
 2284|  1.12M|            return bool_stor_;
 2285|  1.12M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_12bool_storageEEERKT_v:
 2258|   946k|        {
 2259|   946k|            return cast(identity<T>());
 2260|   946k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_12bool_storageEEE:
 2288|   946k|        {
 2289|   946k|            return bool_stor_;
 2290|   946k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRKS7_EEEvDpOT0_:
 2237|  1.10M|        {
 2238|  1.10M|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  1.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERT_v:
 2252|  1.31M|        {
 2253|  1.31M|            return cast(identity<T>());
 2254|  1.31M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 2293|  1.31M|        {
 2294|  1.31M|            return int64_stor_;
 2295|  1.31M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13int64_storageEEERKT_v:
 2258|  1.10M|        {
 2259|  1.10M|            return cast(identity<T>());
 2260|  1.10M|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13int64_storageEEE:
 2298|  1.10M|        {
 2299|  1.10M|            return int64_stor_;
 2300|  1.10M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRKS7_EEEvDpOT0_:
 2237|   173k|        {
 2238|   173k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   173k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERT_v:
 2252|   203k|        {
 2253|   203k|            return cast(identity<T>());
 2254|   203k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 2303|   203k|        {
 2304|   203k|            return uint64_stor_;
 2305|   203k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14uint64_storageEEERKT_v:
 2258|   173k|        {
 2259|   173k|            return cast(identity<T>());
 2260|   173k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14uint64_storageEEE:
 2308|   173k|        {
 2309|   173k|            return uint64_stor_;
 2310|   173k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRKS7_EEEvDpOT0_:
 2237|   203k|        {
 2238|   203k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   203k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERT_v:
 2252|   245k|        {
 2253|   245k|            return cast(identity<T>());
 2254|   245k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 2323|   245k|        {
 2324|   245k|            return double_stor_;
 2325|   245k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14double_storageEEERKT_v:
 2258|   203k|        {
 2259|   203k|            return cast(identity<T>());
 2260|   203k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14double_storageEEE:
 2328|   203k|        {
 2329|   203k|            return double_stor_;
 2330|   203k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRKS7_EEEvDpOT0_:
 2237|   294k|        {
 2238|   294k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   294k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERT_v:
 2252|   336k|        {
 2253|   336k|            return cast(identity<T>());
 2254|   336k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 2333|   336k|        {
 2334|   336k|            return short_string_stor_;
 2335|   336k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ERKS6_:
  621|   294k|            {
  622|   294k|                std::memcpy(data_,other.data_,other.small_string_length_*sizeof(char_type));
  623|   294k|                data_[small_string_length_] = 0;
  624|   294k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_20short_string_storageEEERKT_v:
 2258|   294k|        {
 2259|   294k|            return cast(identity<T>());
 2260|   294k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_20short_string_storageEEE:
 2338|   294k|        {
 2339|   294k|            return short_string_stor_;
 2340|   294k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERKT_v:
 2258|  3.09k|        {
 2259|  3.09k|            return cast(identity<T>());
 2260|  3.09k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 2368|  3.09k|        {
 2369|  3.09k|            return object_stor_;
 2370|  3.09k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_13array_storageEEERKT_v:
 2258|  2.42k|        {
 2259|  2.42k|            return cast(identity<T>());
 2260|  2.42k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_13array_storageEEE:
 2378|  2.42k|        {
 2379|  2.42k|            return array_stor_;
 2380|  2.42k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJS7_EEEvDpOT0_:
 2237|   178k|        {
 2238|   178k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   178k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2EOS6_:
  684|   178k|            {
  685|   178k|                ptr_ = other.ptr_;
  686|   178k|                other.ptr_ = nullptr;
  687|   178k|                other.tag_ = semantic_tag::none;
  688|   178k|                other.storage_kind_ = static_cast<uint8_t>(json_storage_kind::null_value);
  689|   178k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJS7_EEEvDpOT0_:
 2237|  46.0k|        {
 2238|  46.0k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  46.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2EOS6_:
  809|  46.0k|            {
  810|  46.0k|                ptr_ = other.ptr_;
  811|  46.0k|                other.ptr_ = nullptr;
  812|  46.0k|                other.tag_ = semantic_tag::none;
  813|  46.0k|                other.storage_kind_ = static_cast<uint8_t>(json_storage_kind::null_value);
  814|  46.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJS7_EEEvDpOT0_:
 2237|  45.0k|        {
 2238|  45.0k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  45.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EOS6_:
  957|  45.0k|            {
  958|  45.0k|                std::swap(other.ptr_, ptr_);
  959|       |
  960|  45.0k|                other.storage_kind_ = static_cast<uint8_t>(json_storage_kind::null_value);
  961|  45.0k|                other.small_string_length_ = 0;
  962|  45.0k|                other.tag_ = semantic_tag::none;
  963|  45.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJS7_EEEvDpOT0_:
 2237|   159k|        {
 2238|   159k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   159k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EOS6_:
 1110|   161k|            {
 1111|   161k|                ptr_ = other.ptr_;
 1112|   161k|                other.ptr_ = nullptr;
 1113|   161k|                other.storage_kind_ = static_cast<uint8_t>(json_storage_kind::null_value);
 1114|   161k|                other.small_string_length_ = 0;
 1115|   161k|                other.tag_ = semantic_tag::none;
 1116|   161k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castINS5_14object_storageEEERT_v:
 2252|   440k|        {
 2253|   440k|            return cast(identity<T>());
 2254|   440k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4castENS5_8identityINS5_14object_storageEEE:
 2363|   440k|        {
 2364|   440k|            return object_stor_;
 2365|   440k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11array_rangeEv:
 5930|  2.92k|        {
 5931|  2.92k|            switch (storage_kind())
 5932|  2.92k|            {
 5933|  2.92k|                case json_storage_kind::array_value:
  ------------------
  |  Branch (5933:17): [True: 2.92k, False: 0]
  ------------------
 5934|  2.92k|                    return range<array_iterator, const_array_iterator>(cast<array_storage>().value().begin(),
 5935|  2.92k|                        cast<array_storage>().value().end());
 5936|      0|                default:
  ------------------
  |  Branch (5936:17): [True: 0, False: 2.92k]
  ------------------
 5937|      0|                    JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an array"));
  ------------------
  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 5938|  2.92k|            }
 5939|  2.92k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
 1039|  4.52M|            {
 1040|  4.52M|                return *ptr_;
 1041|  4.52M|            }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEEC2ERKS9_SF_:
  346|  2.92k|        {
  347|  2.92k|        }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE5beginEv:
  350|  2.92k|        {
  351|  2.92k|            return first_;
  352|  2.92k|        }
_ZN8jsoncons5rangeINSt3__111__wrap_iterIPNS_10basic_jsonIcNS_13sorted_policyENS1_9allocatorIcEEEEEENS2_IPKS7_EEE3endEv:
  354|  2.92k|        {
  355|  2.92k|            return last_;
  356|  2.92k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4sizeEv:
 2897|  7.74k|        {
 2898|  7.74k|            switch (storage_kind())
 2899|  7.74k|            {
 2900|    599|                case json_storage_kind::array_value:
  ------------------
  |  Branch (2900:17): [True: 599, False: 7.14k]
  ------------------
 2901|    599|                    return cast<array_storage>().value().size();
 2902|      0|                case json_storage_kind::empty_object_value:
  ------------------
  |  Branch (2902:17): [True: 0, False: 7.74k]
  ------------------
 2903|      0|                    return 0;
 2904|  1.10k|                case json_storage_kind::object_value:
  ------------------
  |  Branch (2904:17): [True: 1.10k, False: 6.63k]
  ------------------
 2905|  1.10k|                    return cast<object_storage>().value().size();
 2906|      0|                case json_storage_kind::json_const_pointer:
  ------------------
  |  Branch (2906:17): [True: 0, False: 7.74k]
  ------------------
 2907|      0|                    return cast<json_const_pointer_storage>().value()->size();
 2908|  6.03k|                default:
  ------------------
  |  Branch (2908:17): [True: 6.03k, False: 1.70k]
  ------------------
 2909|  6.03k|                    return 0;
 2910|  7.74k|            }
 2911|  7.74k|        }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage5valueEv:
 1044|  2.42k|            {
 1045|  2.42k|                return *ptr_;
 1046|  2.42k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
 1185|  3.09k|            {
 1186|  3.09k|                return *ptr_;
 1187|  3.09k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5clearEv:
 4926|  5.82k|        {
 4927|  5.82k|            switch (storage_kind())
 4928|  5.82k|            {
 4929|  2.92k|            case json_storage_kind::array_value:
  ------------------
  |  Branch (4929:13): [True: 2.92k, False: 2.89k]
  ------------------
 4930|  2.92k|                cast<array_storage>().value().clear();
 4931|  2.92k|                break;
 4932|  2.89k|            case json_storage_kind::object_value:
  ------------------
  |  Branch (4932:13): [True: 2.89k, False: 2.92k]
  ------------------
 4933|  2.89k|                cast<object_storage>().value().clear();
 4934|  2.89k|                break;
 4935|      0|            default:
  ------------------
  |  Branch (4935:13): [True: 0, False: 5.82k]
  ------------------
 4936|      0|                break;
 4937|  5.82k|            }
 4938|  5.82k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage5valueEv:
 1180|  16.7k|            {
 1181|  16.7k|                return *ptr_;
 1182|  16.7k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12object_rangeEv:
 5900|  2.89k|        {
 5901|  2.89k|            switch (storage_kind())
 5902|  2.89k|            {
 5903|      0|            case json_storage_kind::empty_object_value:
  ------------------
  |  Branch (5903:13): [True: 0, False: 2.89k]
  ------------------
 5904|      0|                return range<object_iterator, const_object_iterator>(object_iterator(), object_iterator());
 5905|  2.89k|            case json_storage_kind::object_value:
  ------------------
  |  Branch (5905:13): [True: 2.89k, False: 0]
  ------------------
 5906|  2.89k|                return range<object_iterator, const_object_iterator>(object_iterator(cast<object_storage>().value().begin()),
 5907|  2.89k|                                              object_iterator(cast<object_storage>().value().end()));
 5908|      0|            default:
  ------------------
  |  Branch (5908:13): [True: 0, False: 2.89k]
  ------------------
 5909|      0|                JSONCONS_THROW(json_runtime_error<std::domain_error>("Not an object"));
  ------------------
  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 5910|  2.89k|            }
 5911|  2.89k|        }
_ZN8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEEC2ERKSI_SP_:
  346|  2.89k|        {
  347|  2.89k|        }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEC2ESG_:
  111|  5.79k|            {
  112|  5.79k|            }
_ZN8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE5beginEv:
  350|  2.89k|        {
  351|  2.89k|            return first_;
  352|  2.89k|        }
_ZN8jsoncons5rangeINS_6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyESA_EEEEEEvEENS2_INS4_IPKSF_EEvEEE3endEv:
  354|  2.89k|        {
  355|  2.89k|            return last_;
  356|  2.89k|        }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEneERKSH_:
  213|  6.86k|            {
  214|  6.86k|                return !(*this == rhs);
  215|  6.86k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEeqERKSH_:
  201|  6.86k|            {
  202|  6.86k|                if (!has_value_ || !rhs.has_value_)
  ------------------
  |  Branch (202:21): [True: 0, False: 6.86k]
  |  Branch (202:36): [True: 0, False: 6.86k]
  ------------------
  203|      0|                {
  204|      0|                    return has_value_ == rhs.has_value_ ? true : false;
  ------------------
  |  Branch (204:28): [True: 0, False: 0]
  ------------------
  205|      0|                }
  206|  6.86k|                else
  207|  6.86k|                {
  208|  6.86k|                    return it_ == rhs.it_;
  209|  6.86k|                }
  210|  6.86k|            }
_ZNK8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEdeEv:
  132|  3.96k|            {
  133|  3.96k|                return *it_;
  134|  3.96k|            }
_ZN8jsoncons6detail30random_access_iterator_wrapperINSt3__111__wrap_iterIPNS_9key_valueINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES9_EEEEEEvEppEv:
  142|  3.96k|            {
  143|  3.96k|                ++it_;
  144|  3.96k|                return *this;
  145|  3.96k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE11destroy_varINS5_14object_storageEEEvv:
 2243|  52.4k|        {
 2244|  52.4k|            cast<T>().~T();
 2245|  52.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageD2Ev:
 1136|  53.9k|            {
 1137|  53.9k|                if (ptr_ != nullptr)
  ------------------
  |  Branch (1137:21): [True: 52.4k, False: 1.50k]
  ------------------
 1138|  52.4k|                {
 1139|  52.4k|                    destroy();
 1140|  52.4k|                }
 1141|  53.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage7destroyEv:
 1196|  52.4k|            {
 1197|  52.4k|                object_allocator alloc(ptr_->get_allocator());
 1198|  52.4k|                std::allocator_traits<object_allocator>::destroy(alloc, extension_traits::to_plain_pointer(ptr_));
 1199|  52.4k|                std::allocator_traits<object_allocator>::deallocate(alloc, ptr_,1);
 1200|  52.4k|            }
_ZNK8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE5emptyEv:
 4346|  3.81k|        {
 4347|  3.81k|            switch (storage_kind())
 4348|  3.81k|            {
 4349|      0|                case json_storage_kind::byte_string_value:
  ------------------
  |  Branch (4349:17): [True: 0, False: 3.81k]
  ------------------
 4350|      0|                    return cast<byte_string_storage>().length() == 0;
 4351|      0|                    break;
 4352|      0|                case json_storage_kind::short_string_value:
  ------------------
  |  Branch (4352:17): [True: 0, False: 3.81k]
  ------------------
 4353|      0|                    return cast<short_string_storage>().length() == 0;
 4354|      0|                case json_storage_kind::long_string_value:
  ------------------
  |  Branch (4354:17): [True: 0, False: 3.81k]
  ------------------
 4355|      0|                    return cast<long_string_storage>().length() == 0;
 4356|  1.82k|                case json_storage_kind::array_value:
  ------------------
  |  Branch (4356:17): [True: 1.82k, False: 1.98k]
  ------------------
 4357|  1.82k|                    return cast<array_storage>().value().empty();
 4358|      0|                case json_storage_kind::empty_object_value:
  ------------------
  |  Branch (4358:17): [True: 0, False: 3.81k]
  ------------------
 4359|      0|                    return true;
 4360|  1.98k|                case json_storage_kind::object_value:
  ------------------
  |  Branch (4360:17): [True: 1.98k, False: 1.82k]
  ------------------
 4361|  1.98k|                    return cast<object_storage>().value().empty();
 4362|      0|                case json_storage_kind::json_const_pointer:
  ------------------
  |  Branch (4362:17): [True: 0, False: 3.81k]
  ------------------
 4363|      0|                    return cast<json_const_pointer_storage>().value()->empty();
 4364|      0|                default:
  ------------------
  |  Branch (4364:17): [True: 0, False: 3.81k]
  ------------------
 4365|      0|                    return false;
 4366|  3.81k|            }
 4367|  3.81k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2Ev:
 3472|  3.74k|        {
 3473|  3.74k|            construct<empty_object_storage>(semantic_tag::none);
 3474|  3.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJNS_12semantic_tagEEEEvDpOT0_:
 2237|  3.74k|        {
 2238|  3.74k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  3.74k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20empty_object_storageC2ENS_12semantic_tagE:
  486|  3.74k|            {
  487|  3.74k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_17json_object_arg_tENS_12semantic_tagERKS4_:
 3510|  52.4k|        {
 3511|  52.4k|            construct<object_storage>(object(alloc), tag);
 3512|  52.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14object_storageEJNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 2237|  52.4k|        {
 2238|  52.4k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  52.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storageC2EONS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEENS_12semantic_tagE:
 1091|  52.4k|            {
 1092|  52.4k|                create(val.get_allocator(), std::move(val));
 1093|  52.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14object_storage6createIJNS_18sorted_json_objectINS2_12basic_stringIcNS2_11char_traitsIcEES4_EES5_NS2_6vectorEEEEEEvNS3_ISE_EEDpOT_:
 1064|  52.4k|            {
 1065|  52.4k|                ptr_ = std::allocator_traits<object_allocator>::allocate(alloc, 1);
 1066|  52.4k|                JSONCONS_TRY
  ------------------
  |  |  239|  52.4k|    #define JSONCONS_TRY try
  ------------------
 1067|  52.4k|                {
 1068|  52.4k|                    std::allocator_traits<object_allocator>::construct(alloc, extension_traits::to_plain_pointer(ptr_), std::forward<Args>(args)...);
 1069|  52.4k|                }
 1070|  52.4k|                JSONCONS_CATCH(...)
 1071|  52.4k|                {
 1072|      0|                    std::allocator_traits<object_allocator>::deallocate(alloc, ptr_,1);
 1073|      0|                    JSONCONS_RETHROW;
  ------------------
  |  |  238|      0|    #define JSONCONS_RETHROW throw
  ------------------
 1074|      0|                }
 1075|  52.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEaSEOS5_:
 2830|  42.0M|        {
 2831|  42.0M|            if (this != &other)
  ------------------
  |  Branch (2831:17): [True: 42.0M, False: 0]
  ------------------
 2832|  42.0M|            {
 2833|  42.0M|                move_assignment(std::move(other));
 2834|  42.0M|            }
 2835|  42.0M|            return *this;
 2836|  42.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE15move_assignmentEOS5_:
 2760|  42.0M|        {
 2761|  42.0M|            switch (other.storage_kind())
 2762|  42.0M|            {
 2763|  40.9M|                case json_storage_kind::null_value:
  ------------------
  |  Branch (2763:17): [True: 40.9M, False: 1.13M]
  ------------------
 2764|  40.9M|                case json_storage_kind::empty_object_value:
  ------------------
  |  Branch (2764:17): [True: 0, False: 42.0M]
  ------------------
 2765|  41.2M|                case json_storage_kind::bool_value:
  ------------------
  |  Branch (2765:17): [True: 323k, False: 41.7M]
  ------------------
 2766|  41.7M|                case json_storage_kind::int64_value:
  ------------------
  |  Branch (2766:17): [True: 455k, False: 41.6M]
  ------------------
 2767|  41.7M|                case json_storage_kind::uint64_value:
  ------------------
  |  Branch (2767:17): [True: 65.3k, False: 42.0M]
  ------------------
 2768|  41.7M|                case json_storage_kind::half_value:
  ------------------
  |  Branch (2768:17): [True: 0, False: 42.0M]
  ------------------
 2769|  41.8M|                case json_storage_kind::double_value:
  ------------------
  |  Branch (2769:17): [True: 50.5k, False: 42.0M]
  ------------------
 2770|  42.0M|                case json_storage_kind::short_string_value:
  ------------------
  |  Branch (2770:17): [True: 153k, False: 41.9M]
  ------------------
 2771|  42.0M|                case json_storage_kind::json_const_pointer:
  ------------------
  |  Branch (2771:17): [True: 0, False: 42.0M]
  ------------------
 2772|  42.0M|                    destroy();
 2773|  42.0M|                    uninitialized_copy(std::move(other));
 2774|  42.0M|                    break;
 2775|  19.0k|                case json_storage_kind::long_string_value:
  ------------------
  |  Branch (2775:17): [True: 19.0k, False: 42.0M]
  ------------------
 2776|  19.0k|                    move_assignment_r<long_string_storage>(std::move(other));
 2777|  19.0k|                    break;
 2778|  15.8k|                case json_storage_kind::byte_string_value:
  ------------------
  |  Branch (2778:17): [True: 15.8k, False: 42.0M]
  ------------------
 2779|  15.8k|                    move_assignment_r<byte_string_storage>(std::move(other));
 2780|  15.8k|                    break;
 2781|  9.03k|                case json_storage_kind::array_value:
  ------------------
  |  Branch (2781:17): [True: 9.03k, False: 42.0M]
  ------------------
 2782|  9.03k|                    move_assignment_r<array_storage>(std::move(other));
 2783|  9.03k|                    break;
 2784|  44.1k|                case json_storage_kind::object_value:
  ------------------
  |  Branch (2784:17): [True: 44.1k, False: 42.0M]
  ------------------
 2785|  44.1k|                    move_assignment_r<object_storage>(std::move(other));
 2786|  44.1k|                    break;
 2787|      0|                default:
  ------------------
  |  Branch (2787:17): [True: 0, False: 42.0M]
  ------------------
 2788|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 2789|      0|                    break;
 2790|  42.0M|            }
 2791|  42.0M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE17move_assignment_rINS5_19long_string_storageEEEvOS5_:
 2737|  19.0k|        {
 2738|  19.0k|            switch (storage_kind())
 2739|  19.0k|            {
 2740|  14.7k|                case json_storage_kind::null_value:          move_assignment_l_r<null_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2740:17): [True: 14.7k, False: 4.33k]
  ------------------
 2741|      0|                case json_storage_kind::empty_object_value:  move_assignment_l_r<empty_object_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2741:17): [True: 0, False: 19.0k]
  ------------------
 2742|    448|                case json_storage_kind::bool_value:          move_assignment_l_r<bool_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2742:17): [True: 448, False: 18.5k]
  ------------------
 2743|    852|                case json_storage_kind::int64_value:         move_assignment_l_r<int64_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2743:17): [True: 852, False: 18.1k]
  ------------------
 2744|    437|                case json_storage_kind::uint64_value:        move_assignment_l_r<uint64_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2744:17): [True: 437, False: 18.6k]
  ------------------
 2745|      0|                case json_storage_kind::half_value:          move_assignment_l_r<half_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2745:17): [True: 0, False: 19.0k]
  ------------------
 2746|    395|                case json_storage_kind::double_value:        move_assignment_l_r<double_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2746:17): [True: 395, False: 18.6k]
  ------------------
 2747|  2.20k|                case json_storage_kind::short_string_value:  move_assignment_l_r<short_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2747:17): [True: 2.20k, False: 16.8k]
  ------------------
 2748|      0|                case json_storage_kind::json_const_pointer:  move_assignment_l_r<json_const_pointer_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2748:17): [True: 0, False: 19.0k]
  ------------------
 2749|      0|                case json_storage_kind::long_string_value:   move_assignment_l_r<long_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2749:17): [True: 0, False: 19.0k]
  ------------------
 2750|      0|                case json_storage_kind::byte_string_value:   move_assignment_l_r<byte_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2750:17): [True: 0, False: 19.0k]
  ------------------
 2751|      0|                case json_storage_kind::array_value:         move_assignment_l_r<array_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2751:17): [True: 0, False: 19.0k]
  ------------------
 2752|      0|                case json_storage_kind::object_value:        move_assignment_l_r<object_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2752:17): [True: 0, False: 19.0k]
  ------------------
 2753|      0|                default:
  ------------------
  |  Branch (2753:17): [True: 0, False: 19.0k]
  ------------------
 2754|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 2755|      0|                    break;
 2756|  19.0k|            }
 2757|  19.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12null_storageENS5_19long_string_storageEEEvOS5_:
 2704|  14.7k|        {
 2705|  14.7k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  14.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12null_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  14.7k|        {
 2711|  14.7k|            destroy();
 2712|  14.7k|            uninitialized_move(std::move(other));
 2713|  14.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12bool_storageENS5_19long_string_storageEEEvOS5_:
 2704|    448|        {
 2705|    448|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    448|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12bool_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    448|        {
 2711|    448|            destroy();
 2712|    448|            uninitialized_move(std::move(other));
 2713|    448|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_13int64_storageENS5_19long_string_storageEEEvOS5_:
 2704|    852|        {
 2705|    852|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    852|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_13int64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    852|        {
 2711|    852|            destroy();
 2712|    852|            uninitialized_move(std::move(other));
 2713|    852|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvOS5_:
 2704|    437|        {
 2705|    437|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    437|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14uint64_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    437|        {
 2711|    437|            destroy();
 2712|    437|            uninitialized_move(std::move(other));
 2713|    437|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14double_storageENS5_19long_string_storageEEEvOS5_:
 2704|    395|        {
 2705|    395|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    395|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14double_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    395|        {
 2711|    395|            destroy();
 2712|    395|            uninitialized_move(std::move(other));
 2713|    395|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvOS5_:
 2704|  2.20k|        {
 2705|  2.20k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  2.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_20short_string_storageENS5_19long_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  2.20k|        {
 2711|  2.20k|            destroy();
 2712|  2.20k|            uninitialized_move(std::move(other));
 2713|  2.20k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE17move_assignment_rINS5_19byte_string_storageEEEvOS5_:
 2737|  15.8k|        {
 2738|  15.8k|            switch (storage_kind())
 2739|  15.8k|            {
 2740|  12.7k|                case json_storage_kind::null_value:          move_assignment_l_r<null_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2740:17): [True: 12.7k, False: 3.07k]
  ------------------
 2741|      0|                case json_storage_kind::empty_object_value:  move_assignment_l_r<empty_object_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2741:17): [True: 0, False: 15.8k]
  ------------------
 2742|  1.11k|                case json_storage_kind::bool_value:          move_assignment_l_r<bool_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2742:17): [True: 1.11k, False: 14.7k]
  ------------------
 2743|    271|                case json_storage_kind::int64_value:         move_assignment_l_r<int64_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2743:17): [True: 271, False: 15.5k]
  ------------------
 2744|    229|                case json_storage_kind::uint64_value:        move_assignment_l_r<uint64_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2744:17): [True: 229, False: 15.6k]
  ------------------
 2745|      0|                case json_storage_kind::half_value:          move_assignment_l_r<half_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2745:17): [True: 0, False: 15.8k]
  ------------------
 2746|  1.23k|                case json_storage_kind::double_value:        move_assignment_l_r<double_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2746:17): [True: 1.23k, False: 14.6k]
  ------------------
 2747|    234|                case json_storage_kind::short_string_value:  move_assignment_l_r<short_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2747:17): [True: 234, False: 15.6k]
  ------------------
 2748|      0|                case json_storage_kind::json_const_pointer:  move_assignment_l_r<json_const_pointer_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2748:17): [True: 0, False: 15.8k]
  ------------------
 2749|      0|                case json_storage_kind::long_string_value:   move_assignment_l_r<long_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2749:17): [True: 0, False: 15.8k]
  ------------------
 2750|      0|                case json_storage_kind::byte_string_value:   move_assignment_l_r<byte_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2750:17): [True: 0, False: 15.8k]
  ------------------
 2751|      0|                case json_storage_kind::array_value:         move_assignment_l_r<array_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2751:17): [True: 0, False: 15.8k]
  ------------------
 2752|      0|                case json_storage_kind::object_value:        move_assignment_l_r<object_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2752:17): [True: 0, False: 15.8k]
  ------------------
 2753|      0|                default:
  ------------------
  |  Branch (2753:17): [True: 0, False: 15.8k]
  ------------------
 2754|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 2755|      0|                    break;
 2756|  15.8k|            }
 2757|  15.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12null_storageENS5_19byte_string_storageEEEvOS5_:
 2704|  12.7k|        {
 2705|  12.7k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  12.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12null_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  12.7k|        {
 2711|  12.7k|            destroy();
 2712|  12.7k|            uninitialized_move(std::move(other));
 2713|  12.7k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvOS5_:
 2704|  1.11k|        {
 2705|  1.11k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  1.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12bool_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  1.11k|        {
 2711|  1.11k|            destroy();
 2712|  1.11k|            uninitialized_move(std::move(other));
 2713|  1.11k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvOS5_:
 2704|    271|        {
 2705|    271|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    271|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_13int64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    271|        {
 2711|    271|            destroy();
 2712|    271|            uninitialized_move(std::move(other));
 2713|    271|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvOS5_:
 2704|    229|        {
 2705|    229|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    229|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14uint64_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    229|        {
 2711|    229|            destroy();
 2712|    229|            uninitialized_move(std::move(other));
 2713|    229|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14double_storageENS5_19byte_string_storageEEEvOS5_:
 2704|  1.23k|        {
 2705|  1.23k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  1.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14double_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  1.23k|        {
 2711|  1.23k|            destroy();
 2712|  1.23k|            uninitialized_move(std::move(other));
 2713|  1.23k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvOS5_:
 2704|    234|        {
 2705|    234|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    234|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_20short_string_storageENS5_19byte_string_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    234|        {
 2711|    234|            destroy();
 2712|    234|            uninitialized_move(std::move(other));
 2713|    234|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE17move_assignment_rINS5_13array_storageEEEvOS5_:
 2737|  9.03k|        {
 2738|  9.03k|            switch (storage_kind())
 2739|  9.03k|            {
 2740|  6.72k|                case json_storage_kind::null_value:          move_assignment_l_r<null_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2740:17): [True: 6.72k, False: 2.31k]
  ------------------
 2741|      0|                case json_storage_kind::empty_object_value:  move_assignment_l_r<empty_object_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2741:17): [True: 0, False: 9.03k]
  ------------------
 2742|    365|                case json_storage_kind::bool_value:          move_assignment_l_r<bool_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2742:17): [True: 365, False: 8.66k]
  ------------------
 2743|    795|                case json_storage_kind::int64_value:         move_assignment_l_r<int64_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2743:17): [True: 795, False: 8.23k]
  ------------------
 2744|    457|                case json_storage_kind::uint64_value:        move_assignment_l_r<uint64_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2744:17): [True: 457, False: 8.57k]
  ------------------
 2745|      0|                case json_storage_kind::half_value:          move_assignment_l_r<half_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2745:17): [True: 0, False: 9.03k]
  ------------------
 2746|    357|                case json_storage_kind::double_value:        move_assignment_l_r<double_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2746:17): [True: 357, False: 8.67k]
  ------------------
 2747|    336|                case json_storage_kind::short_string_value:  move_assignment_l_r<short_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2747:17): [True: 336, False: 8.69k]
  ------------------
 2748|      0|                case json_storage_kind::json_const_pointer:  move_assignment_l_r<json_const_pointer_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2748:17): [True: 0, False: 9.03k]
  ------------------
 2749|      0|                case json_storage_kind::long_string_value:   move_assignment_l_r<long_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2749:17): [True: 0, False: 9.03k]
  ------------------
 2750|      0|                case json_storage_kind::byte_string_value:   move_assignment_l_r<byte_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2750:17): [True: 0, False: 9.03k]
  ------------------
 2751|      0|                case json_storage_kind::array_value:         move_assignment_l_r<array_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2751:17): [True: 0, False: 9.03k]
  ------------------
 2752|      0|                case json_storage_kind::object_value:        move_assignment_l_r<object_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2752:17): [True: 0, False: 9.03k]
  ------------------
 2753|      0|                default:
  ------------------
  |  Branch (2753:17): [True: 0, False: 9.03k]
  ------------------
 2754|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 2755|      0|                    break;
 2756|  9.03k|            }
 2757|  9.03k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12null_storageENS5_13array_storageEEEvOS5_:
 2704|  6.72k|        {
 2705|  6.72k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  6.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12null_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  6.72k|        {
 2711|  6.72k|            destroy();
 2712|  6.72k|            uninitialized_move(std::move(other));
 2713|  6.72k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12bool_storageENS5_13array_storageEEEvOS5_:
 2704|    365|        {
 2705|    365|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    365|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12bool_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    365|        {
 2711|    365|            destroy();
 2712|    365|            uninitialized_move(std::move(other));
 2713|    365|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_13int64_storageENS5_13array_storageEEEvOS5_:
 2704|    795|        {
 2705|    795|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    795|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_13int64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    795|        {
 2711|    795|            destroy();
 2712|    795|            uninitialized_move(std::move(other));
 2713|    795|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14uint64_storageENS5_13array_storageEEEvOS5_:
 2704|    457|        {
 2705|    457|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    457|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14uint64_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    457|        {
 2711|    457|            destroy();
 2712|    457|            uninitialized_move(std::move(other));
 2713|    457|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14double_storageENS5_13array_storageEEEvOS5_:
 2704|    357|        {
 2705|    357|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    357|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14double_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    357|        {
 2711|    357|            destroy();
 2712|    357|            uninitialized_move(std::move(other));
 2713|    357|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_20short_string_storageENS5_13array_storageEEEvOS5_:
 2704|    336|        {
 2705|    336|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    336|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_20short_string_storageENS5_13array_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    336|        {
 2711|    336|            destroy();
 2712|    336|            uninitialized_move(std::move(other));
 2713|    336|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE17move_assignment_rINS5_14object_storageEEEvOS5_:
 2737|  44.1k|        {
 2738|  44.1k|            switch (storage_kind())
 2739|  44.1k|            {
 2740|  38.8k|                case json_storage_kind::null_value:          move_assignment_l_r<null_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2740:17): [True: 38.8k, False: 5.36k]
  ------------------
 2741|      0|                case json_storage_kind::empty_object_value:  move_assignment_l_r<empty_object_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2741:17): [True: 0, False: 44.1k]
  ------------------
 2742|  1.00k|                case json_storage_kind::bool_value:          move_assignment_l_r<bool_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2742:17): [True: 1.00k, False: 43.1k]
  ------------------
 2743|  2.48k|                case json_storage_kind::int64_value:         move_assignment_l_r<int64_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2743:17): [True: 2.48k, False: 41.6k]
  ------------------
 2744|    420|                case json_storage_kind::uint64_value:        move_assignment_l_r<uint64_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2744:17): [True: 420, False: 43.7k]
  ------------------
 2745|      0|                case json_storage_kind::half_value:          move_assignment_l_r<half_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2745:17): [True: 0, False: 44.1k]
  ------------------
 2746|    620|                case json_storage_kind::double_value:        move_assignment_l_r<double_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2746:17): [True: 620, False: 43.5k]
  ------------------
 2747|    841|                case json_storage_kind::short_string_value:  move_assignment_l_r<short_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2747:17): [True: 841, False: 43.3k]
  ------------------
 2748|      0|                case json_storage_kind::json_const_pointer:  move_assignment_l_r<json_const_pointer_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2748:17): [True: 0, False: 44.1k]
  ------------------
 2749|      0|                case json_storage_kind::long_string_value:   move_assignment_l_r<long_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2749:17): [True: 0, False: 44.1k]
  ------------------
 2750|      0|                case json_storage_kind::byte_string_value:   move_assignment_l_r<byte_string_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2750:17): [True: 0, False: 44.1k]
  ------------------
 2751|      0|                case json_storage_kind::array_value:         move_assignment_l_r<array_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2751:17): [True: 0, False: 44.1k]
  ------------------
 2752|      0|                case json_storage_kind::object_value:        move_assignment_l_r<object_storage,TypeR>(std::move(other));break;
  ------------------
  |  Branch (2752:17): [True: 0, False: 44.1k]
  ------------------
 2753|      0|                default:
  ------------------
  |  Branch (2753:17): [True: 0, False: 44.1k]
  ------------------
 2754|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 2755|      0|                    break;
 2756|  44.1k|            }
 2757|  44.1k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12null_storageENS5_14object_storageEEEvOS5_:
 2704|  38.8k|        {
 2705|  38.8k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  38.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12null_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  38.8k|        {
 2711|  38.8k|            destroy();
 2712|  38.8k|            uninitialized_move(std::move(other));
 2713|  38.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12bool_storageENS5_14object_storageEEEvOS5_:
 2704|  1.00k|        {
 2705|  1.00k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  1.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_12bool_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  1.00k|        {
 2711|  1.00k|            destroy();
 2712|  1.00k|            uninitialized_move(std::move(other));
 2713|  1.00k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_13int64_storageENS5_14object_storageEEEvOS5_:
 2704|  2.48k|        {
 2705|  2.48k|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|  2.48k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_13int64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|  2.48k|        {
 2711|  2.48k|            destroy();
 2712|  2.48k|            uninitialized_move(std::move(other));
 2713|  2.48k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14uint64_storageENS5_14object_storageEEEvOS5_:
 2704|    420|        {
 2705|    420|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    420|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14uint64_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    420|        {
 2711|    420|            destroy();
 2712|    420|            uninitialized_move(std::move(other));
 2713|    420|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14double_storageENS5_14object_storageEEEvOS5_:
 2704|    620|        {
 2705|    620|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    620|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_14double_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    620|        {
 2711|    620|            destroy();
 2712|    620|            uninitialized_move(std::move(other));
 2713|    620|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_20short_string_storageENS5_14object_storageEEEvOS5_:
 2704|    841|        {
 2705|    841|            move_assignment_l_r(identity<TypeL>(), identity<TypeR>(), std::move(other));
 2706|    841|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19move_assignment_l_rINS5_20short_string_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EEOS5_:
 2710|    841|        {
 2711|    841|            destroy();
 2712|    841|            uninitialized_move(std::move(other));
 2713|    841|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE4swapERS5_:
 3157|  1.50k|        {
 3158|  1.50k|            if (this == &other)
  ------------------
  |  Branch (3158:17): [True: 0, False: 1.50k]
  ------------------
 3159|      0|            {
 3160|      0|                return;
 3161|      0|            }
 3162|       |
 3163|  1.50k|            switch (storage_kind())
 3164|  1.50k|            {
 3165|      0|                case json_storage_kind::null_value: swap_l<null_storage>(other); break;
  ------------------
  |  Branch (3165:17): [True: 0, False: 1.50k]
  ------------------
 3166|  1.50k|                case json_storage_kind::empty_object_value : swap_l<empty_object_storage>(other); break;
  ------------------
  |  Branch (3166:17): [True: 1.50k, False: 0]
  ------------------
 3167|      0|                case json_storage_kind::bool_value: swap_l<bool_storage>(other); break;
  ------------------
  |  Branch (3167:17): [True: 0, False: 1.50k]
  ------------------
 3168|      0|                case json_storage_kind::int64_value: swap_l<int64_storage>(other); break;
  ------------------
  |  Branch (3168:17): [True: 0, False: 1.50k]
  ------------------
 3169|      0|                case json_storage_kind::uint64_value: swap_l<uint64_storage>(other); break;
  ------------------
  |  Branch (3169:17): [True: 0, False: 1.50k]
  ------------------
 3170|      0|                case json_storage_kind::half_value: swap_l<half_storage>(other); break;
  ------------------
  |  Branch (3170:17): [True: 0, False: 1.50k]
  ------------------
 3171|      0|                case json_storage_kind::double_value: swap_l<double_storage>(other); break;
  ------------------
  |  Branch (3171:17): [True: 0, False: 1.50k]
  ------------------
 3172|      0|                case json_storage_kind::short_string_value: swap_l<short_string_storage>(other); break;
  ------------------
  |  Branch (3172:17): [True: 0, False: 1.50k]
  ------------------
 3173|      0|                case json_storage_kind::long_string_value: swap_l<long_string_storage>(other); break;
  ------------------
  |  Branch (3173:17): [True: 0, False: 1.50k]
  ------------------
 3174|      0|                case json_storage_kind::byte_string_value: swap_l<byte_string_storage>(other); break;
  ------------------
  |  Branch (3174:17): [True: 0, False: 1.50k]
  ------------------
 3175|      0|                case json_storage_kind::array_value: swap_l<array_storage>(other); break;
  ------------------
  |  Branch (3175:17): [True: 0, False: 1.50k]
  ------------------
 3176|      0|                case json_storage_kind::object_value: swap_l<object_storage>(other); break;
  ------------------
  |  Branch (3176:17): [True: 0, False: 1.50k]
  ------------------
 3177|      0|                case json_storage_kind::json_const_pointer: swap_l<json_const_pointer_storage>(other); break;
  ------------------
  |  Branch (3177:17): [True: 0, False: 1.50k]
  ------------------
 3178|      0|                default:
  ------------------
  |  Branch (3178:17): [True: 0, False: 1.50k]
  ------------------
 3179|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 3180|      0|                    break;
 3181|  1.50k|            }
 3182|  1.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20empty_object_storageEJS7_EEEvDpOT0_:
 2237|  1.50k|        {
 2238|  1.50k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  1.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE6swap_lINS5_20empty_object_storageEEEvRS5_:
 2432|  1.50k|        {
 2433|  1.50k|            switch (other.storage_kind())
 2434|  1.50k|            {
 2435|      0|                case json_storage_kind::null_value         : swap_l_r<TypeL, null_storage>(other); break;
  ------------------
  |  Branch (2435:17): [True: 0, False: 1.50k]
  ------------------
 2436|      0|                case json_storage_kind::empty_object_value : swap_l_r<TypeL, empty_object_storage>(other); break;
  ------------------
  |  Branch (2436:17): [True: 0, False: 1.50k]
  ------------------
 2437|      0|                case json_storage_kind::bool_value         : swap_l_r<TypeL, bool_storage>(other); break;
  ------------------
  |  Branch (2437:17): [True: 0, False: 1.50k]
  ------------------
 2438|      0|                case json_storage_kind::int64_value        : swap_l_r<TypeL, int64_storage>(other); break;
  ------------------
  |  Branch (2438:17): [True: 0, False: 1.50k]
  ------------------
 2439|      0|                case json_storage_kind::uint64_value       : swap_l_r<TypeL, uint64_storage>(other); break;
  ------------------
  |  Branch (2439:17): [True: 0, False: 1.50k]
  ------------------
 2440|      0|                case json_storage_kind::half_value         : swap_l_r<TypeL, half_storage>(other); break;
  ------------------
  |  Branch (2440:17): [True: 0, False: 1.50k]
  ------------------
 2441|      0|                case json_storage_kind::double_value       : swap_l_r<TypeL, double_storage>(other); break;
  ------------------
  |  Branch (2441:17): [True: 0, False: 1.50k]
  ------------------
 2442|      0|                case json_storage_kind::short_string_value : swap_l_r<TypeL, short_string_storage>(other); break;
  ------------------
  |  Branch (2442:17): [True: 0, False: 1.50k]
  ------------------
 2443|      0|                case json_storage_kind::long_string_value  : swap_l_r<TypeL, long_string_storage>(other); break;
  ------------------
  |  Branch (2443:17): [True: 0, False: 1.50k]
  ------------------
 2444|      0|                case json_storage_kind::byte_string_value  : swap_l_r<TypeL, byte_string_storage>(other); break;
  ------------------
  |  Branch (2444:17): [True: 0, False: 1.50k]
  ------------------
 2445|      0|                case json_storage_kind::array_value        : swap_l_r<TypeL, array_storage>(other); break;
  ------------------
  |  Branch (2445:17): [True: 0, False: 1.50k]
  ------------------
 2446|  1.50k|                case json_storage_kind::object_value       : swap_l_r<TypeL, object_storage>(other); break;
  ------------------
  |  Branch (2446:17): [True: 1.50k, False: 0]
  ------------------
 2447|      0|                case json_storage_kind::json_const_pointer : swap_l_r<TypeL, json_const_pointer_storage>(other); break;
  ------------------
  |  Branch (2447:17): [True: 0, False: 1.50k]
  ------------------
 2448|      0|                default:
  ------------------
  |  Branch (2448:17): [True: 0, False: 1.50k]
  ------------------
 2449|      0|                    JSONCONS_UNREACHABLE();
  ------------------
  |  |   46|      0|#define JSONCONS_UNREACHABLE() __builtin_unreachable()
  ------------------
 2450|      0|                    break;
 2451|  1.50k|            }
 2452|  1.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvRS5_:
 2394|  1.50k|        {
 2395|  1.50k|            swap_l_r(identity<TypeL>(), identity<TypeR>(), other);
 2396|  1.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE8swap_l_rINS5_20empty_object_storageENS5_14object_storageEEEvNS5_8identityIT_EENS9_IT0_EERS5_:
 2400|  1.50k|        {
 2401|  1.50k|            TypeR tmpR(std::move(other.cast<TypeR>())); 
 2402|       |
 2403|  1.50k|            other.destroy();
 2404|  1.50k|            other.construct<TypeL>(std::move(cast<TypeL>()));
 2405|       |
 2406|  1.50k|            destroy();
 2407|  1.50k|            construct<TypeR>(std::move(tmpR));
 2408|  1.50k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_16json_array_arg_tENS_12semantic_tagERKS4_:
 3544|  37.0k|        {
 3545|  37.0k|            construct<array_storage>(array(alloc), tag);
 3546|  37.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13array_storageEJNS_10json_arrayIS5_NS2_6vectorEEERNS_12semantic_tagEEEEvDpOT0_:
 2237|  37.0k|        {
 2238|  37.0k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  37.0k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storageC2EONS_10json_arrayIS5_NS2_6vectorEEENS_12semantic_tagE:
  938|  37.0k|            {
  939|  37.0k|                create(val.get_allocator(), std::move(val));
  940|  37.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13array_storage6createIJNS_10json_arrayIS5_NS2_6vectorEEEEEEvNS3_ISA_EEDpOT_:
  909|  37.0k|            {
  910|  37.0k|                ptr_ = std::allocator_traits<array_allocator>::allocate(alloc, 1);
  911|  37.0k|                JSONCONS_TRY
  ------------------
  |  |  239|  37.0k|    #define JSONCONS_TRY try
  ------------------
  912|  37.0k|                {
  913|  37.0k|                    std::allocator_traits<array_allocator>::construct(alloc, extension_traits::to_plain_pointer(ptr_), 
  914|  37.0k|                        std::forward<Args>(args)...);
  915|  37.0k|                }
  916|  37.0k|                JSONCONS_CATCH(...)
  917|  37.0k|                {
  918|      0|                    std::allocator_traits<array_allocator>::deallocate(alloc, ptr_,1);
  919|      0|                    JSONCONS_RETHROW;
  ------------------
  |  |  238|      0|    #define JSONCONS_RETHROW throw
  ------------------
  920|      0|                }
  921|  37.0k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE7reserveEm:
 4401|  3.54k|        {
 4402|  3.54k|            if (n > 0)
  ------------------
  |  Branch (4402:17): [True: 3.54k, False: 0]
  ------------------
 4403|  3.54k|            {
 4404|  3.54k|                switch (storage_kind())
 4405|  3.54k|                {
 4406|  3.54k|                    case json_storage_kind::array_value:
  ------------------
  |  Branch (4406:21): [True: 3.54k, False: 0]
  ------------------
 4407|  3.54k|                        cast<array_storage>().value().reserve(n);
 4408|  3.54k|                        break;
 4409|      0|                    case json_storage_kind::empty_object_value:
  ------------------
  |  Branch (4409:21): [True: 0, False: 3.54k]
  ------------------
 4410|      0|                    {
 4411|      0|                        create_object_implicitly();
 4412|      0|                        cast<object_storage>().value().reserve(n);
 4413|      0|                    }
 4414|      0|                    break;
 4415|      0|                    case json_storage_kind::object_value:
  ------------------
  |  Branch (4415:21): [True: 0, False: 3.54k]
  ------------------
 4416|      0|                    {
 4417|      0|                        cast<object_storage>().value().reserve(n);
 4418|      0|                    }
 4419|      0|                        break;
 4420|      0|                    default:
  ------------------
  |  Branch (4420:21): [True: 0, False: 3.54k]
  ------------------
 4421|      0|                        break;
 4422|  3.54k|                }
 4423|  3.54k|            }
 4424|  3.54k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9push_backEOS5_:
 5316|  4.51M|        {
 5317|  4.51M|            switch (storage_kind())
 5318|  4.51M|            {
 5319|  4.51M|            case json_storage_kind::array_value:
  ------------------
  |  Branch (5319:13): [True: 4.51M, False: 0]
  ------------------
 5320|  4.51M|                cast<array_storage>().value().push_back(std::move(val));
 5321|  4.51M|                break;
 5322|      0|            default:
  ------------------
  |  Branch (5322:13): [True: 0, False: 4.51M]
  ------------------
 5323|      0|                JSONCONS_THROW(json_runtime_error<std::domain_error>("Attempting to insert into a value that is not an array"));
  ------------------
  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
 5324|  4.51M|            }
 5325|  4.51M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ENS_9null_typeENS_12semantic_tagE:
 3751|  21.7M|        {
 3752|  21.7M|            construct<null_storage>(tag);
 3753|  21.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12null_storageEJRNS_12semantic_tagEEEEvDpOT0_:
 2237|  21.7M|        {
 2238|  21.7M|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  21.7M|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12null_storageC2ENS_12semantic_tagE:
  473|  21.7M|            {
  474|  21.7M|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EbNS_12semantic_tagE:
 3761|   177k|        {
 3762|   177k|            construct<bool_storage>(val,tag);
 3763|   177k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_12bool_storageEJRbRNS_12semantic_tagEEEEvDpOT0_:
 2237|   177k|        {
 2238|   177k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   177k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE12bool_storageC2EbNS_12semantic_tagE:
  502|   177k|            {
  503|   177k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ERKNS_6detail17basic_string_viewIcNS2_11char_traitsIcEEEENS_12semantic_tagERKS4_:
 3772|   109k|        {
 3773|   109k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EPKcmNS_12semantic_tagERKS4_:
 3659|   109k|        {
 3660|   109k|            if (length <= short_string_storage::max_length)
  ------------------
  |  Branch (3660:17): [True: 41.6k, False: 67.9k]
  ------------------
 3661|  41.6k|            {
 3662|  41.6k|                construct<short_string_storage>(tag, s, static_cast<uint8_t>(length));
 3663|  41.6k|            }
 3664|  67.9k|            else
 3665|  67.9k|            {
 3666|  67.9k|                construct<long_string_storage>(tag, s, length, alloc);
 3667|  67.9k|            }
 3668|   109k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_20short_string_storageEJRNS_12semantic_tagERPKchEEEvDpOT0_:
 2237|  41.6k|        {
 2238|  41.6k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  41.6k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE20short_string_storageC2ENS_12semantic_tagEPKch:
  613|  41.6k|            {
  614|  41.6k|                JSONCONS_ASSERT(length <= max_length);
  ------------------
  |  |  378|  41.6k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 41.6k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  615|  41.6k|                std::memcpy(data_,p,length*sizeof(char_type));
  616|  41.6k|                data_[length] = 0;
  617|  41.6k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19long_string_storageEJRNS_12semantic_tagERPKcRmRKS4_EEEvDpOT0_:
 2237|  67.9k|        {
 2238|  67.9k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  67.9k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19long_string_storageC2ENS_12semantic_tagEPKcmRKS4_:
  660|  67.9k|            {
  661|  67.9k|                ptr_ = heap_string_factory_type::create(data, length, null_type(), alloc);
  662|  67.9k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE19byte_string_storageC2ENS_12semantic_tagEPKhmmRKS4_:
  785|  16.4k|            {
  786|  16.4k|                ptr_ = heap_string_factory_type::create(data, length, ext_tag, alloc);
  787|  16.4k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2INS_16byte_string_viewEEENS_17byte_string_arg_tERKT_mRKS4_NS2_9enable_ifIXsr16extension_traits16is_byte_sequenceIS9_EE5valueEiE4typeE:
 3790|  16.4k|        {
 3791|  16.4k|            auto bytes = jsoncons::span<const uint8_t>(reinterpret_cast<const uint8_t*>(source.data()), source.size());
 3792|  16.4k|            construct<byte_string_storage>(semantic_tag::ext, bytes.data(), bytes.size(), ext_tag, alloc);
 3793|  16.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_19byte_string_storageEJNS_12semantic_tagEPKhmRmRKS4_EEEvDpOT0_:
 2237|  16.4k|        {
 2238|  16.4k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  16.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2ImEET_NS_12semantic_tagENS2_9enable_ifIXaasr16extension_traits19is_unsigned_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 3693|  30.8k|        {
 3694|  30.8k|            construct<uint64_storage>(val, tag);
 3695|  30.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14uint64_storageEJRmRNS_12semantic_tagEEEEvDpOT0_:
 2237|  30.8k|        {
 2238|  30.8k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  30.8k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14uint64_storageC2EmNS_12semantic_tagE:
  547|  30.8k|            {
  548|  30.8k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2IlEET_NS_12semantic_tagENS2_9enable_ifIXaasr16extension_traits17is_signed_integerIS7_EE5valuelestS7_Lm8EEiE4typeE:
 3723|   203k|        {
 3724|   203k|            construct<int64_storage>(val, tag);
 3725|   203k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_13int64_storageEJRlRNS_12semantic_tagEEEEvDpOT0_:
 2237|   203k|        {
 2238|   203k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|   203k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE13int64_storageC2ElNS_12semantic_tagE:
  525|   203k|            {
  526|   203k|            }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEC2EdNS_12semantic_tagE:
 3681|  42.4k|        {
 3682|  42.4k|            construct<double_storage>(val, tag);
 3683|  42.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE9constructINS5_14double_storageEJRdRNS_12semantic_tagEEEEvDpOT0_:
 2237|  42.4k|        {
 2238|  42.4k|            ::new (&cast<VariantType>()) VariantType(std::forward<Args>(args)...);
 2239|  42.4k|        }
_ZN8jsoncons10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEE14double_storageC2EdNS_12semantic_tagE:
  590|  42.4k|            {
  591|  42.4k|            }

_ZNK8jsoncons16byte_string_view4dataEv:
  392|  32.8k|        {
  393|  32.8k|            return data_;
  394|  32.8k|        }
_ZNK8jsoncons16byte_string_view4sizeEv:
  403|  32.8k|        {
  404|  32.8k|            return size_;
  405|  32.8k|        }
_ZN8jsoncons16byte_string_viewC2EPKhm:
  355|  32.8k|        {
  356|  32.8k|        }

_ZN8jsoncons6binary16little_to_nativeIiNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  219|   299k|    {
  220|   299k|        if (sizeof(T) > count)
  ------------------
  |  Branch (220:13): [True: 0, False: 299k]
  ------------------
  221|      0|        {
  222|      0|            return T{};
  223|      0|        }
  224|   299k|        T val;
  225|   299k|        std::memcpy(&val,first,sizeof(T));
  226|   299k|        return val;
  227|   299k|    }
_ZN8jsoncons6binary16little_to_nativeIdNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  219|  42.4k|    {
  220|  42.4k|        if (sizeof(T) > count)
  ------------------
  |  Branch (220:13): [True: 0, False: 42.4k]
  ------------------
  221|      0|        {
  222|      0|            return T{};
  223|      0|        }
  224|  42.4k|        T val;
  225|  42.4k|        std::memcpy(&val,first,sizeof(T));
  226|  42.4k|        return val;
  227|  42.4k|    }
_ZN8jsoncons6binary16little_to_nativeImNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  219|  45.6k|    {
  220|  45.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (220:13): [True: 0, False: 45.6k]
  ------------------
  221|      0|        {
  222|      0|            return T{};
  223|      0|        }
  224|  45.6k|        T val;
  225|  45.6k|        std::memcpy(&val,first,sizeof(T));
  226|  45.6k|        return val;
  227|  45.6k|    }
_ZN8jsoncons6binary16little_to_nativeIlNS_6detail6endianEEENSt3__19enable_ifIXeqsrT0_6nativesrS6_6littleET_E4typeEPKhm:
  219|  13.6k|    {
  220|  13.6k|        if (sizeof(T) > count)
  ------------------
  |  Branch (220:13): [True: 0, False: 13.6k]
  ------------------
  221|      0|        {
  222|      0|            return T{};
  223|      0|        }
  224|  13.6k|        T val;
  225|  13.6k|        std::memcpy(&val,first,sizeof(T));
  226|  13.6k|        return val;
  227|  13.6k|    }

_ZN8jsoncons6detail19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIcS2_S5_EE:
  147|  67.9k|        {
  148|  67.9k|            if (ptr != nullptr)
  ------------------
  |  Branch (148:17): [True: 67.9k, False: 0]
  ------------------
  149|  67.9k|            {
  150|  67.9k|                heap_string_type* rawp = extension_traits::to_plain_pointer(ptr);
  151|       |
  152|  67.9k|                char* p = launder_cast<char*>(rawp);
  153|       |
  154|  67.9k|                std::size_t mem_size = aligned_size(ptr->length_*sizeof(char_type));
  155|  67.9k|                byte_allocator_type byte_alloc(ptr->get_allocator());
  156|  67.9k|                byte_alloc.deallocate(p,mem_size);
  157|  67.9k|            }
  158|  67.9k|        }
_ZN8jsoncons6detail12launder_castIPcNS0_11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEET_PT0_:
   85|  67.9k|    {
   86|       |    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
   87|       |        return std::launder(reinterpret_cast<T>(u));
   88|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
   89|       |        return __builtin_launder(reinterpret_cast<T>(u));
   90|       |    #else
   91|  67.9k|        return reinterpret_cast<T>(u);
   92|  67.9k|    #endif
   93|  67.9k|    }
_ZN8jsoncons6detail19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE12aligned_sizeEm:
  120|   135k|        {
  121|   135k|            return sizeof(json_storage_kind) + n;
  122|   135k|        }
_ZN8jsoncons6detail16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEE13get_allocatorEv:
   28|  67.9k|        {
   29|  67.9k|            return alloc_;
   30|  67.9k|        }
_ZN8jsoncons6detail19heap_string_factoryIhmNSt3__19allocatorIcEEE7destroyEPNS0_11heap_stringIhmS4_EE:
  147|  16.4k|        {
  148|  16.4k|            if (ptr != nullptr)
  ------------------
  |  Branch (148:17): [True: 16.4k, False: 0]
  ------------------
  149|  16.4k|            {
  150|  16.4k|                heap_string_type* rawp = extension_traits::to_plain_pointer(ptr);
  151|       |
  152|  16.4k|                char* p = launder_cast<char*>(rawp);
  153|       |
  154|  16.4k|                std::size_t mem_size = aligned_size(ptr->length_*sizeof(char_type));
  155|  16.4k|                byte_allocator_type byte_alloc(ptr->get_allocator());
  156|  16.4k|                byte_alloc.deallocate(p,mem_size);
  157|  16.4k|            }
  158|  16.4k|        }
_ZN8jsoncons6detail12launder_castIPcNS0_11heap_stringIhmNSt3__19allocatorIcEEEEEET_PT0_:
   85|  16.4k|    {
   86|       |    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
   87|       |        return std::launder(reinterpret_cast<T>(u));
   88|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
   89|       |        return __builtin_launder(reinterpret_cast<T>(u));
   90|       |    #else
   91|  16.4k|        return reinterpret_cast<T>(u);
   92|  16.4k|    #endif
   93|  16.4k|    }
_ZN8jsoncons6detail19heap_string_factoryIhmNSt3__19allocatorIcEEE12aligned_sizeEm:
  120|  32.8k|        {
  121|  32.8k|            return sizeof(json_storage_kind) + n;
  122|  32.8k|        }
_ZN8jsoncons6detail16heap_string_baseImNSt3__19allocatorIcEEE13get_allocatorEv:
   28|  16.4k|        {
   29|  16.4k|            return alloc_;
   30|  16.4k|        }
_ZN8jsoncons6detail19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE6createEPKcmS2_RKS5_:
  127|  67.9k|        {
  128|  67.9k|            std::size_t mem_size = aligned_size(length*sizeof(char_type));
  129|       |
  130|  67.9k|            byte_allocator_type byte_alloc(alloc);
  131|  67.9k|            byte_pointer ptr = byte_alloc.allocate(mem_size);
  132|       |
  133|  67.9k|            char* storage = extension_traits::to_plain_pointer(ptr);
  134|  67.9k|            heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  135|       |
  136|  67.9k|            auto psa = launder_cast<storage_t*>(storage); 
  137|       |
  138|  67.9k|            CharT* p = new(&psa->c)char_type[length + 1];
  139|  67.9k|            std::memcpy(p, s, length*sizeof(char_type));
  140|  67.9k|            p[length] = 0;
  141|  67.9k|            ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  142|  67.9k|            ps->length_ = length;
  143|  67.9k|            return std::pointer_traits<pointer>::pointer_to(*ps);
  144|  67.9k|        }
_ZN8jsoncons6detail11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEC2ES2_RKS5_:
   65|  67.9k|        {
   66|  67.9k|        }
_ZN8jsoncons6detail16heap_string_baseINS_9null_typeENSt3__19allocatorIcEEEC2ERKS2_RKS5_:
   39|  67.9k|        {
   40|  67.9k|        }
_ZN8jsoncons6detail12launder_castIPNS0_19heap_string_factoryIcNS_9null_typeENSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
   85|  67.9k|    {
   86|       |    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
   87|       |        return std::launder(reinterpret_cast<T>(u));
   88|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
   89|       |        return __builtin_launder(reinterpret_cast<T>(u));
   90|       |    #else
   91|  67.9k|        return reinterpret_cast<T>(u);
   92|  67.9k|    #endif
   93|  67.9k|    }
_ZN8jsoncons6detail19heap_string_factoryIhmNSt3__19allocatorIcEEE6createEPKhmmRKS4_:
  127|  16.4k|        {
  128|  16.4k|            std::size_t mem_size = aligned_size(length*sizeof(char_type));
  129|       |
  130|  16.4k|            byte_allocator_type byte_alloc(alloc);
  131|  16.4k|            byte_pointer ptr = byte_alloc.allocate(mem_size);
  132|       |
  133|  16.4k|            char* storage = extension_traits::to_plain_pointer(ptr);
  134|  16.4k|            heap_string_type* ps = new(storage)heap_string_type(extra, byte_alloc);
  135|       |
  136|  16.4k|            auto psa = launder_cast<storage_t*>(storage); 
  137|       |
  138|  16.4k|            CharT* p = new(&psa->c)char_type[length + 1];
  139|  16.4k|            std::memcpy(p, s, length*sizeof(char_type));
  140|  16.4k|            p[length] = 0;
  141|  16.4k|            ps->p_ = std::pointer_traits<typename heap_string_type::pointer>::pointer_to(*p);
  142|  16.4k|            ps->length_ = length;
  143|  16.4k|            return std::pointer_traits<pointer>::pointer_to(*ps);
  144|  16.4k|        }
_ZN8jsoncons6detail11heap_stringIhmNSt3__19allocatorIcEEEC2EmRKS4_:
   65|  16.4k|        {
   66|  16.4k|        }
_ZN8jsoncons6detail16heap_string_baseImNSt3__19allocatorIcEEEC2ERKmRKS4_:
   39|  16.4k|        {
   40|  16.4k|        }
_ZN8jsoncons6detail12launder_castIPNS0_19heap_string_factoryIhmNSt3__19allocatorIcEEE9storage_tEcEET_PT0_:
   85|  16.4k|    {
   86|       |    #if defined(__cpp_lib_launder) && __cpp_lib_launder >= 201606
   87|       |        return std::launder(reinterpret_cast<T>(u));
   88|       |    #elif defined(__GNUC__) &&  (__GNUC__ * 100 + __GNUC_MINOR__) > 800
   89|       |        return __builtin_launder(reinterpret_cast<T>(u));
   90|       |    #else
   91|  16.4k|        return reinterpret_cast<T>(u);
   92|  16.4k|    #endif
   93|  16.4k|    }

_ZN8jsoncons6detail4spanIKhLm18446744073709551615EEC2EPS2_m:
   57|  16.4k|        {
   58|  16.4k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4dataEv:
  106|  16.4k|        {
  107|  16.4k|            return data_;
  108|  16.4k|        }
_ZNK8jsoncons6detail4spanIKhLm18446744073709551615EE4sizeEv:
  111|  16.4k|        {
  112|  16.4k|            return size_;
  113|  16.4k|        }

_ZNK8jsoncons6detail17basic_string_viewIcNSt3__111char_traitsIcEEE4dataEv:
  157|  23.0M|        {
  158|  23.0M|            return data_;
  159|  23.0M|        }
_ZNK8jsoncons6detail17basic_string_viewIcNSt3__111char_traitsIcEEE6lengthEv:
  119|  11.5M|        {
  120|  11.5M|            return length_;
  121|  11.5M|        }
_ZNK8jsoncons6detail17basic_string_viewIcNSt3__111char_traitsIcEEE4sizeEv:
  114|  11.5M|        {
  115|  11.5M|            return length_;
  116|  11.5M|        }
_ZN8jsoncons6detail17basic_string_viewIcNSt3__111char_traitsIcEEEC2EPKcm:
   48|  22.9M|        {
   49|  22.9M|        }
_ZN8jsoncons6detail17basic_string_viewIcNSt3__111char_traitsIcEEEC2IS4_NS2_9allocatorIcEEEERKNS2_12basic_stringIcT_T0_EE:
   60|   102k|        {
   61|   102k|        }

_ZN8jsoncons6detail12from_integerIiNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEENS2_9enable_ifIXsr16extension_traits10is_integerIT_EE5valueEmE4typeESA_RT0_:
   37|  5.05k|    {
   38|  5.05k|        using char_type = typename Result::value_type;
   39|       |
   40|  5.05k|        char_type buf[255];
   41|  5.05k|        char_type *p = buf;
   42|  5.05k|        const char_type* last = buf+255;
   43|       |
   44|  5.05k|        bool is_negative = value < 0;
   45|       |
   46|  5.05k|        if (value < 0)
  ------------------
  |  Branch (46:13): [True: 3.88k, False: 1.17k]
  ------------------
   47|  3.88k|        {
   48|  3.88k|            do
   49|  15.4k|            {
   50|  15.4k|                *p++ = static_cast<char_type>(48 - (value % 10));
   51|  15.4k|            }
   52|  15.4k|            while ((value /= 10) && (p < last));
  ------------------
  |  Branch (52:20): [True: 11.5k, False: 3.88k]
  |  Branch (52:37): [True: 11.5k, False: 0]
  ------------------
   53|  3.88k|        }
   54|  1.17k|        else
   55|  1.17k|        {
   56|       |
   57|  1.17k|            do
   58|  4.58k|            {
   59|  4.58k|                *p++ = static_cast<char_type>(48 + value % 10);
   60|  4.58k|            }
   61|  4.58k|            while ((value /= 10) && (p < last));
  ------------------
  |  Branch (61:20): [True: 3.41k, False: 1.17k]
  |  Branch (61:37): [True: 3.41k, False: 0]
  ------------------
   62|  1.17k|        }
   63|  5.05k|        JSONCONS_ASSERT(p != last);
  ------------------
  |  |  378|  5.05k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 5.05k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
   64|       |
   65|  5.05k|        std::size_t count = (p - buf);
   66|  5.05k|        if (is_negative)
  ------------------
  |  Branch (66:13): [True: 3.88k, False: 1.17k]
  ------------------
   67|  3.88k|        {
   68|  3.88k|            result.push_back('-');
   69|  3.88k|            ++count;
   70|  3.88k|        }
   71|  25.0k|        while (--p >= buf)
  ------------------
  |  Branch (71:16): [True: 20.0k, False: 5.05k]
  ------------------
   72|  20.0k|        {
   73|  20.0k|            result.push_back(*p);
   74|  20.0k|        }
   75|       |
   76|  5.05k|        return count;
   77|  5.05k|    }

_ZN8jsoncons16extension_traits16to_plain_pointerINS_6detail11heap_stringIcNS_9null_typeENSt3__19allocatorIcEEEEEEPT_SA_:
  238|  67.9k|    {       
  239|  67.9k|        return (ptr);
  240|  67.9k|    }  
_ZN8jsoncons16extension_traits16to_plain_pointerINS_6detail11heap_stringIhmNSt3__19allocatorIcEEEEEEPT_S9_:
  238|  16.4k|    {       
  239|  16.4k|        return (ptr);
  240|  16.4k|    }  
_ZN8jsoncons16extension_traits16to_plain_pointerIcEEPT_S3_:
  238|  84.3k|    {       
  239|  84.3k|        return (ptr);
  240|  84.3k|    }  
_ZN8jsoncons16extension_traits16to_plain_pointerINS_18sorted_json_objectINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES8_EENS3_6vectorEEEEEPT_SG_:
  238|   104k|    {       
  239|   104k|        return (ptr);
  240|   104k|    }  
_ZN8jsoncons16extension_traits16to_plain_pointerINS_10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS5_6vectorEEEEEPT_SC_:
  238|  74.0k|    {       
  239|  74.0k|        return (ptr);
  240|  74.0k|    }  

_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEED2Ev:
  108|  79.5k|        {
  109|  79.5k|            flatten_and_destroy();
  110|  79.5k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE19flatten_and_destroyEv:
  285|  79.5k|        {
  286|  4.59M|            while (!elements_.empty())
  ------------------
  |  Branch (286:20): [True: 4.51M, False: 79.5k]
  ------------------
  287|  4.51M|            {
  288|  4.51M|                value_type current = std::move(elements_.back());
  289|  4.51M|                elements_.pop_back();
  290|  4.51M|                switch (current.storage_kind())
  291|  4.51M|                {
  292|  2.92k|                    case json_storage_kind::array_value:
  ------------------
  |  Branch (292:21): [True: 2.92k, False: 4.51M]
  ------------------
  293|  2.92k|                    {
  294|  2.92k|                        for (auto&& item : current.array_range())
  ------------------
  |  Branch (294:42): [True: 3.77k, False: 2.92k]
  ------------------
  295|  3.77k|                        {
  296|  3.77k|                            if (item.size() > 0) // non-empty object or array
  ------------------
  |  Branch (296:33): [True: 677, False: 3.09k]
  ------------------
  297|    677|                            {
  298|    677|                                elements_.push_back(std::move(item));
  299|    677|                            }
  300|  3.77k|                        }
  301|  2.92k|                        current.clear();                           
  302|  2.92k|                        break;
  303|      0|                    }
  304|  2.89k|                    case json_storage_kind::object_value:
  ------------------
  |  Branch (304:21): [True: 2.89k, False: 4.51M]
  ------------------
  305|  2.89k|                    {
  306|  2.89k|                        for (auto&& kv : current.object_range())
  ------------------
  |  Branch (306:40): [True: 3.96k, False: 2.89k]
  ------------------
  307|  3.96k|                        {
  308|  3.96k|                            if (kv.value().size() > 0) // non-empty object or array
  ------------------
  |  Branch (308:33): [True: 893, False: 3.07k]
  ------------------
  309|    893|                            {
  310|    893|                                elements_.push_back(std::move(kv.value()));
  311|    893|                            }
  312|  3.96k|                        }
  313|  2.89k|                        current.clear();                           
  314|  2.89k|                        break;
  315|      0|                    }
  316|  4.50M|                    default:
  ------------------
  |  Branch (316:21): [True: 4.50M, False: 5.82k]
  ------------------
  317|  4.50M|                        break;
  318|  4.51M|                }
  319|  4.51M|            }
  320|  79.5k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5beginEv:
  263|  2.92k|        iterator begin() {return elements_.begin();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE3endEv:
  265|  2.92k|        iterator end() {return elements_.end();}
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE4sizeEv:
  137|    599|        std::size_t size() const {return elements_.size();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5clearEv:
  141|  2.92k|        void clear() {elements_.clear();}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2ERKS5_:
   54|  42.5k|        {
   55|  42.5k|        }
_ZNK8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE5emptyEv:
  128|  1.82k|        {
  129|  1.82k|            return elements_.empty();
  130|  1.82k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE12emplace_backIJS6_EEERS6_DpOT_:
  258|  2.64k|        {
  259|  2.64k|            elements_.emplace_back(std::forward<Args>(args)...);
  260|  2.64k|            return elements_.back();
  261|  2.64k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEEC2EOS8_:
   93|  37.0k|        {
   94|  37.0k|        }
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE7reserveEm:
  152|  3.54k|        void reserve(std::size_t n) {elements_.reserve(n);}
_ZN8jsoncons10json_arrayINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEENS3_6vectorEE9push_backIS6_S5_EENS3_9enable_ifIXsr16extension_traits12is_statelessIT0_EE5valueEvE4typeEOT_:
  198|  4.51M|        {
  199|  4.51M|            elements_.emplace_back(std::forward<T>(value));
  200|  4.51M|        }

_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_EC2ERKS5_S9_:
   77|  3.74k|    {
   78|  3.74k|        item_stack_.reserve(1000);
   79|  3.74k|        structure_stack_.reserve(100);
   80|  3.74k|        structure_stack_.emplace_back(structure_type::root_t, 0);
   81|  3.74k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E14structure_infoC2ENS7_14structure_typeEm:
   48|  93.2k|        {
   49|  93.2k|        }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  142|  52.4k|    {
  143|  52.4k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (143:13): [True: 3.73k, False: 48.7k]
  ------------------
  144|  3.73k|        {
  145|  3.73k|            index_ = 0;
  146|  3.73k|            item_stack_.clear();
  147|  3.73k|            is_valid_ = false;
  148|  3.73k|        }
  149|  52.4k|        item_stack_.emplace_back(std::move(name_), index_++, json_object_arg, tag);
  150|  52.4k|        structure_stack_.emplace_back(structure_type::object_t, item_stack_.size()-1);
  151|  52.4k|        return true;
  152|  52.4k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E16visit_end_objectERKNS_11ser_contextERNS3_10error_codeE:
  155|  44.2k|    {
  156|  44.2k|        JSONCONS_ASSERT(structure_stack_.size() > 0);
  ------------------
  |  |  378|  44.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 44.2k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  157|  44.2k|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::object_t);
  ------------------
  |  |  378|  44.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 44.2k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  158|  44.2k|        const size_t structure_index = structure_stack_.back().container_index_;
  159|  44.2k|        JSONCONS_ASSERT(item_stack_.size() > structure_index);
  ------------------
  |  |  378|  44.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 44.2k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  160|  44.2k|        const size_t count = item_stack_.size() - (structure_index + 1);
  161|  44.2k|        auto first = item_stack_.begin() + (structure_index+1);
  162|       |
  163|  44.2k|        if (count > 0)
  ------------------
  |  Branch (163:13): [True: 8.10k, False: 36.1k]
  ------------------
  164|  8.10k|        {
  165|  8.10k|            item_stack_[structure_index].value.template cast<typename Json::object_storage>().value().uninitialized_init(
  166|  8.10k|                &item_stack_[structure_index+1], count);
  167|  8.10k|        }
  168|       |
  169|  44.2k|        item_stack_.erase(first, item_stack_.end());
  170|  44.2k|        structure_stack_.pop_back();
  171|  44.2k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (171:13): [True: 1.50k, False: 42.7k]
  ------------------
  172|  1.50k|        {
  173|  1.50k|            result_.swap(item_stack_.front().value);
  174|  1.50k|            item_stack_.pop_back();
  175|  1.50k|            is_valid_ = true;
  176|  1.50k|            return false;
  177|  1.50k|        }
  178|  42.7k|        return true;
  179|  44.2k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  182|  37.0k|    {
  183|  37.0k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (183:13): [True: 0, False: 37.0k]
  ------------------
  184|      0|        {
  185|      0|            index_ = 0;
  186|      0|            item_stack_.clear();
  187|      0|            is_valid_ = false;
  188|      0|        }
  189|  37.0k|        item_stack_.emplace_back(std::move(name_), index_++, json_array_arg, tag);
  190|  37.0k|        structure_stack_.emplace_back(structure_type::array_t, item_stack_.size()-1);
  191|  37.0k|        return true;
  192|  37.0k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E15visit_end_arrayERKNS_11ser_contextERNS3_10error_codeE:
  195|  7.32k|    {
  196|  7.32k|        JSONCONS_ASSERT(structure_stack_.size() > 1);
  ------------------
  |  |  378|  7.32k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 7.32k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  197|  7.32k|        JSONCONS_ASSERT(structure_stack_.back().type_ == structure_type::array_t);
  ------------------
  |  |  378|  7.32k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 7.32k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  198|  7.32k|        const size_t container_index = structure_stack_.back().container_index_;
  199|  7.32k|        JSONCONS_ASSERT(item_stack_.size() > container_index);
  ------------------
  |  |  378|  7.32k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 7.32k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  200|       |
  201|  7.32k|        auto& container = item_stack_[container_index].value;
  202|       |
  203|  7.32k|        const size_t size = item_stack_.size() - (container_index + 1);
  204|       |        //std::cout << "size on item stack: " << size << "\n";
  205|       |
  206|  7.32k|        if (size > 0)
  ------------------
  |  Branch (206:13): [True: 3.54k, False: 3.78k]
  ------------------
  207|  3.54k|        {
  208|  3.54k|            container.reserve(size);
  209|  3.54k|            auto first = item_stack_.begin() + (container_index+1);
  210|  3.54k|            auto last = first + size;
  211|  4.51M|            for (auto it = first; it != last; ++it)
  ------------------
  |  Branch (211:35): [True: 4.51M, False: 3.54k]
  ------------------
  212|  4.51M|            {
  213|  4.51M|                container.push_back(std::move(it->value));
  214|  4.51M|            }
  215|  3.54k|            item_stack_.erase(first, item_stack_.end());
  216|  3.54k|        }
  217|       |
  218|  7.32k|        structure_stack_.pop_back();
  219|  7.32k|        if (structure_stack_.back().type_ == structure_type::root_t)
  ------------------
  |  Branch (219:13): [True: 0, False: 7.32k]
  ------------------
  220|      0|        {
  221|      0|            result_.swap(item_stack_.front().value);
  222|      0|            item_stack_.pop_back();
  223|      0|            is_valid_ = true;
  224|      0|            return false;
  225|      0|        }
  226|  7.32k|        return true;
  227|  7.32k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E9visit_keyERKNS_6detail17basic_string_viewIcNS3_11char_traitsIcEEEERKNS_11ser_contextERNS3_10error_codeE:
  230|  11.4M|    {
  231|  11.4M|        name_ = key_type(name.data(),name.length(),allocator_);
  232|  11.4M|        return true;
  233|  11.4M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  382|  21.7M|    {
  383|  21.7M|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (383:17): [True: 0, False: 21.7M]
  ------------------
  384|  21.7M|        {
  385|  11.0M|            case structure_type::object_t:
  ------------------
  |  Branch (385:13): [True: 11.0M, False: 10.7M]
  ------------------
  386|  21.7M|            case structure_type::array_t:
  ------------------
  |  Branch (386:13): [True: 10.7M, False: 11.0M]
  ------------------
  387|  21.7M|                item_stack_.emplace_back(std::move(name_), index_++, null_type(), tag);
  388|  21.7M|                break;
  389|      0|            case structure_type::root_t:
  ------------------
  |  Branch (389:13): [True: 0, False: 21.7M]
  ------------------
  390|      0|                result_ = Json(null_type(), tag);
  391|      0|                is_valid_ = true;
  392|      0|                return false;
  393|  21.7M|        }
  394|  21.7M|        return true;
  395|  21.7M|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  366|   177k|    {
  367|   177k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (367:17): [True: 0, False: 177k]
  ------------------
  368|   177k|        {
  369|  73.9k|            case structure_type::object_t:
  ------------------
  |  Branch (369:13): [True: 73.9k, False: 103k]
  ------------------
  370|   177k|            case structure_type::array_t:
  ------------------
  |  Branch (370:13): [True: 103k, False: 73.9k]
  ------------------
  371|   177k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  372|   177k|                break;
  373|      0|            case structure_type::root_t:
  ------------------
  |  Branch (373:13): [True: 0, False: 177k]
  ------------------
  374|      0|                result_ = Json(value, tag);
  375|      0|                is_valid_ = true;
  376|      0|                return false;
  377|   177k|        }
  378|   177k|        return true;
  379|   177k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_stringERKNS_6detail17basic_string_viewIcNS3_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  236|   109k|    {
  237|   109k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (237:17): [True: 0, False: 109k]
  ------------------
  238|   109k|        {
  239|  47.3k|            case structure_type::object_t:
  ------------------
  |  Branch (239:13): [True: 47.3k, False: 62.2k]
  ------------------
  240|   109k|            case structure_type::array_t:
  ------------------
  |  Branch (240:13): [True: 62.2k, False: 47.3k]
  ------------------
  241|   109k|                item_stack_.emplace_back(std::move(name_), index_++, sv, tag);
  242|   109k|                break;
  243|      0|            case structure_type::root_t:
  ------------------
  |  Branch (243:13): [True: 0, False: 109k]
  ------------------
  244|      0|                result_ = Json(sv, tag, allocator_);
  245|      0|                is_valid_ = true;
  246|      0|                return false;
  247|   109k|        }
  248|   109k|        return true;
  249|   109k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS3_10error_codeE:
  274|  16.4k|    {
  275|  16.4k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (275:17): [True: 0, False: 16.4k]
  ------------------
  276|  16.4k|        {
  277|  7.47k|            case structure_type::object_t:
  ------------------
  |  Branch (277:13): [True: 7.47k, False: 8.95k]
  ------------------
  278|  16.4k|            case structure_type::array_t:
  ------------------
  |  Branch (278:13): [True: 8.95k, False: 7.47k]
  ------------------
  279|  16.4k|                item_stack_.emplace_back(std::move(name_), index_++, byte_string_arg, b, ext_tag);
  280|  16.4k|                break;
  281|      0|            case structure_type::root_t:
  ------------------
  |  Branch (281:13): [True: 0, False: 16.4k]
  ------------------
  282|      0|                result_ = Json(byte_string_arg, b, ext_tag, allocator_);
  283|      0|                is_valid_ = true;
  284|      0|                return false;
  285|  16.4k|        }
  286|  16.4k|        return true;
  287|  16.4k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  312|  30.8k|    {
  313|  30.8k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (313:17): [True: 0, False: 30.8k]
  ------------------
  314|  30.8k|        {
  315|  17.2k|            case structure_type::object_t:
  ------------------
  |  Branch (315:13): [True: 17.2k, False: 13.5k]
  ------------------
  316|  30.8k|            case structure_type::array_t:
  ------------------
  |  Branch (316:13): [True: 13.5k, False: 17.2k]
  ------------------
  317|  30.8k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  318|  30.8k|                break;
  319|      0|            case structure_type::root_t:
  ------------------
  |  Branch (319:13): [True: 0, False: 30.8k]
  ------------------
  320|      0|                result_ = Json(value,tag);
  321|      0|                is_valid_ = true;
  322|      0|                return false;
  323|  30.8k|        }
  324|  30.8k|        return true;
  325|  30.8k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  293|   203k|    {
  294|   203k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (294:17): [True: 0, False: 203k]
  ------------------
  295|   203k|        {
  296|   179k|            case structure_type::object_t:
  ------------------
  |  Branch (296:13): [True: 179k, False: 23.5k]
  ------------------
  297|   203k|            case structure_type::array_t:
  ------------------
  |  Branch (297:13): [True: 23.5k, False: 179k]
  ------------------
  298|   203k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  299|   203k|                break;
  300|      0|            case structure_type::root_t:
  ------------------
  |  Branch (300:13): [True: 0, False: 203k]
  ------------------
  301|      0|                result_ = Json(value,tag);
  302|      0|                is_valid_ = true;
  303|      0|                return false;
  304|   203k|        }
  305|   203k|        return true;
  306|   203k|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS3_10error_codeE:
  350|  42.4k|    {
  351|  42.4k|        switch (structure_stack_.back().type_)
  ------------------
  |  Branch (351:17): [True: 0, False: 42.4k]
  ------------------
  352|  42.4k|        {
  353|  14.5k|            case structure_type::object_t:
  ------------------
  |  Branch (353:13): [True: 14.5k, False: 27.9k]
  ------------------
  354|  42.4k|            case structure_type::array_t:
  ------------------
  |  Branch (354:13): [True: 27.9k, False: 14.5k]
  ------------------
  355|  42.4k|                item_stack_.emplace_back(std::move(name_), index_++, value, tag);
  356|  42.4k|                break;
  357|      0|            case structure_type::root_t:
  ------------------
  |  Branch (357:13): [True: 0, False: 42.4k]
  ------------------
  358|      0|                result_ = Json(value, tag);
  359|      0|                is_valid_ = true;
  360|      0|                return false;
  361|  42.4k|        }
  362|  42.4k|        return true;
  363|  42.4k|    }
_ZNK8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E8is_validEv:
  116|     14|    {
  117|     14|        return is_valid_;
  118|     14|    }
_ZN8jsoncons12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES5_E10get_resultEv:
  121|     14|    {
  122|     14|        JSONCONS_ASSERT(is_valid_);
  ------------------
  |  |  378|     14|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 14]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  123|     14|        is_valid_ = false;
  124|     14|        return std::move(result_);
  125|     14|    }

_ZN8jsoncons14json_exceptionD2Ev:
   24|  3.72k|        virtual ~json_exception() noexcept = default;
_ZN8jsoncons9ser_errorC1ENSt3__110error_codeEmm:
  168|  3.72k|        {
  169|  3.72k|        }

_ZN8jsoncons25make_json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEENS_20json_visitor_adaptorIT_T0_vEERSD_:
  631|  3.74k|{
  632|  3.74k|    return json_visitor_adaptor<From, To>(to);
  633|  3.74k|}
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvEC2ERSA_:
  550|  3.74k|    {
  551|  3.74k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEEC2ERSA_:
  318|  3.74k|    {
  319|  3.74k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE18visit_begin_objectENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  339|  52.4k|    {
  340|  52.4k|        return destination_->begin_object(tag, context, ec);
  341|  52.4k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE16visit_end_objectERKNS_11ser_contextERNS6_10error_codeE:
  352|  44.2k|    {
  353|  44.2k|        return destination_->end_object(context, ec);
  354|  44.2k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_begin_arrayENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  359|  37.0k|    {
  360|  37.0k|        return destination_->begin_array(tag, context, ec);
  361|  37.0k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE15visit_end_arrayERKNS_11ser_contextERNS6_10error_codeE:
  372|  7.32k|    {
  373|  7.32k|        return destination_->end_array(context, ec);
  374|  7.32k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE9visit_keyERKNS_6detail17basic_string_viewIcNS6_11char_traitsIcEEEERKNS_11ser_contextERNS6_10error_codeE:
  562|  11.4M|    {
  563|  11.4M|        return destination().key(string_view_type(reinterpret_cast<const to_char_type*>(key.data()),key.size()), context, ec);
  564|  11.4M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11destinationEv:
  326|  11.5M|    {
  327|  11.5M|        return *destination_;
  328|  11.5M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_nullENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  418|  21.7M|    {
  419|  21.7M|        return destination_->null_value(tag, context, ec);
  420|  21.7M|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE10visit_boolEbNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  413|   177k|    {
  414|   177k|        return destination_->bool_value(value, tag, context, ec);
  415|   177k|    }
_ZN8jsoncons20json_visitor_adaptorINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEvE12visit_stringERKNS_6detail17basic_string_viewIcNS6_11char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  570|   109k|    {
  571|   109k|        return destination().string_value(string_view_type(reinterpret_cast<const to_char_type*>(value.data()),value.size()), tag, context, ec);
  572|   109k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE17visit_byte_stringERKNS_16byte_string_viewEmRKNS_11ser_contextERNS6_10error_codeE:
  388|  16.4k|    {
  389|  16.4k|        return destination_->byte_string_value(b, ext_tag, context, ec);
  390|  16.4k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_uint64EmNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  408|  30.8k|    {
  409|  30.8k|        return destination_->uint64_value(value, tag, context, ec);
  410|  30.8k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE11visit_int64ElNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  403|   203k|    {
  404|   203k|        return destination_->int64_value(value, tag, context, ec);
  405|   203k|    }
_ZN8jsoncons25json_visitor_adaptor_baseINS_18basic_json_visitorIcEENS_12json_decoderINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEES8_EEE12visit_doubleEdNS_12semantic_tagERKNS_11ser_contextERNS6_10error_codeE:
  398|  42.4k|    {
  399|  42.4k|        return destination_->double_value(value, tag, context, ec);
  400|  42.4k|    }

_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE4sizeEv:
  464|  1.10k|        std::size_t size() const {return members_.size();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5clearEv:
  468|  2.89k|        void clear() {members_.clear();}
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5beginEv:
  445|  2.89k|        {
  446|  2.89k|            return members_.begin();
  447|  2.89k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE3endEv:
  450|  2.89k|        {
  451|  2.89k|            return members_.end();
  452|  2.89k|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEE5valueEv:
  172|  34.6k|        {
  173|  34.6k|            return value_;
  174|  34.6k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEED2Ev:
  430|   104k|        {
  431|   104k|            flatten_and_destroy();
  432|   104k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE19flatten_and_destroyEv:
 1008|   104k|        {
 1009|   104k|            if (!members_.empty())
  ------------------
  |  Branch (1009:17): [True: 5.48k, False: 99.4k]
  ------------------
 1010|  5.48k|            {
 1011|  5.48k|                json_array<Json> temp(get_allocator());
 1012|       |
 1013|  5.48k|                for (auto& kv : members_)
  ------------------
  |  Branch (1013:31): [True: 23.2k, False: 5.48k]
  ------------------
 1014|  23.2k|                {
 1015|  23.2k|                    switch (kv.value().storage_kind())
 1016|  23.2k|                    {
 1017|  1.82k|                        case json_storage_kind::array_value:
  ------------------
  |  Branch (1017:25): [True: 1.82k, False: 21.4k]
  ------------------
 1018|  3.81k|                        case json_storage_kind::object_value:
  ------------------
  |  Branch (1018:25): [True: 1.98k, False: 21.3k]
  ------------------
 1019|  3.81k|                            if (!kv.value().empty())
  ------------------
  |  Branch (1019:33): [True: 2.64k, False: 1.16k]
  ------------------
 1020|  2.64k|                            {
 1021|  2.64k|                                temp.emplace_back(std::move(kv.value()));
 1022|  2.64k|                            }
 1023|  3.81k|                            break;
 1024|  19.4k|                        default:
  ------------------
  |  Branch (1024:25): [True: 19.4k, False: 3.81k]
  ------------------
 1025|  19.4k|                            break;
 1026|  23.2k|                    }
 1027|  23.2k|                }
 1028|  5.48k|            }
 1029|   104k|        }
_ZNK8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE5emptyEv:
  435|  1.98k|        {
  436|  1.98k|            return members_.empty();
  437|  1.98k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2EOS7_:
   47|  60.0M|        key_index_value(key_index_value&&) = default;
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17json_object_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EEmDpOT_:
   42|  52.4k|        {
   43|  52.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2EOSC_:
  361|  52.4k|        {
  362|  52.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEEC2ERKS6_:
  343|  52.4k|        {
  344|  52.4k|        }
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE18uninitialized_initEPNS_15key_index_valueISA_EEm:
  553|  8.10k|        {
  554|  8.10k|            auto first = items;
  555|  8.10k|            if (count > 0)
  ------------------
  |  Branch (555:17): [True: 8.10k, False: 0]
  ------------------
  556|  8.10k|            {
  557|  8.10k|                members_.reserve(count);
  558|       |
  559|  8.10k|                auto last = first + count;
  560|       |
  561|  8.10k|                std::sort(first, last, compare);
  562|  8.10k|                members_.emplace_back(first->name, std::move(first->value));
  563|  8.10k|                auto prev_it = first;
  564|  9.78M|                for (auto it = first+1; it != last; ++it)
  ------------------
  |  Branch (564:41): [True: 9.77M, False: 8.10k]
  ------------------
  565|  9.77M|                {
  566|  9.77M|                    if (it->name.compare(prev_it->name) != 0)
  ------------------
  |  Branch (566:25): [True: 19.1k, False: 9.75M]
  ------------------
  567|  19.1k|                    {
  568|  19.1k|                        members_.emplace_back(it->name, std::move(it->value));
  569|  19.1k|                    }
  570|  9.77M|                    ++prev_it;
  571|  9.77M|                }
  572|  8.10k|            }
  573|  8.10k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEaSEOS7_:
   58|  42.0M|        key_index_value& operator=(key_index_value&&) = default;
_ZN8jsoncons18sorted_json_objectINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EENS1_6vectorEE7compareERKNS_15key_index_valueISA_EESG_:
  544|   180M|        {
  545|   180M|            int comp = item1.name.compare(item2.name); 
  546|   180M|            if (comp < 0) return true;
  ------------------
  |  Branch (546:17): [True: 800k, False: 179M]
  ------------------
  547|   179M|            if (comp == 0) return item1.index < item2.index;
  ------------------
  |  Branch (547:17): [True: 179M, False: 836k]
  ------------------
  548|       |
  549|   836k|            return false;
  550|   179M|        }
_ZN8jsoncons9key_valueINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_10basic_jsonIcNS_13sorted_policyES6_EEEC2IJSA_EEERKS7_DpOT_:
   99|  27.2k|        {
  100|  27.2k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_16json_array_arg_tERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EEmDpOT_:
   42|  37.0k|        {
   43|  37.0k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJNS_9null_typeERNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EEmDpOT_:
   42|  21.7M|        {
   43|  21.7M|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRbRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EEmDpOT_:
   42|   177k|        {
   43|   177k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_6detail17basic_string_viewIcNS3_11char_traitsIcEEEERNS_12semantic_tagEEEEONS3_12basic_stringIcSC_S5_EEmDpOT_:
   42|   109k|        {
   43|   109k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRKNS_17byte_string_arg_tERKNS_16byte_string_viewERmEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EEmDpOT_:
   42|  16.4k|        {
   43|  16.4k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRmRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EEmDpOT_:
   42|  30.8k|        {
   43|  30.8k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRlRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EEmDpOT_:
   42|   203k|        {
   43|   203k|        }
_ZN8jsoncons15key_index_valueINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEC2IJRdRNS_12semantic_tagEEEEONS3_12basic_stringIcNS3_11char_traitsIcEES5_EEmDpOT_:
   42|  42.4k|        {
   43|  42.4k|        }

_ZN8jsoncons18basic_json_visitorIcEC2Ev:
   36|  7.48k|        basic_json_visitor() = default;
_ZN8jsoncons18basic_json_visitorIcED2Ev:
   38|  7.48k|        virtual ~basic_json_visitor() noexcept = default;
_ZN8jsoncons18basic_json_visitorIcE12uint64_valueEmNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  335|  61.6k|        {
  336|  61.6k|            return visit_uint64(value, tag, context, ec);
  337|  61.6k|        }
_ZN8jsoncons18basic_json_visitorIcE9end_arrayERKNS_11ser_contextERNSt3__110error_codeE:
  279|  14.6k|        {
  280|  14.6k|            return visit_end_array(context, ec);
  281|  14.6k|        }
_ZN8jsoncons18basic_json_visitorIcE11int64_valueElNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  343|   406k|        {
  344|   406k|            return visit_int64(value, tag, context, ec);
  345|   406k|        }
_ZN8jsoncons18basic_json_visitorIcE12double_valueEdNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  359|  84.9k|        {
  360|  84.9k|            return visit_double(value, tag, context, ec);
  361|  84.9k|        }
_ZN8jsoncons18basic_json_visitorIcE12begin_objectENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  251|   104k|        {
  252|   104k|            return visit_begin_object(tag, context, ec);
  253|   104k|        }
_ZN8jsoncons18basic_json_visitorIcE10end_objectERKNS_11ser_contextERNSt3__110error_codeE:
  264|  88.4k|        {
  265|  88.4k|            return visit_end_object(context, ec);
  266|  88.4k|        }
_ZN8jsoncons18basic_json_visitorIcE11begin_arrayENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  269|  74.0k|        {
  270|  74.0k|            return visit_begin_array(tag, context, ec);
  271|  74.0k|        }
_ZN8jsoncons18basic_json_visitorIcE3keyERKNS_6detail17basic_string_viewIcNSt3__111char_traitsIcEEEERKNS_11ser_contextERNS4_10error_codeE:
  284|  22.8M|        {
  285|  22.8M|            return visit_key(name, context, ec);
  286|  22.8M|        }
_ZN8jsoncons18basic_json_visitorIcE10null_valueENS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  291|  43.5M|        {
  292|  43.5M|            return visit_null(tag, context, ec);
  293|  43.5M|        }
_ZN8jsoncons18basic_json_visitorIcE10bool_valueEbNS_12semantic_tagERKNS_11ser_contextERNSt3__110error_codeE:
  299|   354k|        {
  300|   354k|            return visit_bool(value, tag, context, ec);
  301|   354k|        }
_ZN8jsoncons18basic_json_visitorIcE12string_valueERKNS_6detail17basic_string_viewIcNSt3__111char_traitsIcEEEENS_12semantic_tagERKNS_11ser_contextERNS4_10error_codeE:
  307|   219k|        {
  308|   219k|            return visit_string(value, tag, context, ec);
  309|   219k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINS_16byte_string_viewEEEbRKT_mRKNS_11ser_contextERNSt3__110error_codeENSA_9enable_ifIXsr16extension_traits16is_byte_sequenceIS4_EE5valueEiE4typeE:
  327|  16.4k|        {
  328|  16.4k|            return visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  329|  16.4k|        }
_ZN8jsoncons18basic_json_visitorIcE17byte_string_valueINSt3__16vectorIhNS3_9allocatorIhEEEEEEbRKT_mRKNS_11ser_contextERNS3_10error_codeENS3_9enable_ifIXsr16extension_traits16is_byte_sequenceIS8_EE5valueEiE4typeE:
  327|  16.4k|        {
  328|  16.4k|            return visit_byte_string(byte_string_view(reinterpret_cast<const uint8_t*>(b.data()),b.size()), ext_tag, context, ec);
  329|  16.4k|        }

_ZN8jsoncons11ser_contextD2Ev:
   15|  3.74k|    virtual ~ser_context() noexcept = default;

_ZN8jsoncons13stream_sourceIhEC2ERNSt3__113basic_istreamIcNS2_11char_traitsIcEEEEm:
  101|  3.74k|        {
  102|  3.74k|        }
_ZN8jsoncons18basic_null_istreamIcEC1Ev:
   48|  3.74k|        {
   49|  3.74k|        }
_ZN8jsoncons18basic_null_istreamIcE11null_bufferC2Ev:
   36|  3.74k|            null_buffer() = default;
_ZN8jsoncons13stream_sourceIhED2Ev:
  121|  3.74k|        {
  122|  3.74k|        }
_ZNK8jsoncons13stream_sourceIhE8positionEv:
  158|  3.72k|        {
  159|  3.72k|            return position_;
  160|  3.72k|        }
_ZNK8jsoncons13stream_sourceIhE8is_errorEv:
  153|  3.74k|        {
  154|  3.74k|            return stream_ptr_->bad();  
  155|  3.74k|        }
_ZN8jsoncons13stream_sourceIhE4readEPhm:
  220|  75.0M|        {
  221|  75.0M|            std::size_t len = 0;
  222|  75.0M|            if (buffer_length_ > 0)
  ------------------
  |  Branch (222:17): [True: 75.0M, False: 9.45k]
  ------------------
  223|  75.0M|            {
  224|  75.0M|                len = (std::min)(buffer_length_, length);
  225|  75.0M|                std::memcpy(p, buffer_data_, len*sizeof(value_type));
  226|  75.0M|                buffer_data_ += len;
  227|  75.0M|                buffer_length_ -= len;
  228|  75.0M|                position_ += len;
  229|  75.0M|            }
  230|  75.0M|            if (length - len == 0)
  ------------------
  |  Branch (230:17): [True: 75.0M, False: 10.2k]
  ------------------
  231|  75.0M|            {
  232|  75.0M|                return len;
  233|  75.0M|            }
  234|  10.2k|            else if (length - len < buffer_.size())
  ------------------
  |  Branch (234:22): [True: 10.0k, False: 138]
  ------------------
  235|  10.0k|            {
  236|  10.0k|                fill_buffer();
  237|  10.0k|                if (buffer_length_ > 0)
  ------------------
  |  Branch (237:21): [True: 8.64k, False: 1.45k]
  ------------------
  238|  8.64k|                {
  239|  8.64k|                    std::size_t len2 = (std::min)(buffer_length_, length-len);
  240|  8.64k|                    std::memcpy(p+len, buffer_data_, len2*sizeof(value_type));
  241|  8.64k|                    buffer_data_ += len2;
  242|  8.64k|                    buffer_length_ -= len2;
  243|  8.64k|                    position_ += len2;
  244|  8.64k|                    len += len2;
  245|  8.64k|                }
  246|  10.0k|                return len;
  247|  10.0k|            }
  248|    138|            else
  249|    138|            {
  250|    138|                if (stream_ptr_->eof())
  ------------------
  |  Branch (250:21): [True: 0, False: 138]
  ------------------
  251|      0|                {
  252|      0|                    buffer_length_ = 0;
  253|      0|                    return 0;
  254|      0|                }
  255|    138|                JSONCONS_TRY
  ------------------
  |  |  239|    138|    #define JSONCONS_TRY try
  ------------------
  256|    138|                {
  257|    138|                    std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(p+len), length-len);
  258|    138|                    std::size_t len2 = static_cast<std::size_t>(count);
  259|    138|                    if (len2 < length-len)
  ------------------
  |  Branch (259:25): [True: 22, False: 116]
  ------------------
  260|     22|                    {
  261|     22|                        stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  262|     22|                    }
  263|    138|                    len += len2;
  264|    138|                    position_ += len2;
  265|    138|                    return len;
  266|    138|                }
  267|    138|                JSONCONS_CATCH(const std::exception&)     
  268|    138|                {
  269|      0|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  270|      0|                    return 0;
  271|      0|                }
  272|    138|            }
  273|  75.0M|        }
_ZN8jsoncons13stream_sourceIhE11fill_bufferEv:
  276|  10.0k|        {
  277|  10.0k|            if (stream_ptr_->eof())
  ------------------
  |  Branch (277:17): [True: 1.43k, False: 8.66k]
  ------------------
  278|  1.43k|            {
  279|  1.43k|                buffer_length_ = 0;
  280|  1.43k|                return;
  281|  1.43k|            }
  282|       |
  283|  8.66k|            buffer_data_ = buffer_.data();
  284|  8.66k|            JSONCONS_TRY
  ------------------
  |  |  239|  8.66k|    #define JSONCONS_TRY try
  ------------------
  285|  8.66k|            {
  286|  8.66k|                std::streamsize count = sbuf_->sgetn(reinterpret_cast<char_type*>(buffer_.data()), buffer_.size());
  287|  8.66k|                buffer_length_ = static_cast<std::size_t>(count);
  288|       |
  289|  8.66k|                if (buffer_length_ < buffer_.size())
  ------------------
  |  Branch (289:21): [True: 3.70k, False: 4.95k]
  ------------------
  290|  3.70k|                {
  291|  3.70k|                    stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::eofbit);
  292|  3.70k|                }
  293|  8.66k|            }
  294|  8.66k|            JSONCONS_CATCH(const std::exception&)     
  295|  8.66k|            {
  296|      0|                stream_ptr_->clear(stream_ptr_->rdstate() | std::ios::badbit | std::ios::eofbit);
  297|      0|                buffer_length_ = 0;
  298|      0|            }
  299|  8.66k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhEEE4readINSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEEENS5_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr16extension_traits11has_reserveISD_EE5valuentsr16extension_traits14has_data_exactIPhSD_EE5valueEmE4typeERS2_RSD_m:
  759|  3.38k|        {
  760|  3.38k|            std::size_t unread = length;
  761|       |
  762|  3.38k|            std::size_t n = (std::min)(max_buffer_length, unread);
  763|  4.73k|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (763:20): [True: 1.47k, False: 3.25k]
  |  Branch (763:29): [True: 1.34k, False: 132]
  ------------------
  764|  1.34k|            {
  765|  1.34k|                v.reserve(v.size()+n);
  766|  1.34k|                std::size_t actual = 0;
  767|  8.03M|                while (actual < n)
  ------------------
  |  Branch (767:24): [True: 8.03M, False: 1.26k]
  ------------------
  768|  8.03M|                {
  769|  8.03M|                    typename Source::value_type c;
  770|  8.03M|                    if (source.read(&c,1) != 1)
  ------------------
  |  Branch (770:25): [True: 83, False: 8.03M]
  ------------------
  771|     83|                    {
  772|     83|                        break;
  773|     83|                    }
  774|  8.03M|                    v.push_back(c);
  775|  8.03M|                    ++actual;
  776|  8.03M|                }
  777|  1.34k|                unread -= actual;
  778|  1.34k|                n = (std::min)(max_buffer_length, unread);
  779|  1.34k|            }
  780|       |
  781|  3.38k|            return length - unread;
  782|  3.38k|        }
_ZNK8jsoncons13stream_sourceIhE3eofEv:
  148|  6.64k|        {
  149|  6.64k|            return buffer_length_ == 0 && stream_ptr_->eof();
  ------------------
  |  Branch (149:20): [True: 592, False: 6.05k]
  |  Branch (149:43): [True: 357, False: 235]
  ------------------
  150|  6.64k|        }
_ZN8jsoncons13source_readerINS_13stream_sourceIhEEE4readINSt3__16vectorIhNS5_9allocatorIhEEEEEENS5_9enable_ifIXaaaasr3std14is_convertibleIhNT_10value_typeEEE5valuesr16extension_traits11has_reserveISB_EE5valuesr16extension_traits14has_data_exactIPhSB_EE5valueEmE4typeERS2_RSB_m:
  736|  16.6k|        {
  737|  16.6k|            std::size_t unread = length;
  738|       |
  739|  16.6k|            std::size_t n = (std::min)(max_buffer_length, unread);
  740|  21.5k|            while (n > 0 && !source.eof())
  ------------------
  |  Branch (740:20): [True: 5.16k, False: 16.4k]
  |  Branch (740:29): [True: 4.93k, False: 225]
  ------------------
  741|  4.93k|            {
  742|  4.93k|                std::size_t offset = v.size();
  743|  4.93k|                v.resize(v.size()+n);
  744|  4.93k|                std::size_t actual = source.read(v.data()+offset, n);
  745|  4.93k|                unread -= actual;
  746|  4.93k|                n = (std::min)(max_buffer_length, unread);
  747|  4.93k|            }
  748|       |
  749|  16.6k|            return length - unread;
  750|  16.6k|        }

_ZN8jsoncons14unicode_traits8validateIcEENSt3__19enable_ifIXsr16extension_traits8is_char8IT_EE5valueENS0_14convert_resultIS4_EEE4typeEPKS4_m:
 1130|  11.4M|    {
 1131|  11.4M|        conv_errc  result = conv_errc();
 1132|  11.4M|        const CharT* last = data + length;
 1133|  26.3M|        while (data != last) 
  ------------------
  |  Branch (1133:16): [True: 14.9M, False: 11.4M]
  ------------------
 1134|  14.9M|        {
 1135|  14.9M|            std::size_t len = static_cast<std::size_t>(trailing_bytes_for_utf8[static_cast<uint8_t>(*data)]) + 1;
 1136|  14.9M|            if (len > (std::size_t)(last - data))
  ------------------
  |  Branch (1136:17): [True: 12, False: 14.9M]
  ------------------
 1137|     12|            {
 1138|     12|                return convert_result<CharT>{data, conv_errc::source_exhausted};
 1139|     12|            }
 1140|  14.9M|            if ((result=is_legal_utf8(data, len)) != conv_errc())
  ------------------
  |  Branch (1140:17): [True: 120, False: 14.9M]
  ------------------
 1141|    120|            {
 1142|    120|                return convert_result<CharT>{data,result} ;
 1143|    120|            }
 1144|  14.9M|            data += len;
 1145|  14.9M|        }
 1146|  11.4M|        return convert_result<CharT>{data,result} ;
 1147|  11.4M|    }
_ZN8jsoncons14unicode_traits13is_legal_utf8IcEENSt3__19enable_ifIXsr16extension_traits8is_char8IT_EE5valueENS0_9conv_errcEE4typeEPKS4_m:
  299|  14.9M|    {
  300|  14.9M|        uint8_t a;
  301|  14.9M|        const CharT* srcptr = first+length;
  302|  14.9M|        switch (length) {
  303|     33|        default:
  ------------------
  |  Branch (303:9): [True: 33, False: 14.9M]
  ------------------
  304|     33|            return conv_errc::over_long_utf8_sequence;
  305|  5.25k|        case 4:
  ------------------
  |  Branch (305:9): [True: 5.25k, False: 14.9M]
  ------------------
  306|  5.25k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (306:17): [True: 10, False: 5.24k]
  ------------------
  307|     10|                return conv_errc::expected_continuation_byte;
  308|  5.25k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |   34|  5.24k|#  define JSONCONS_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  309|  7.57k|        case 3:
  ------------------
  |  Branch (309:9): [True: 2.33k, False: 14.9M]
  ------------------
  310|  7.57k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (310:17): [True: 7, False: 7.57k]
  ------------------
  311|      7|                return conv_errc::expected_continuation_byte;
  312|  7.57k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |   34|  7.57k|#  define JSONCONS_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  313|  8.03k|        case 2:
  ------------------
  |  Branch (313:9): [True: 465, False: 14.9M]
  ------------------
  314|  8.03k|            if (((a = (*--srcptr))& 0xC0) != 0x80)
  ------------------
  |  Branch (314:17): [True: 20, False: 8.01k]
  ------------------
  315|     20|                return conv_errc::expected_continuation_byte;
  316|       |
  317|  8.01k|            switch (static_cast<uint8_t>(*first)) 
  318|  8.01k|            {
  319|       |                // no fall-through in this inner switch
  320|    803|                case 0xE0: if (a < 0xA0) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (320:17): [True: 803, False: 7.21k]
  |  Branch (320:32): [True: 7, False: 796]
  ------------------
  321|    796|                case 0xED: if (a > 0x9F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (321:17): [True: 207, False: 7.80k]
  |  Branch (321:32): [True: 2, False: 205]
  ------------------
  322|    318|                case 0xF0: if (a < 0x90) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (322:17): [True: 318, False: 7.69k]
  |  Branch (322:32): [True: 6, False: 312]
  ------------------
  323|    335|                case 0xF4: if (a > 0x8F) return conv_errc::source_illegal; break;
  ------------------
  |  Branch (323:17): [True: 335, False: 7.68k]
  |  Branch (323:32): [True: 6, False: 329]
  ------------------
  324|  6.35k|                default:   if (a < 0x80) return conv_errc::source_illegal;
  ------------------
  |  Branch (324:17): [True: 6.35k, False: 1.66k]
  |  Branch (324:32): [True: 0, False: 6.35k]
  ------------------
  325|  8.01k|            }
  326|       |
  327|  8.01k|            JSONCONS_FALLTHROUGH;
  ------------------
  |  |   34|  7.99k|#  define JSONCONS_FALLTHROUGH [[clang::fallthrough]]
  ------------------
  328|  14.9M|        case 1:
  ------------------
  |  Branch (328:9): [True: 14.9M, False: 8.08k]
  ------------------
  329|  14.9M|            if (static_cast<uint8_t>(*first) >= 0x80 && static_cast<uint8_t>(*first) < 0xC2)
  ------------------
  |  Branch (329:17): [True: 8.02k, False: 14.9M]
  |  Branch (329:57): [True: 28, False: 7.99k]
  ------------------
  330|     28|                return conv_errc::source_illegal;
  331|  14.9M|            break;
  332|  14.9M|        }
  333|  14.9M|        if (static_cast<uint8_t>(*first) > 0xF4) 
  ------------------
  |  Branch (333:13): [True: 1, False: 14.9M]
  ------------------
  334|      1|            return conv_errc::source_illegal;
  335|       |
  336|  14.9M|        return conv_errc();
  337|  14.9M|    }

_ZN8jsoncons4bson3TP1C2Ev:
   69|  7.40k|        constexpr TP1() : low(0), high(0) {}
_ZN8jsoncons4bson19decimal128_to_charsEPcS1_RKNS0_3TP1E:
  326|  7.40k|    {
  327|  7.40k|        const std::string bson_decimal128_inf = "Infinity";
  328|  7.40k|        const std::string bson_decimal128_nan = "NaN";
  329|       |
  330|  7.40k|        const uint32_t combination_mask = 0x1f;   /* Extract least significant 5 bits */
  331|  7.40k|        const uint32_t exponent_mask = 0x3fff;    /* Extract least significant 14 bits */
  332|  7.40k|        const uint32_t combination_infinity = 30; /* Value of combination field for Inf */
  333|  7.40k|        const uint32_t combination_nan = 31;      /* Value of combination field for NaN */
  334|  7.40k|        const uint32_t exponent_bias = 6176;      /* decimal128 exponent bias */
  335|       |
  336|  7.40k|        char* str_out = first;      /* output pointer in string */
  337|  7.40k|        char significand_str[35]; /* decoded significand digits */
  338|       |
  339|       |        /* Note: bits in this routine are referred to starting at 0, */
  340|       |        /* from the sign bit, towards the coefficient. */
  341|  7.40k|        uint32_t high;                   /* bits 0 - 31 */
  342|  7.40k|        uint32_t midh;                   /* bits 32 - 63 */
  343|  7.40k|        uint32_t midl;                   /* bits 64 - 95 */
  344|  7.40k|        uint32_t low;                    /* bits 96 - 127 */
  345|  7.40k|        uint32_t combination;            /* bits 1 - 5 */
  346|  7.40k|        uint32_t biased_exponent;        /* decoded biased exponent (14 bits) */
  347|  7.40k|        uint32_t significand_digits = 0; /* the number of significand digits */
  348|  7.40k|        uint32_t significand[36] = {0};  /* the base-10 digits in the significand */
  349|  7.40k|        uint32_t *significand_read = significand; /* read pointer into significand */
  350|  7.40k|        int32_t exponent;                         /* unbiased exponent */
  351|  7.40k|        int32_t scientific_exponent; /* the exponent if scientific notation is
  352|       |                                      * used */
  353|  7.40k|        bool is_zero = false;        /* true if the number is zero */
  354|       | 
  355|  7.40k|        uint8_t significand_msb; /* the most signifcant significand bits (50-46) */
  356|  7.40k|        bson_uint128_t
  357|  7.40k|           significand128; /* temporary storage for significand decoding */
  358|       | 
  359|  7.40k|        memset (significand_str, 0, sizeof (significand_str));
  360|       | 
  361|  7.40k|        if ((int64_t) dec.high < 0) { /* negative */
  ------------------
  |  Branch (361:13): [True: 1.06k, False: 6.34k]
  ------------------
  362|  1.06k|           *(str_out++) = '-';
  363|  1.06k|        }
  364|       | 
  365|  7.40k|        low = (uint32_t) dec.low, midl = (uint32_t) (dec.low >> 32),
  366|  7.40k|        midh = (uint32_t) dec.high, high = (uint32_t) (dec.high >> 32);
  367|       | 
  368|       |        /* Decode combination field and exponent */
  369|  7.40k|        combination = (high >> 26) & combination_mask;
  370|       | 
  371|  7.40k|        if (JSONCONS_UNLIKELY ((combination >> 3) == 3)) {
  ------------------
  |  |   45|  7.40k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 1.66k, False: 5.73k]
  |  |  ------------------
  ------------------
  372|       |           /* Check for 'special' values */
  373|  1.66k|           if (combination == combination_infinity) { /* Infinity */
  ------------------
  |  Branch (373:16): [True: 211, False: 1.45k]
  ------------------
  374|    211|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_inf.size())) 
  ------------------
  |  Branch (374:20): [True: 211, False: 0]
  ------------------
  375|    211|               {
  376|    211|                   std::memcpy(str_out, bson_decimal128_inf.data(), bson_decimal128_inf.size());
  377|    211|                   str_out += bson_decimal128_inf.size();
  378|    211|               }
  379|    211|               *str_out = 0;
  380|       |              //strcpy_s (str_out, last-str_out, bson_decimal128_inf.c_str());
  381|    211|              return decimal128_to_chars_result{str_out, std::errc()};
  382|  1.45k|           } else if (combination == combination_nan) { /* NaN */
  ------------------
  |  Branch (382:23): [True: 843, False: 612]
  ------------------
  383|       |               /* first, not str_out, to erase the sign */
  384|    843|               str_out = first;
  385|    843|               if (last-str_out >= static_cast<ptrdiff_t >(bson_decimal128_nan.size())) 
  ------------------
  |  Branch (385:20): [True: 843, False: 0]
  ------------------
  386|    843|               {
  387|    843|                   std::memcpy(str_out, bson_decimal128_nan.data(), bson_decimal128_nan.size());
  388|    843|                   str_out += bson_decimal128_nan.size();
  389|    843|               }
  390|    843|               *str_out = 0;
  391|       |              //strcpy_s (first, last-first, bson_decimal128_nan.c_str());
  392|       |              /* we don't care about the NaN payload. */
  393|    843|               return decimal128_to_chars_result{str_out, std::errc()};
  394|    843|           } else {
  395|    612|              biased_exponent = (high >> 15) & exponent_mask;
  396|    612|              significand_msb = 0x8 + ((high >> 14) & 0x1);
  397|    612|           }
  398|  5.73k|        } else {
  399|  5.73k|           significand_msb = (high >> 14) & 0x7;
  400|  5.73k|           biased_exponent = (high >> 17) & exponent_mask;
  401|  5.73k|        }
  402|       | 
  403|  6.35k|        exponent = biased_exponent - exponent_bias;
  404|       |        /* Create string of significand digits */
  405|       | 
  406|       |        /* Convert the 114-bit binary number represented by */
  407|       |        /* (high, midh, midl, low) to at most 34 decimal */
  408|       |        /* digits through modulo and division. */
  409|  6.35k|        significand128.parts[0] = (high & 0x3fff) + ((significand_msb & 0xf) << 14);
  410|  6.35k|        significand128.parts[1] = midh;
  411|  6.35k|        significand128.parts[2] = midl;
  412|  6.35k|        significand128.parts[3] = low;
  413|       | 
  414|  6.35k|        if (significand128.parts[0] == 0 && significand128.parts[1] == 0 &&
  ------------------
  |  Branch (414:13): [True: 1.94k, False: 4.41k]
  |  Branch (414:45): [True: 1.13k, False: 808]
  ------------------
  415|  6.35k|            significand128.parts[2] == 0 && significand128.parts[3] == 0) {
  ------------------
  |  Branch (415:13): [True: 788, False: 345]
  |  Branch (415:45): [True: 283, False: 505]
  ------------------
  416|    283|           is_zero = true;
  417|  6.06k|        } else if (significand128.parts[0] >= (1 << 17)) {
  ------------------
  |  Branch (417:20): [True: 612, False: 5.45k]
  ------------------
  418|       |           /* The significand is non-canonical or zero.
  419|       |            * In order to preserve compatibility with the densely packed decimal
  420|       |            * format, the maximum value for the significand of decimal128 is
  421|       |            * 1e34 - 1.  If the value is greater than 1e34 - 1, the IEEE 754
  422|       |            * standard dictates that the significand is interpreted as zero.
  423|       |            */
  424|    612|           is_zero = true;
  425|  5.45k|        } else {
  426|  27.2k|           for (int k = 3; k >= 0; k--) {
  ------------------
  |  Branch (426:28): [True: 21.8k, False: 5.45k]
  ------------------
  427|  21.8k|              uint32_t least_digits = 0;
  428|  21.8k|              detail::bson_uint128_divide1B (
  429|  21.8k|                 significand128, &significand128, &least_digits);
  430|       | 
  431|       |              /* We now have the 9 least significant digits (in base 2). */
  432|       |              /* Convert and output to string. */
  433|  21.8k|              if (!least_digits) {
  ------------------
  |  Branch (433:19): [True: 1.85k, False: 19.9k]
  ------------------
  434|  1.85k|                 continue;
  435|  1.85k|              }
  436|       | 
  437|   199k|              for (int j = 8; j >= 0; j--) {
  ------------------
  |  Branch (437:31): [True: 179k, False: 19.9k]
  ------------------
  438|   179k|                 significand[k * 9 + j] = least_digits % 10;
  439|   179k|                 least_digits /= 10;
  440|   179k|              }
  441|  19.9k|           }
  442|  5.45k|        }
  443|       | 
  444|       |        /* Output format options: */
  445|       |        /* Scientific - [-]d.dddE(+/-)dd or [-]dE(+/-)dd */
  446|       |        /* Regular    - ddd.ddd */
  447|       | 
  448|  6.35k|        if (is_zero) {
  ------------------
  |  Branch (448:13): [True: 895, False: 5.45k]
  ------------------
  449|    895|           significand_digits = 1;
  450|    895|           *significand_read = 0;
  451|  5.45k|        } else {
  452|  5.45k|           significand_digits = 36;
  453|  44.4k|           while (!(*significand_read)) {
  ------------------
  |  Branch (453:19): [True: 39.0k, False: 5.45k]
  ------------------
  454|  39.0k|              significand_digits--;
  455|  39.0k|              significand_read++;
  456|  39.0k|           }
  457|  5.45k|        }
  458|       | 
  459|  6.35k|        scientific_exponent = significand_digits - 1 + exponent;
  460|       | 
  461|       |        /* The scientific exponent checks are dictated by the string conversion
  462|       |         * specification and are somewhat arbitrary cutoffs.
  463|       |         *
  464|       |         * We must check exponent > 0, because if this is the case, the number
  465|       |         * has trailing zeros.  However, we *cannot* output these trailing zeros,
  466|       |         * because doing so would change the precision of the value, and would
  467|       |         * change stored data if the string converted number is round tripped.
  468|       |         */
  469|  6.35k|        if (scientific_exponent < -6 || exponent > 0) {
  ------------------
  |  Branch (469:13): [True: 3.88k, False: 2.47k]
  |  Branch (469:41): [True: 1.17k, False: 1.29k]
  ------------------
  470|       |           /* Scientific format */
  471|  5.05k|           *(str_out++) = char(*(significand_read++)) + '0';
  472|  5.05k|           significand_digits--;
  473|       | 
  474|  5.05k|           if (significand_digits) {
  ------------------
  |  Branch (474:16): [True: 4.34k, False: 706]
  ------------------
  475|  4.34k|              *(str_out++) = '.';
  476|  4.34k|           }
  477|       | 
  478|   124k|           for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (478:36): [True: 119k, False: 5.04k]
  |  Branch (478:62): [True: 119k, False: 9]
  ------------------
  479|   119k|              *(str_out++) = char(*(significand_read++)) + '0';
  480|   119k|           }
  481|       |           /* Exponent */
  482|  5.05k|           *(str_out++) = 'E';
  483|       |
  484|  5.05k|           std::string s;
  485|  5.05k|           if (scientific_exponent >= 0) {
  ------------------
  |  Branch (485:16): [True: 1.17k, False: 3.88k]
  ------------------
  486|  1.17k|               s.push_back('+');
  487|  1.17k|           }
  488|  5.05k|           jsoncons::detail::from_integer(scientific_exponent, s);
  489|  5.05k|           if (str_out + s.size() < last) 
  ------------------
  |  Branch (489:16): [True: 4.53k, False: 518]
  ------------------
  490|  4.53k|           {
  491|  4.53k|               std::memcpy(str_out, s.data(), s.size());
  492|  4.53k|           }
  493|    518|           else
  494|    518|           {
  495|    518|               return decimal128_to_chars_result{str_out, std::errc::value_too_large};
  496|    518|           }
  497|  4.53k|           str_out += s.size();
  498|  4.53k|        } else {
  499|       |           /* Regular format with no decimal place */
  500|  1.29k|           if (exponent >= 0) {
  ------------------
  |  Branch (500:16): [True: 520, False: 779]
  ------------------
  501|  15.3k|              for (std::size_t i = 0; i < significand_digits && (str_out - first) < 36; i++) {
  ------------------
  |  Branch (501:39): [True: 14.7k, False: 520]
  |  Branch (501:65): [True: 14.7k, False: 0]
  ------------------
  502|  14.7k|                 *(str_out++) = char(*(significand_read++)) + '0';
  503|  14.7k|              }
  504|    779|           } else {
  505|    779|              int32_t radix_position = significand_digits + exponent;
  506|       | 
  507|    779|              if (radix_position > 0) { /* non-zero digits before radix */
  ------------------
  |  Branch (507:19): [True: 398, False: 381]
  ------------------
  508|    398|                 for (int32_t i = 0;
  509|  2.71k|                      i < radix_position && (str_out < last);
  ------------------
  |  Branch (509:23): [True: 2.31k, False: 398]
  |  Branch (509:45): [True: 2.31k, False: 0]
  ------------------
  510|  2.31k|                      i++) {
  511|  2.31k|                    *(str_out++) = char(*(significand_read++)) + '0';
  512|  2.31k|                 }
  513|    398|              } else { /* leading zero before radix point */
  514|    381|                 *(str_out++) = '0';
  515|    381|              }
  516|       | 
  517|    779|              *(str_out++) = '.';
  518|  2.17k|              while (radix_position++ < 0) { /* add leading zeros after radix */
  ------------------
  |  Branch (518:22): [True: 1.39k, False: 779]
  ------------------
  519|  1.39k|                 *(str_out++) = '0';
  520|  1.39k|              }
  521|       | 
  522|    779|              for (std::size_t i = 0;
  523|  17.4k|                   (i < significand_digits - (std::max) (radix_position - 1, 0)) &&
  ------------------
  |  Branch (523:20): [True: 16.7k, False: 654]
  |  Branch (523:20): [True: 16.6k, False: 779]
  ------------------
  524|  17.4k|                   (str_out < last);
  ------------------
  |  Branch (524:20): [True: 16.6k, False: 125]
  ------------------
  525|  16.6k|                   i++) {
  526|  16.6k|                 *(str_out++) = char(*(significand_read++)) + '0';
  527|  16.6k|              }
  528|    779|           }
  529|  1.29k|        }
  530|  5.83k|        return decimal128_to_chars_result{str_out, std::errc()};
  531|  6.35k|    }
_ZN8jsoncons4bson6detail21bson_uint128_divide1BENS0_14bson_uint128_tEPS2_Pj:
  169|  21.8k|        {
  170|  21.8k|            const uint32_t DIVISOR = 1000 * 1000 * 1000;
  171|  21.8k|            uint64_t _rem = 0;
  172|  21.8k|            int i = 0;
  173|       |            
  174|  21.8k|            if (!value.parts[0] && !value.parts[1] && !value.parts[2] &&
  ------------------
  |  Branch (174:17): [True: 18.0k, False: 3.79k]
  |  Branch (174:36): [True: 12.8k, False: 5.18k]
  |  Branch (174:55): [True: 7.63k, False: 5.20k]
  ------------------
  175|  21.8k|                !value.parts[3]) {
  ------------------
  |  Branch (175:17): [True: 1.85k, False: 5.77k]
  ------------------
  176|  1.85k|               *quotient = value;
  177|  1.85k|               *rem = 0;
  178|  1.85k|               return;
  179|  1.85k|            }
  180|       |            
  181|  99.8k|            for (i = 0; i <= 3; i++) {
  ------------------
  |  Branch (181:25): [True: 79.8k, False: 19.9k]
  ------------------
  182|  79.8k|               _rem <<= 32; /* Adjust remainder to match value of next dividend */
  183|  79.8k|               _rem += value.parts[i]; /* Add the divided to _rem */
  184|  79.8k|               value.parts[i] = (uint32_t) (_rem / DIVISOR);
  185|  79.8k|               _rem %= DIVISOR; /* Store the remainder */
  186|  79.8k|            }
  187|       |            
  188|  19.9k|            *quotient = value;
  189|  19.9k|            *rem = (uint32_t) _rem;
  190|  19.9k|        }

_ZN8jsoncons4bson15make_error_codeENS0_9bson_errcE:
   89|  3.78k|{
   90|  3.78k|    return std::error_code(static_cast<int>(result),bson_error_category());
   91|  3.78k|}
_ZN8jsoncons4bson19bson_error_categoryEv:
   82|  3.78k|{
   83|  3.78k|  static bson_error_category_impl instance;
   84|  3.78k|  return instance;
   85|  3.78k|}
_ZNK8jsoncons4bson24bson_error_category_impl7messageEi:
   43|  3.72k|    {
   44|  3.72k|        switch (static_cast<bson_errc>(ev))
   45|  3.72k|        {
   46|  1.52k|            case bson_errc::unexpected_eof:
  ------------------
  |  Branch (46:13): [True: 1.52k, False: 2.19k]
  ------------------
   47|  1.52k|                return "Unexpected end of file";
   48|      0|            case bson_errc::source_error:
  ------------------
  |  Branch (48:13): [True: 0, False: 3.72k]
  ------------------
   49|      0|                return "Source error";
   50|    132|            case bson_errc::invalid_utf8_text_string:
  ------------------
  |  Branch (50:13): [True: 132, False: 3.59k]
  ------------------
   51|    132|                return "Illegal UTF-8 encoding in text string";
   52|      2|            case bson_errc::max_nesting_depth_exceeded:
  ------------------
  |  Branch (52:13): [True: 2, False: 3.72k]
  ------------------
   53|      2|                return "Data item nesting exceeds limit in options";
   54|     35|            case bson_errc::string_length_is_non_positive:
  ------------------
  |  Branch (54:13): [True: 35, False: 3.69k]
  ------------------
   55|     35|                return "Request for the length of a string returned a non-positive result";
   56|     36|            case bson_errc::length_is_negative:
  ------------------
  |  Branch (56:13): [True: 36, False: 3.69k]
  ------------------
   57|     36|                return "Request for the length of a binary returned a negative result";
   58|     87|            case bson_errc::unknown_type:
  ------------------
  |  Branch (58:13): [True: 87, False: 3.64k]
  ------------------
   59|     87|                return "An unknown type was found in the stream";
   60|      0|            case bson_errc::number_too_large:
  ------------------
  |  Branch (60:13): [True: 0, False: 3.72k]
  ------------------
   61|      0|                return "Number too large";
   62|      0|            case bson_errc::invalid_decimal128_string:
  ------------------
  |  Branch (62:13): [True: 0, False: 3.72k]
  ------------------
   63|      0|                return "Invalid decimal128 string";
   64|      0|            case bson_errc::datetime_too_large:
  ------------------
  |  Branch (64:13): [True: 0, False: 3.72k]
  ------------------
   65|      0|                return "datetime too large";
   66|      0|            case bson_errc::datetime_too_small:
  ------------------
  |  Branch (66:13): [True: 0, False: 3.72k]
  ------------------
   67|      0|                return "datetime too small";
   68|      0|            case bson_errc::expected_bson_document:
  ------------------
  |  Branch (68:13): [True: 0, False: 3.72k]
  ------------------
   69|      0|                return "Expected BSON document";
   70|      0|            case bson_errc::invalid_regex_string:
  ------------------
  |  Branch (70:13): [True: 0, False: 3.72k]
  ------------------
   71|      0|                return "Invalid regex string";
   72|  1.90k|            case bson_errc::size_mismatch:
  ------------------
  |  Branch (72:13): [True: 1.90k, False: 1.82k]
  ------------------
   73|  1.90k|                return "Document or array size doesn't match bytes read";
   74|      0|            default:
  ------------------
  |  Branch (74:13): [True: 0, False: 3.72k]
  ------------------
   75|      0|                return "Unknown BSON parser error";
   76|  3.72k|        }
   77|  3.72k|    }

_ZN8jsoncons4bson5oid_tC2EPh:
   54|  60.1k|        {
   55|  60.1k|            std::memcpy(bytes_.data(),data,12);
   56|  60.1k|        }
_ZN8jsoncons4bson9to_stringINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEvRKNS0_5oid_tERT_:
  237|  60.1k|    {
  238|  60.1k|        s.resize(24);
  239|  60.1k|        detail::init_hex_char_pairs(oid, reinterpret_cast<uint16_t*>(&s[0]));
  240|  60.1k|    }
_ZN8jsoncons4bson6detail19init_hex_char_pairsERKNS0_5oid_tEPt:
  214|  60.1k|        {
  215|  60.1k|            const uint8_t* bytes = oid.data();
  216|  60.1k|            const uint16_t* gHexCharPairs = get_hex_char_pairs(std::integral_constant<bool, jsoncons::endian::native == jsoncons::endian::big>());
  217|       |
  218|  60.1k|            data[0] = gHexCharPairs[bytes[0]];
  219|  60.1k|            data[1] = gHexCharPairs[bytes[1]];
  220|  60.1k|            data[2] = gHexCharPairs[bytes[2]];
  221|  60.1k|            data[3] = gHexCharPairs[bytes[3]];
  222|  60.1k|            data[4] = gHexCharPairs[bytes[4]];
  223|  60.1k|            data[5] = gHexCharPairs[bytes[5]];
  224|  60.1k|            data[6] = gHexCharPairs[bytes[6]];
  225|  60.1k|            data[7] = gHexCharPairs[bytes[7]];
  226|  60.1k|            data[8] = gHexCharPairs[bytes[8]];
  227|  60.1k|            data[9] = gHexCharPairs[bytes[9]];
  228|  60.1k|            data[10] = gHexCharPairs[bytes[10]];
  229|  60.1k|            data[11] = gHexCharPairs[bytes[11]];
  230|  60.1k|        }
_ZNK8jsoncons4bson5oid_t4dataEv:
   68|  60.1k|        {
   69|  60.1k|            return bytes_.data();
   70|  60.1k|        }
_ZN8jsoncons4bson6detail18get_hex_char_pairsENSt3__117integral_constantIbLb0EEE:
  182|  60.1k|        {
  183|  60.1k|            static const uint16_t hex_char_pairs[] = {
  184|  60.1k|                12336, 12592, 12848, 13104, 13360, 13616, 13872, 14128, 14384, 14640, 24880,
  185|  60.1k|                25136, 25392, 25648, 25904, 26160, 12337, 12593, 12849, 13105, 13361, 13617,
  186|  60.1k|                13873, 14129, 14385, 14641, 24881, 25137, 25393, 25649, 25905, 26161, 12338,
  187|  60.1k|                12594, 12850, 13106, 13362, 13618, 13874, 14130, 14386, 14642, 24882, 25138,
  188|  60.1k|                25394, 25650, 25906, 26162, 12339, 12595, 12851, 13107, 13363, 13619, 13875,
  189|  60.1k|                14131, 14387, 14643, 24883, 25139, 25395, 25651, 25907, 26163, 12340, 12596,
  190|  60.1k|                12852, 13108, 13364, 13620, 13876, 14132, 14388, 14644, 24884, 25140, 25396,
  191|  60.1k|                25652, 25908, 26164, 12341, 12597, 12853, 13109, 13365, 13621, 13877, 14133,
  192|  60.1k|                14389, 14645, 24885, 25141, 25397, 25653, 25909, 26165, 12342, 12598, 12854,
  193|  60.1k|                13110, 13366, 13622, 13878, 14134, 14390, 14646, 24886, 25142, 25398, 25654,
  194|  60.1k|                25910, 26166, 12343, 12599, 12855, 13111, 13367, 13623, 13879, 14135, 14391,
  195|  60.1k|                14647, 24887, 25143, 25399, 25655, 25911, 26167, 12344, 12600, 12856, 13112,
  196|  60.1k|                13368, 13624, 13880, 14136, 14392, 14648, 24888, 25144, 25400, 25656, 25912,
  197|  60.1k|                26168, 12345, 12601, 12857, 13113, 13369, 13625, 13881, 14137, 14393, 14649,
  198|  60.1k|                24889, 25145, 25401, 25657, 25913, 26169, 12385, 12641, 12897, 13153, 13409,
  199|  60.1k|                13665, 13921, 14177, 14433, 14689, 24929, 25185, 25441, 25697, 25953, 26209,
  200|  60.1k|                12386, 12642, 12898, 13154, 13410, 13666, 13922, 14178, 14434, 14690, 24930,
  201|  60.1k|                25186, 25442, 25698, 25954, 26210, 12387, 12643, 12899, 13155, 13411, 13667,
  202|  60.1k|                13923, 14179, 14435, 14691, 24931, 25187, 25443, 25699, 25955, 26211, 12388,
  203|  60.1k|                12644, 12900, 13156, 13412, 13668, 13924, 14180, 14436, 14692, 24932, 25188,
  204|  60.1k|                25444, 25700, 25956, 26212, 12389, 12645, 12901, 13157, 13413, 13669, 13925,
  205|  60.1k|                14181, 14437, 14693, 24933, 25189, 25445, 25701, 25957, 26213, 12390, 12646,
  206|  60.1k|                12902, 13158, 13414, 13670, 13926, 14182, 14438, 14694, 24934, 25190, 25446,
  207|  60.1k|                25702, 25958, 26214};
  208|       |
  209|  60.1k|            return hex_char_pairs;
  210|  60.1k|        }

_ZN8jsoncons4bson19bson_decode_optionsC1Ev:
   49|  3.74k|    {
   50|  3.74k|    }
_ZN8jsoncons4bson19bson_options_commonC2Ev:
   30|  3.74k|    {
   31|  3.74k|    }
_ZN8jsoncons4bson19bson_options_commonD2Ev:
   26|  7.48k|    virtual ~bson_options_common() = default;
_ZN8jsoncons4bson19bson_options_commonC2ERKS1_:
   33|  3.74k|    bson_options_common(const bson_options_common&) = default;
_ZNK8jsoncons4bson19bson_options_common17max_nesting_depthEv:
   39|  89.5k|    {
   40|  89.5k|        return max_nesting_depth_;
   41|  89.5k|    }

_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEEC2IRNS4_13basic_istreamIcNS4_11char_traitsIcEEEEEEOT_RKNS0_19bson_decode_optionsERKS6_:
   76|  3.74k|    {
   77|  3.74k|        state_stack_.emplace_back(parse_mode::root,0,0);
   78|  3.74k|    }
_ZN8jsoncons4bson11parse_stateC2ENS0_10parse_modeEmmh:
   38|  96.9k|    {
   39|  96.9k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE4lineEv:
  113|  3.72k|    {
  114|  3.72k|        return 0;
  115|  3.72k|    }
_ZNK8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE6columnEv:
  118|  3.72k|    {
  119|  3.72k|        return source_.position();
  120|  3.72k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE5resetEv:
   86|  3.74k|    {
   87|  3.74k|        more_ = true;
   88|  3.74k|        done_ = false;
   89|  3.74k|        bytes_buffer_.clear();
   90|  3.74k|        text_buffer_.clear();
   91|  3.74k|        state_stack_.clear();
   92|  3.74k|        state_stack_.emplace_back(parse_mode::root,0,0);
   93|  3.74k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE5parseERNS_18basic_json_visitorIcEERNS4_10error_codeE:
  132|  3.74k|    {
  133|  3.74k|        if (JSONCONS_UNLIKELY(source_.is_error()))
  ------------------
  |  |   45|  3.74k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 0, False: 3.74k]
  |  |  ------------------
  ------------------
  134|      0|        {
  135|      0|            ec = bson_errc::source_error;
  136|      0|            more_ = false;
  137|      0|            return;
  138|      0|        }
  139|       |        
  140|  33.9M|        while (!done_ && more_)
  ------------------
  |  Branch (140:16): [True: 33.9M, False: 0]
  |  Branch (140:26): [True: 33.8M, False: 2.92k]
  ------------------
  141|  33.8M|        {
  142|  33.8M|            switch (state_stack_.back().mode)
  ------------------
  |  Branch (142:21): [True: 0, False: 33.8M]
  ------------------
  143|  33.8M|            {
  144|  3.74k|                case parse_mode::root:
  ------------------
  |  Branch (144:17): [True: 3.74k, False: 33.8M]
  ------------------
  145|  3.74k|                    state_stack_.back().mode = parse_mode::accept;
  146|  3.74k|                    begin_document(visitor, ec);
  147|  3.74k|                    break;
  148|  11.4M|                case parse_mode::document:
  ------------------
  |  Branch (148:17): [True: 11.4M, False: 22.4M]
  ------------------
  149|  11.4M|                {
  150|  11.4M|                    uint8_t type;
  151|  11.4M|                    std::size_t n = source_.read(&type, 1);
  152|  11.4M|                    state_stack_.back().pos += n;
  153|  11.4M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   45|  11.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 702, False: 11.4M]
  |  |  ------------------
  ------------------
  154|    702|                    {
  155|    702|                        ec = bson_errc::unexpected_eof;
  156|    702|                        more_ = false;
  157|    702|                        return;
  158|    702|                    }
  159|  11.4M|                    if (type != 0x00)
  ------------------
  |  Branch (159:25): [True: 11.4M, False: 44.2k]
  ------------------
  160|  11.4M|                    {
  161|  11.4M|                        read_e_name(visitor,jsoncons::bson::bson_container_type::document,ec);
  162|  11.4M|                        state_stack_.back().mode = parse_mode::value;
  163|  11.4M|                        state_stack_.back().type = type;
  164|  11.4M|                    }
  165|  44.2k|                    else
  166|  44.2k|                    {
  167|  44.2k|                        end_document(visitor,ec);
  168|  44.2k|                    }
  169|  11.4M|                    break;
  170|  11.4M|                }
  171|  11.0M|                case parse_mode::array:
  ------------------
  |  Branch (171:17): [True: 11.0M, False: 22.8M]
  ------------------
  172|  11.0M|                {
  173|  11.0M|                    uint8_t type;
  174|  11.0M|                    std::size_t n = source_.read(&type, 1);
  175|  11.0M|                    state_stack_.back().pos += n;
  176|  11.0M|                    if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   45|  11.0M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 111, False: 11.0M]
  |  |  ------------------
  ------------------
  177|    111|                    {
  178|    111|                        ec = bson_errc::unexpected_eof;
  179|    111|                        more_ = false;
  180|    111|                        return;
  181|    111|                    }
  182|  11.0M|                    if (type != 0x00)
  ------------------
  |  Branch (182:25): [True: 11.0M, False: 7.32k]
  ------------------
  183|  11.0M|                    {
  184|  11.0M|                        read_e_name(visitor,jsoncons::bson::bson_container_type::array,ec);
  185|  11.0M|                        read_value(visitor, type, ec);
  186|  11.0M|                    }
  187|  7.32k|                    else
  188|  7.32k|                    {
  189|  7.32k|                        end_array(visitor,ec);
  190|  7.32k|                    }
  191|  11.0M|                    break;
  192|  11.0M|                }
  193|  11.4M|                case parse_mode::value:
  ------------------
  |  Branch (193:17): [True: 11.4M, False: 22.4M]
  ------------------
  194|  11.4M|                    state_stack_.back().mode = parse_mode::document;
  195|  11.4M|                    read_value(visitor,state_stack_.back().type,ec);
  196|  11.4M|                    break;
  197|      0|                case parse_mode::accept:
  ------------------
  |  Branch (197:17): [True: 0, False: 33.8M]
  ------------------
  198|      0|                {
  199|      0|                    JSONCONS_ASSERT(state_stack_.size() == 1);
  ------------------
  |  |  378|      0|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 0]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  200|      0|                    state_stack_.clear();
  201|      0|                    more_ = false;
  202|      0|                    done_ = true;
  203|      0|                    visitor.flush();
  204|      0|                    break;
  205|      0|                }
  206|  33.8M|            }
  207|  33.8M|        }
  208|  3.74k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE14begin_documentERNS_18basic_json_visitorIcEERNS4_10error_codeE:
  213|  52.4k|    {
  214|  52.4k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > options_.max_nesting_depth()))
  ------------------
  |  |   45|  52.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 1, False: 52.4k]
  |  |  ------------------
  ------------------
  215|      1|        {
  216|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  217|      1|            more_ = false;
  218|      1|            return;
  219|      1|        } 
  220|       |
  221|  52.4k|        uint8_t buf[sizeof(int32_t)]; 
  222|  52.4k|        size_t n = source_.read(buf, sizeof(int32_t));
  223|  52.4k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   45|  52.4k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 31, False: 52.4k]
  |  |  ------------------
  ------------------
  224|     31|        {
  225|     31|            ec = bson_errc::unexpected_eof;
  226|     31|            more_ = false;
  227|     31|            return;
  228|     31|        }
  229|       |
  230|  52.4k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  231|       |
  232|  52.4k|        more_ = visitor.begin_object(semantic_tag::none, *this, ec);
  233|  52.4k|        state_stack_.emplace_back(parse_mode::document,length,n);
  234|  52.4k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE11read_e_nameERNS_18basic_json_visitorIcEENS0_19bson_container_typeERNS4_10error_codeE:
  295|  22.4M|    {
  296|  22.4M|        text_buffer_.clear();
  297|  22.4M|        read_cstring(ec);
  298|  22.4M|        if (ec)
  ------------------
  |  Branch (298:13): [True: 121, False: 22.4M]
  ------------------
  299|    121|        {
  300|    121|            return;
  301|    121|        }
  302|  22.4M|        if (type == jsoncons::bson::bson_container_type::document)
  ------------------
  |  Branch (302:13): [True: 11.4M, False: 11.0M]
  ------------------
  303|  11.4M|        {
  304|  11.4M|            auto result = unicode_traits::validate(text_buffer_.data(),text_buffer_.size());
  305|  11.4M|            if (JSONCONS_UNLIKELY(result.ec != unicode_traits::conv_errc()))
  ------------------
  |  |   45|  11.4M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 78, False: 11.4M]
  |  |  ------------------
  ------------------
  306|     78|            {
  307|     78|                ec = bson_errc::invalid_utf8_text_string;
  308|     78|                more_ = false;
  309|     78|                return;
  310|     78|            }
  311|  11.4M|            more_ = visitor.key(jsoncons::basic_string_view<char>(text_buffer_.data(),text_buffer_.length()), *this, ec);
  312|  11.4M|        }
  313|  22.4M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE12read_cstringERNS4_10error_codeE:
  583|  22.5M|    {
  584|  22.5M|        uint8_t c = 0xff;
  585|  43.8M|        while (true)
  ------------------
  |  Branch (585:16): [Folded - Ignored]
  ------------------
  586|  43.8M|        {
  587|  43.8M|            std::size_t n = source_.read(&c, 1);
  588|  43.8M|            state_stack_.back().pos += n;
  589|  43.8M|            if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   45|  43.8M|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 174, False: 43.8M]
  |  |  ------------------
  ------------------
  590|    174|            {
  591|    174|                ec = bson_errc::unexpected_eof;
  592|    174|                more_ = false;
  593|    174|                return;
  594|    174|            }
  595|  43.8M|            if (c == 0)
  ------------------
  |  Branch (595:17): [True: 22.5M, False: 21.3M]
  ------------------
  596|  22.5M|            {
  597|  22.5M|                break;
  598|  22.5M|            }
  599|  21.3M|            text_buffer_.push_back(c);
  600|  21.3M|        }
  601|  22.5M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE12end_documentERNS_18basic_json_visitorIcEERNS4_10error_codeE:
  237|  44.2k|    {
  238|  44.2k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |  378|  44.2k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 44.2k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  239|       |
  240|  44.2k|        more_ = visitor.end_object(*this,ec);
  241|  44.2k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   45|  44.2k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 1.59k, False: 42.6k]
  |  |  ------------------
  ------------------
  242|  1.59k|        {
  243|  1.59k|            ec = bson_errc::size_mismatch;
  244|  1.59k|            more_ = false;
  245|  1.59k|            return;
  246|  1.59k|        }
  247|  42.6k|        std::size_t pos = state_stack_.back().pos;
  248|  42.6k|        state_stack_.pop_back();
  249|  42.6k|        state_stack_.back().pos += pos;
  250|  42.6k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE10read_valueERNS_18basic_json_visitorIcEEhRNS4_10error_codeE:
  316|  22.4M|    {
  317|  22.4M|        switch (type)
  318|  22.4M|        {
  319|  42.5k|            case jsoncons::bson::bson_type::double_type:
  ------------------
  |  Branch (319:13): [True: 42.5k, False: 22.3M]
  ------------------
  320|  42.5k|            {
  321|  42.5k|                uint8_t buf[sizeof(double)]; 
  322|  42.5k|                std::size_t n = source_.read(buf, sizeof(double));
  323|  42.5k|                state_stack_.back().pos += n;
  324|  42.5k|                if (JSONCONS_UNLIKELY(n != sizeof(double)))
  ------------------
  |  |   45|  42.5k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 12, False: 42.4k]
  |  |  ------------------
  ------------------
  325|     12|                {
  326|     12|                    ec = bson_errc::unexpected_eof;
  327|     12|                    more_ = false;
  328|     12|                    return;
  329|     12|                }
  330|  42.4k|                double res = binary::little_to_native<double>(buf, sizeof(buf));
  331|  42.4k|                more_ = visitor.double_value(res, semantic_tag::none, *this, ec);
  332|  42.4k|                break;
  333|  42.5k|            }
  334|    380|            case jsoncons::bson::bson_type::symbol_type:
  ------------------
  |  Branch (334:13): [True: 380, False: 22.4M]
  ------------------
  335|    992|            case jsoncons::bson::bson_type::min_key_type:
  ------------------
  |  Branch (335:13): [True: 612, False: 22.4M]
  ------------------
  336|  1.25k|            case jsoncons::bson::bson_type::max_key_type:
  ------------------
  |  Branch (336:13): [True: 264, False: 22.4M]
  ------------------
  337|  2.53k|            case jsoncons::bson::bson_type::string_type:
  ------------------
  |  Branch (337:13): [True: 1.28k, False: 22.4M]
  ------------------
  338|  2.53k|            {
  339|  2.53k|                text_buffer_.clear();
  340|  2.53k|                read_string(ec);
  341|  2.53k|                if (ec)
  ------------------
  |  Branch (341:21): [True: 202, False: 2.33k]
  ------------------
  342|    202|                {
  343|    202|                    return;
  344|    202|                }
  345|  2.33k|                auto result = unicode_traits::validate(text_buffer_.data(), text_buffer_.size());
  346|  2.33k|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::conv_errc()))
  ------------------
  |  |   45|  2.33k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 27, False: 2.30k]
  |  |  ------------------
  ------------------
  347|     27|                {
  348|     27|                    ec = bson_errc::invalid_utf8_text_string;
  349|     27|                    more_ = false;
  350|     27|                    return;
  351|     27|                }
  352|  2.30k|                more_ = visitor.string_value(text_buffer_, semantic_tag::none, *this, ec);
  353|  2.30k|                break;
  354|  2.33k|            }
  355|    950|            case jsoncons::bson::bson_type::javascript_type:
  ------------------
  |  Branch (355:13): [True: 950, False: 22.4M]
  ------------------
  356|    950|            {
  357|    950|                text_buffer_.clear();
  358|    950|                read_string(ec);
  359|    950|                if (ec)
  ------------------
  |  Branch (359:21): [True: 53, False: 897]
  ------------------
  360|     53|                {
  361|     53|                    return;
  362|     53|                }
  363|    897|                auto result = unicode_traits::validate(text_buffer_.data(), text_buffer_.size());
  364|    897|                if (JSONCONS_UNLIKELY(result.ec != unicode_traits::conv_errc()))
  ------------------
  |  |   45|    897|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 27, False: 870]
  |  |  ------------------
  ------------------
  365|     27|                {
  366|     27|                    ec = bson_errc::invalid_utf8_text_string;
  367|     27|                    more_ = false;
  368|     27|                    return;
  369|     27|                }
  370|    870|                more_ = visitor.string_value(text_buffer_, semantic_tag::code, *this, ec);
  371|    870|                break;
  372|    897|            }
  373|  38.9k|            case jsoncons::bson::bson_type::regex_type:
  ------------------
  |  Branch (373:13): [True: 38.9k, False: 22.4M]
  ------------------
  374|  38.9k|            {
  375|  38.9k|                text_buffer_.clear();
  376|  38.9k|                text_buffer_.push_back('/');
  377|  38.9k|                read_cstring(ec);
  378|  38.9k|                if (ec)
  ------------------
  |  Branch (378:21): [True: 29, False: 38.8k]
  ------------------
  379|     29|                {
  380|     29|                    return;
  381|     29|                }
  382|  38.8k|                text_buffer_.push_back('/');
  383|  38.8k|                read_cstring(ec);
  384|  38.8k|                if (ec)
  ------------------
  |  Branch (384:21): [True: 24, False: 38.8k]
  ------------------
  385|     24|                {
  386|     24|                    return;
  387|     24|                }
  388|  38.8k|                more_ = visitor.string_value(text_buffer_, semantic_tag::regex, *this, ec);
  389|  38.8k|                break;
  390|  38.8k|            }
  391|  48.7k|            case jsoncons::bson::bson_type::document_type: 
  ------------------
  |  Branch (391:13): [True: 48.7k, False: 22.3M]
  ------------------
  392|  48.7k|            {
  393|  48.7k|                begin_document(visitor,ec);
  394|  48.7k|                break;
  395|  38.8k|            }
  396|       |
  397|  37.0k|            case jsoncons::bson::bson_type::array_type: 
  ------------------
  |  Branch (397:13): [True: 37.0k, False: 22.4M]
  ------------------
  398|  37.0k|            {
  399|  37.0k|                begin_array(visitor,ec);
  400|  37.0k|                break;
  401|  38.8k|            }
  402|  89.0k|            case jsoncons::bson::bson_type::undefined_type: 
  ------------------
  |  Branch (402:13): [True: 89.0k, False: 22.3M]
  ------------------
  403|  89.0k|                {
  404|  89.0k|                    more_ = visitor.null_value(semantic_tag::undefined, *this, ec);
  405|  89.0k|                    break;
  406|  38.8k|                }
  407|  21.6M|            case jsoncons::bson::bson_type::null_type: 
  ------------------
  |  Branch (407:13): [True: 21.6M, False: 755k]
  ------------------
  408|  21.6M|            {
  409|  21.6M|                more_ = visitor.null_value(semantic_tag::none, *this, ec);
  410|  21.6M|                break;
  411|  38.8k|            }
  412|   177k|            case jsoncons::bson::bson_type::bool_type:
  ------------------
  |  Branch (412:13): [True: 177k, False: 22.2M]
  ------------------
  413|   177k|            {
  414|   177k|                uint8_t c;
  415|   177k|                std::size_t n = source_.read(&c, 1);
  416|   177k|                state_stack_.back().pos += n;
  417|   177k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   45|   177k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 4, False: 177k]
  |  |  ------------------
  ------------------
  418|      4|                {
  419|      4|                    ec = bson_errc::unexpected_eof;
  420|      4|                    more_ = false;
  421|      4|                    return;
  422|      4|                }
  423|   177k|                more_ = visitor.bool_value(c != 0, semantic_tag::none, *this, ec);
  424|   177k|                break;
  425|   177k|            }
  426|   189k|            case jsoncons::bson::bson_type::int32_type: 
  ------------------
  |  Branch (426:13): [True: 189k, False: 22.2M]
  ------------------
  427|   189k|            {
  428|   189k|                uint8_t buf[sizeof(int32_t)]; 
  429|   189k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  430|   189k|                state_stack_.back().pos += n;
  431|   189k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   45|   189k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 7, False: 189k]
  |  |  ------------------
  ------------------
  432|      7|                {
  433|      7|                    ec = bson_errc::unexpected_eof;
  434|      7|                    more_ = false;
  435|      7|                    return;
  436|      7|                }
  437|   189k|                auto val = binary::little_to_native<int32_t>(buf, sizeof(buf));
  438|   189k|                more_ = visitor.int64_value(val, semantic_tag::none, *this, ec);
  439|   189k|                break;
  440|   189k|            }
  441|       |
  442|  30.8k|            case jsoncons::bson::bson_type::timestamp_type: 
  ------------------
  |  Branch (442:13): [True: 30.8k, False: 22.4M]
  ------------------
  443|  30.8k|            {
  444|  30.8k|                uint8_t buf[sizeof(uint64_t)]; 
  445|  30.8k|                std::size_t n = source_.read(buf, sizeof(uint64_t));
  446|  30.8k|                state_stack_.back().pos += n;
  447|  30.8k|                if (JSONCONS_UNLIKELY(n != sizeof(uint64_t)))
  ------------------
  |  |   45|  30.8k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 9, False: 30.8k]
  |  |  ------------------
  ------------------
  448|      9|                {
  449|      9|                    ec = bson_errc::unexpected_eof;
  450|      9|                    more_ = false;
  451|      9|                    return;
  452|      9|                }
  453|  30.8k|                auto val = binary::little_to_native<uint64_t>(buf, sizeof(buf));
  454|  30.8k|                more_ = visitor.uint64_value(val, semantic_tag::none, *this, ec);
  455|  30.8k|                break;
  456|  30.8k|            }
  457|       |
  458|  3.22k|            case jsoncons::bson::bson_type::int64_type: 
  ------------------
  |  Branch (458:13): [True: 3.22k, False: 22.4M]
  ------------------
  459|  3.22k|            {
  460|  3.22k|                uint8_t buf[sizeof(int64_t)]; 
  461|  3.22k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  462|  3.22k|                state_stack_.back().pos += n;
  463|  3.22k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   45|  3.22k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 6, False: 3.22k]
  |  |  ------------------
  ------------------
  464|      6|                {
  465|      6|                    ec = bson_errc::unexpected_eof;
  466|      6|                    more_ = false;
  467|      6|                    return;
  468|      6|                }
  469|  3.22k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  470|  3.22k|                more_ = visitor.int64_value(val, semantic_tag::none, *this, ec);
  471|  3.22k|                break;
  472|  3.22k|            }
  473|       |
  474|  10.3k|            case jsoncons::bson::bson_type::datetime_type: 
  ------------------
  |  Branch (474:13): [True: 10.3k, False: 22.4M]
  ------------------
  475|  10.3k|            {
  476|  10.3k|                uint8_t buf[sizeof(int64_t)]; 
  477|  10.3k|                std::size_t n = source_.read(buf, sizeof(int64_t));
  478|  10.3k|                state_stack_.back().pos += n;
  479|  10.3k|                if (JSONCONS_UNLIKELY(n != sizeof(int64_t)))
  ------------------
  |  |   45|  10.3k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 11, False: 10.3k]
  |  |  ------------------
  ------------------
  480|     11|                {
  481|     11|                    ec = bson_errc::unexpected_eof;
  482|     11|                    more_ = false;
  483|     11|                    return;
  484|     11|                }
  485|  10.3k|                auto val = binary::little_to_native<int64_t>(buf, sizeof(buf));
  486|  10.3k|                more_ = visitor.int64_value(val, semantic_tag::epoch_milli, *this, ec);
  487|  10.3k|                break;
  488|  10.3k|            }
  489|  16.7k|            case jsoncons::bson::bson_type::binary_type: 
  ------------------
  |  Branch (489:13): [True: 16.7k, False: 22.4M]
  ------------------
  490|  16.7k|            {
  491|  16.7k|                uint8_t buf[sizeof(int32_t)]; 
  492|  16.7k|                std::size_t n = source_.read(buf, sizeof(int32_t));
  493|  16.7k|                state_stack_.back().pos += n;
  494|  16.7k|                if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   45|  16.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 8, False: 16.7k]
  |  |  ------------------
  ------------------
  495|      8|                {
  496|      8|                    ec = bson_errc::unexpected_eof;
  497|      8|                    more_ = false;
  498|      8|                    return;
  499|      8|                }
  500|  16.7k|                const auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  501|  16.7k|                if (JSONCONS_UNLIKELY(len < 0))
  ------------------
  |  |   45|  16.7k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 36, False: 16.6k]
  |  |  ------------------
  ------------------
  502|     36|                {
  503|     36|                    ec = bson_errc::length_is_negative;
  504|     36|                    more_ = false;
  505|     36|                    return;
  506|     36|                }
  507|  16.6k|                uint8_t subtype;
  508|  16.6k|                n = source_.read(&subtype, 1);
  509|  16.6k|                state_stack_.back().pos += n;
  510|  16.6k|                if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   45|  16.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 12, False: 16.6k]
  |  |  ------------------
  ------------------
  511|     12|                {
  512|     12|                    ec = bson_errc::unexpected_eof;
  513|     12|                    more_ = false;
  514|     12|                    return;
  515|     12|                }
  516|       |
  517|  16.6k|                bytes_buffer_.clear();
  518|  16.6k|                n = source_reader<Source>::read(source_, bytes_buffer_, len);
  519|  16.6k|                state_stack_.back().pos += n;
  520|  16.6k|                if (JSONCONS_UNLIKELY(n != static_cast<std::size_t>(len)))
  ------------------
  |  |   45|  16.6k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 225, False: 16.4k]
  |  |  ------------------
  ------------------
  521|    225|                {
  522|    225|                    ec = bson_errc::unexpected_eof;
  523|    225|                    more_ = false;
  524|    225|                    return;
  525|    225|                }
  526|       |
  527|  16.4k|                more_ = visitor.byte_string_value(bytes_buffer_, 
  528|  16.4k|                                                  subtype, 
  529|  16.4k|                                                  *this,
  530|  16.4k|                                                  ec);
  531|  16.4k|                break;
  532|  16.6k|            }
  533|  7.42k|            case jsoncons::bson::bson_type::decimal128_type: 
  ------------------
  |  Branch (533:13): [True: 7.42k, False: 22.4M]
  ------------------
  534|  7.42k|            {
  535|  7.42k|                uint8_t buf[sizeof(uint64_t)*2]; 
  536|  7.42k|                std::size_t n = source_.read(buf, sizeof(buf));
  537|  7.42k|                state_stack_.back().pos += n;
  538|  7.42k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   45|  7.42k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 15, False: 7.40k]
  |  |  ------------------
  ------------------
  539|     15|                {
  540|     15|                    ec = bson_errc::unexpected_eof;
  541|     15|                    more_ = false;
  542|     15|                    return;
  543|     15|                }
  544|       |
  545|  7.40k|                decimal128_t dec;
  546|  7.40k|                dec.low = binary::little_to_native<uint64_t>(buf, sizeof(uint64_t));
  547|  7.40k|                dec.high = binary::little_to_native<uint64_t>(buf+sizeof(uint64_t), sizeof(uint64_t));
  548|       |
  549|  7.40k|                text_buffer_.clear();
  550|  7.40k|                text_buffer_.resize(bson::decimal128_limits::buf_size);
  551|  7.40k|                auto r = bson::decimal128_to_chars(&text_buffer_[0], &text_buffer_[0]+text_buffer_.size(), dec);
  552|  7.40k|                more_ = visitor.string_value(string_view(text_buffer_.data(),static_cast<std::size_t>(r.ptr-text_buffer_.data())), semantic_tag::float128, *this, ec);
  553|  7.40k|                break;
  554|  7.42k|            }
  555|  60.1k|            case jsoncons::bson::bson_type::object_id_type: 
  ------------------
  |  Branch (555:13): [True: 60.1k, False: 22.3M]
  ------------------
  556|  60.1k|            {
  557|  60.1k|                uint8_t buf[12]; 
  558|  60.1k|                std::size_t n = source_.read(buf, sizeof(buf));
  559|  60.1k|                state_stack_.back().pos += n;
  560|  60.1k|                if (JSONCONS_UNLIKELY(n != sizeof(buf)))
  ------------------
  |  |   45|  60.1k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 9, False: 60.1k]
  |  |  ------------------
  ------------------
  561|      9|                {
  562|      9|                    ec = bson_errc::unexpected_eof;
  563|      9|                    more_ = false;
  564|      9|                    return;
  565|      9|                }
  566|       |
  567|  60.1k|                oid_t oid(buf);
  568|  60.1k|                to_string(oid, text_buffer_);
  569|       |
  570|  60.1k|                more_ = visitor.string_value(text_buffer_, semantic_tag::id, *this, ec);
  571|  60.1k|                break;
  572|  60.1k|            }
  573|     87|            default:
  ------------------
  |  Branch (573:13): [True: 87, False: 22.4M]
  ------------------
  574|     87|            {
  575|     87|                ec = bson_errc::unknown_type;
  576|     87|                more_ = false;
  577|     87|                return;
  578|  60.1k|            }
  579|  22.4M|        }
  580|  22.4M|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE11read_stringERNS4_10error_codeE:
  604|  3.48k|    {
  605|  3.48k|        uint8_t buf[sizeof(int32_t)]; 
  606|  3.48k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  607|  3.48k|        state_stack_.back().pos += n;
  608|  3.48k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   45|  3.48k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 65, False: 3.42k]
  |  |  ------------------
  ------------------
  609|     65|        {
  610|     65|            ec = bson_errc::unexpected_eof;
  611|     65|            more_ = false;
  612|     65|            return;
  613|     65|        }
  614|  3.42k|        auto len = binary::little_to_native<int32_t>(buf, sizeof(buf));
  615|  3.42k|        if (JSONCONS_UNLIKELY(len < 1))
  ------------------
  |  |   45|  3.42k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 35, False: 3.38k]
  |  |  ------------------
  ------------------
  616|     35|        {
  617|     35|            ec = bson_errc::string_length_is_non_positive;
  618|     35|            more_ = false;
  619|     35|            return;
  620|     35|        }
  621|       |
  622|  3.38k|        std::size_t size = static_cast<std::size_t>(len) - static_cast<std::size_t>(1);
  623|  3.38k|        n = source_reader<Source>::read(source_, text_buffer_, size);
  624|  3.38k|        state_stack_.back().pos += n;
  625|       |
  626|  3.38k|        if (JSONCONS_UNLIKELY(n != size))
  ------------------
  |  |   45|  3.38k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 132, False: 3.25k]
  |  |  ------------------
  ------------------
  627|    132|        {
  628|    132|            ec = bson_errc::unexpected_eof;
  629|    132|            more_ = false;
  630|    132|            return;
  631|    132|        }
  632|  3.25k|        uint8_t c;
  633|  3.25k|        n = source_.read(&c, 1);
  634|  3.25k|        state_stack_.back().pos += n;
  635|  3.25k|        if (JSONCONS_UNLIKELY(n != 1))
  ------------------
  |  |   45|  3.25k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 23, False: 3.23k]
  |  |  ------------------
  ------------------
  636|     23|        {
  637|     23|            ec = bson_errc::unexpected_eof;
  638|     23|            more_ = false;
  639|     23|            return;
  640|     23|        }
  641|  3.25k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE11begin_arrayERNS_18basic_json_visitorIcEERNS4_10error_codeE:
  253|  37.0k|    {
  254|  37.0k|        if (JSONCONS_UNLIKELY(static_cast<int>(state_stack_.size()) > options_.max_nesting_depth()))
  ------------------
  |  |   45|  37.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 1, False: 37.0k]
  |  |  ------------------
  ------------------
  255|      1|        {
  256|      1|            ec = bson_errc::max_nesting_depth_exceeded;
  257|      1|            more_ = false;
  258|      1|            return;
  259|      1|        } 
  260|  37.0k|        uint8_t buf[sizeof(int32_t)]; 
  261|  37.0k|        std::size_t n = source_.read(buf, sizeof(int32_t));
  262|  37.0k|        if (JSONCONS_UNLIKELY(n != sizeof(int32_t)))
  ------------------
  |  |   45|  37.0k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 27, False: 37.0k]
  |  |  ------------------
  ------------------
  263|     27|        {
  264|     27|            ec = bson_errc::unexpected_eof;
  265|     27|            more_ = false;
  266|     27|            return;
  267|     27|        }
  268|  37.0k|        auto length = binary::little_to_native<int32_t>(buf, sizeof(buf));
  269|       |
  270|  37.0k|        more_ = visitor.begin_array(semantic_tag::none, *this, ec);
  271|  37.0k|        if (ec)
  ------------------
  |  Branch (271:13): [True: 0, False: 37.0k]
  ------------------
  272|      0|        {
  273|      0|            return;
  274|      0|        }
  275|  37.0k|        state_stack_.emplace_back(parse_mode::array, length, n);
  276|  37.0k|    }
_ZN8jsoncons4bson17basic_bson_parserINS_13stream_sourceIhEENSt3__19allocatorIcEEE9end_arrayERNS_18basic_json_visitorIcEERNS4_10error_codeE:
  279|  7.32k|    {
  280|  7.32k|        JSONCONS_ASSERT(state_stack_.size() >= 2);
  ------------------
  |  |  378|  7.32k|#define JSONCONS_ASSERT(x) if (!(x)) { \
  |  |  ------------------
  |  |  |  Branch (378:32): [True: 0, False: 7.32k]
  |  |  ------------------
  |  |  379|      0|    JSONCONS_THROW(jsoncons::assertion_error("assertion '" #x "' failed at  <> :" \
  |  |  ------------------
  |  |  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  |  |  ------------------
  |  |  380|      0|            JSONCONS_STR( 0 ))); }
  ------------------
  281|       |
  282|  7.32k|        more_ = visitor.end_array(*this, ec);
  283|  7.32k|        if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
  ------------------
  |  |   45|  7.32k|#define JSONCONS_UNLIKELY(x) __builtin_expect(!!(x), 0)
  |  |  ------------------
  |  |  |  Branch (45:30): [True: 312, False: 7.01k]
  |  |  ------------------
  ------------------
  284|    312|        {
  285|    312|            ec = bson_errc::size_mismatch;
  286|    312|            more_ = false;
  287|    312|            return;
  288|    312|        }
  289|  7.01k|        std::size_t pos = state_stack_.back().pos;
  290|  7.01k|        state_stack_.pop_back();
  291|  7.01k|        state_stack_.back().pos += pos;
  292|  7.01k|    }

_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhEENSt3__19allocatorIcEEEC2IRNS4_13basic_istreamIcNS4_11char_traitsIcEEEEEEOT_RNS_18basic_json_visitorIcEERKNS0_19bson_decode_optionsERKS6_:
   48|  3.74k|    {
   49|  3.74k|    }
_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhEENSt3__19allocatorIcEEE4readEv:
   52|  3.74k|    {
   53|  3.74k|        std::error_code ec;
   54|  3.74k|        read(ec);
   55|  3.74k|        if (ec)
  ------------------
  |  Branch (55:13): [True: 3.72k, False: 14]
  ------------------
   56|  3.72k|        {
   57|  3.72k|            JSONCONS_THROW(ser_error(ec,line(),column()));
  ------------------
  |  |  237|  3.72k|    #define JSONCONS_THROW(exception) throw exception
  ------------------
   58|  3.72k|        }
   59|  3.74k|    }
_ZN8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhEENSt3__19allocatorIcEEE4readERNS4_10error_codeE:
   62|  3.74k|    {
   63|  3.74k|        parser_.reset();
   64|  3.74k|        parser_.parse(visitor_, ec);
   65|  3.74k|        if (ec)
  ------------------
  |  Branch (65:13): [True: 3.72k, False: 14]
  ------------------
   66|  3.72k|        {
   67|  3.72k|            return;
   68|  3.72k|        }
   69|  3.74k|    }
_ZNK8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhEENSt3__19allocatorIcEEE4lineEv:
   72|  3.72k|    {
   73|  3.72k|        return parser_.line();
   74|  3.72k|    }
_ZNK8jsoncons4bson17basic_bson_readerINS_13stream_sourceIhEENSt3__19allocatorIcEEE6columnEv:
   77|  3.72k|    {
   78|  3.72k|        return parser_.column();
   79|  3.72k|    }

_ZN8jsoncons4bson11decode_bsonINS_10basic_jsonIcNS_13sorted_policyENSt3__19allocatorIcEEEEEENS4_9enable_ifIXsr16extension_traits13is_basic_jsonIT_EE5valueES9_E4typeERNS4_13basic_istreamIcNS4_11char_traitsIcEEEERKNS0_19bson_decode_optionsE:
   63|  3.74k|    {
   64|  3.74k|        jsoncons::json_decoder<T> decoder;
   65|  3.74k|        auto adaptor = make_json_visitor_adaptor<json_visitor>(decoder);
   66|  3.74k|        bson_stream_reader reader(is, adaptor, options);
   67|  3.74k|        reader.read();
   68|  3.74k|        if (!decoder.is_valid())
  ------------------
  |  Branch (68:13): [True: 0, False: 3.74k]
  ------------------
   69|      0|        {
   70|      0|            JSONCONS_THROW(ser_error(conv_errc::conversion_failed, reader.line(), reader.column()));
  ------------------
  |  |  237|      0|    #define JSONCONS_THROW(exception) throw exception
  ------------------
   71|      0|        }
   72|  3.74k|        return decoder.get_result();
   73|  3.74k|    }

