LLVMFuzzerTestOneInput:
   18|  9.07k|{
   19|  9.07k|    constexpr auto var_count = 8;
   20|  9.07k|    constexpr auto bits      = 2;
   21|       |
   22|  9.07k|    using vector_t =
   23|  9.07k|        immer::flex_vector<int, immer::default_memory_policy, bits, bits>;
   24|  9.07k|    using size_t = std::uint8_t;
   25|       |
   26|  9.07k|    auto vars = std::array<vector_t, var_count>{};
   27|       |
   28|  9.07k|    auto is_valid_var = [&](auto idx) { return idx >= 0 && idx < var_count; };
   29|  9.07k|    auto is_valid_var_neq = [](auto other) {
   30|  9.07k|        return [=](auto idx) {
   31|  9.07k|            return idx >= 0 && idx < var_count && idx != other;
   32|  9.07k|        };
   33|  9.07k|    };
   34|  9.07k|    auto is_valid_index = [](auto& v) {
   35|  9.07k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
   36|  9.07k|    };
   37|  9.07k|    auto is_valid_size = [](auto& v) {
   38|  9.07k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
   39|  9.07k|    };
   40|  9.07k|    auto can_concat = [](auto&& v1, auto&& v2) {
   41|  9.07k|        return v1.size() + v2.size() < vector_t::max_size();
   42|  9.07k|    };
   43|  9.07k|    auto can_compare = [](auto&& v) {
   44|       |        // avoid comparing vectors that are too big, and hence, slow to compare
   45|  9.07k|        return v.size() < (1 << 15);
   46|  9.07k|    };
   47|  9.07k|    return fuzzer_input{data, size}.run([&](auto& in) {
   48|  9.07k|        enum ops
   49|  9.07k|        {
   50|  9.07k|            op_push_back,
   51|  9.07k|            op_update,
   52|  9.07k|            op_take,
   53|  9.07k|            op_drop,
   54|  9.07k|            op_concat,
   55|  9.07k|            op_push_back_move,
   56|  9.07k|            op_update_move,
   57|  9.07k|            op_take_move,
   58|  9.07k|            op_drop_move,
   59|  9.07k|            op_concat_move_l,
   60|  9.07k|            op_concat_move_r,
   61|  9.07k|            op_concat_move_lr,
   62|  9.07k|            op_insert,
   63|  9.07k|            op_erase,
   64|  9.07k|            op_compare,
   65|  9.07k|        };
   66|  9.07k|        auto src = read<char>(in, is_valid_var);
   67|  9.07k|        auto dst = read<char>(in, is_valid_var);
   68|  9.07k|        switch (read<char>(in)) {
   69|  9.07k|        case op_push_back: {
   70|  9.07k|            vars[dst] = vars[src].push_back(42);
   71|  9.07k|            break;
   72|  9.07k|        }
   73|  9.07k|        case op_update: {
   74|  9.07k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
   75|  9.07k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
   76|  9.07k|            break;
   77|  9.07k|        }
   78|  9.07k|        case op_take: {
   79|  9.07k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   80|  9.07k|            vars[dst] = vars[src].take(idx);
   81|  9.07k|            break;
   82|  9.07k|        }
   83|  9.07k|        case op_drop: {
   84|  9.07k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   85|  9.07k|            vars[dst] = vars[src].drop(idx);
   86|  9.07k|            break;
   87|  9.07k|        }
   88|  9.07k|        case op_concat: {
   89|  9.07k|            auto src2 = read<char>(in, is_valid_var);
   90|  9.07k|            if (can_concat(vars[src], vars[src2]))
   91|  9.07k|                vars[dst] = vars[src] + vars[src2];
   92|  9.07k|            break;
   93|  9.07k|        }
   94|  9.07k|        case op_push_back_move: {
   95|  9.07k|            vars[dst] = std::move(vars[src]).push_back(21);
   96|  9.07k|            break;
   97|  9.07k|        }
   98|  9.07k|        case op_update_move: {
   99|  9.07k|            auto idx = read<size_t>(in, is_valid_index(vars[src]));
  100|  9.07k|            vars[dst] =
  101|  9.07k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
  102|  9.07k|            break;
  103|  9.07k|        }
  104|  9.07k|        case op_take_move: {
  105|  9.07k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  106|  9.07k|            vars[dst] = std::move(vars[src]).take(idx);
  107|  9.07k|            break;
  108|  9.07k|        }
  109|  9.07k|        case op_drop_move: {
  110|  9.07k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  111|  9.07k|            vars[dst] = std::move(vars[src]).drop(idx);
  112|  9.07k|            break;
  113|  9.07k|        }
  114|  9.07k|        case op_concat_move_l: {
  115|  9.07k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  116|  9.07k|            if (can_concat(vars[src], vars[src2]))
  117|  9.07k|                vars[dst] = std::move(vars[src]) + vars[src2];
  118|  9.07k|            break;
  119|  9.07k|        }
  120|  9.07k|        case op_concat_move_r: {
  121|  9.07k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  122|  9.07k|            if (can_concat(vars[src], vars[src2]))
  123|  9.07k|                vars[dst] = vars[src] + std::move(vars[src2]);
  124|  9.07k|            break;
  125|  9.07k|        }
  126|  9.07k|        case op_concat_move_lr: {
  127|  9.07k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  128|  9.07k|            if (can_concat(vars[src], vars[src2]))
  129|  9.07k|                vars[dst] = std::move(vars[src]) + std::move(vars[src2]);
  130|  9.07k|            break;
  131|  9.07k|        }
  132|  9.07k|        case op_compare: {
  133|  9.07k|            using std::swap;
  134|  9.07k|            if (can_compare(vars[src]) && vars[src] == vars[dst])
  135|  9.07k|                swap(vars[src], vars[dst]);
  136|  9.07k|            break;
  137|  9.07k|        }
  138|  9.07k|        case op_erase: {
  139|  9.07k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
  140|  9.07k|            vars[dst] = vars[src].erase(idx);
  141|  9.07k|            break;
  142|  9.07k|        }
  143|  9.07k|        case op_insert: {
  144|  9.07k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  145|  9.07k|            vars[dst] = vars[src].insert(idx, immer::box<int>{42});
  146|  9.07k|            break;
  147|  9.07k|        }
  148|  9.07k|        default:
  149|  9.07k|            break;
  150|  9.07k|        };
  151|  9.07k|        return true;
  152|  9.07k|    });
  153|  9.07k|}
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_:
   47|  2.11M|    return fuzzer_input{data, size}.run([&](auto& in) {
   48|  2.11M|        enum ops
   49|  2.11M|        {
   50|  2.11M|            op_push_back,
   51|  2.11M|            op_update,
   52|  2.11M|            op_take,
   53|  2.11M|            op_drop,
   54|  2.11M|            op_concat,
   55|  2.11M|            op_push_back_move,
   56|  2.11M|            op_update_move,
   57|  2.11M|            op_take_move,
   58|  2.11M|            op_drop_move,
   59|  2.11M|            op_concat_move_l,
   60|  2.11M|            op_concat_move_r,
   61|  2.11M|            op_concat_move_lr,
   62|  2.11M|            op_insert,
   63|  2.11M|            op_erase,
   64|  2.11M|            op_compare,
   65|  2.11M|        };
   66|  2.11M|        auto src = read<char>(in, is_valid_var);
   67|  2.11M|        auto dst = read<char>(in, is_valid_var);
   68|  2.11M|        switch (read<char>(in)) {
   69|   438k|        case op_push_back: {
  ------------------
  |  Branch (69:9): [True: 438k, False: 1.67M]
  ------------------
   70|   438k|            vars[dst] = vars[src].push_back(42);
   71|   438k|            break;
   72|      0|        }
   73|   112k|        case op_update: {
  ------------------
  |  Branch (73:9): [True: 112k, False: 2.00M]
  ------------------
   74|   112k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
   75|   112k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
   76|   112k|            break;
   77|      0|        }
   78|  1.86k|        case op_take: {
  ------------------
  |  Branch (78:9): [True: 1.86k, False: 2.11M]
  ------------------
   79|  1.86k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   80|  1.86k|            vars[dst] = vars[src].take(idx);
   81|  1.86k|            break;
   82|      0|        }
   83|  3.49k|        case op_drop: {
  ------------------
  |  Branch (83:9): [True: 3.49k, False: 2.11M]
  ------------------
   84|  3.49k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   85|  3.49k|            vars[dst] = vars[src].drop(idx);
   86|  3.49k|            break;
   87|      0|        }
   88|   996k|        case op_concat: {
  ------------------
  |  Branch (88:9): [True: 996k, False: 1.11M]
  ------------------
   89|   996k|            auto src2 = read<char>(in, is_valid_var);
   90|   996k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (90:17): [True: 933k, False: 63.6k]
  ------------------
   91|   933k|                vars[dst] = vars[src] + vars[src2];
   92|   996k|            break;
   93|      0|        }
   94|  13.7k|        case op_push_back_move: {
  ------------------
  |  Branch (94:9): [True: 13.7k, False: 2.10M]
  ------------------
   95|  13.7k|            vars[dst] = std::move(vars[src]).push_back(21);
   96|  13.7k|            break;
   97|      0|        }
   98|  75.8k|        case op_update_move: {
  ------------------
  |  Branch (98:9): [True: 75.8k, False: 2.03M]
  ------------------
   99|  75.8k|            auto idx = read<size_t>(in, is_valid_index(vars[src]));
  100|  75.8k|            vars[dst] =
  101|  75.8k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
  102|  75.8k|            break;
  103|      0|        }
  104|  38.4k|        case op_take_move: {
  ------------------
  |  Branch (104:9): [True: 38.4k, False: 2.07M]
  ------------------
  105|  38.4k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  106|  38.4k|            vars[dst] = std::move(vars[src]).take(idx);
  107|  38.4k|            break;
  108|      0|        }
  109|  43.2k|        case op_drop_move: {
  ------------------
  |  Branch (109:9): [True: 43.2k, False: 2.07M]
  ------------------
  110|  43.2k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  111|  43.2k|            vars[dst] = std::move(vars[src]).drop(idx);
  112|  43.2k|            break;
  113|      0|        }
  114|   286k|        case op_concat_move_l: {
  ------------------
  |  Branch (114:9): [True: 286k, False: 1.82M]
  ------------------
  115|   286k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  116|   286k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (116:17): [True: 280k, False: 6.55k]
  ------------------
  117|   280k|                vars[dst] = std::move(vars[src]) + vars[src2];
  118|   286k|            break;
  119|      0|        }
  120|  3.92k|        case op_concat_move_r: {
  ------------------
  |  Branch (120:9): [True: 3.92k, False: 2.11M]
  ------------------
  121|  3.92k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  122|  3.92k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (122:17): [True: 3.38k, False: 542]
  ------------------
  123|  3.38k|                vars[dst] = vars[src] + std::move(vars[src2]);
  124|  3.92k|            break;
  125|      0|        }
  126|  2.33k|        case op_concat_move_lr: {
  ------------------
  |  Branch (126:9): [True: 2.33k, False: 2.11M]
  ------------------
  127|  2.33k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  128|  2.33k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (128:17): [True: 1.67k, False: 663]
  ------------------
  129|  1.67k|                vars[dst] = std::move(vars[src]) + std::move(vars[src2]);
  130|  2.33k|            break;
  131|      0|        }
  132|  33.8k|        case op_compare: {
  ------------------
  |  Branch (132:9): [True: 33.8k, False: 2.08M]
  ------------------
  133|  33.8k|            using std::swap;
  134|  33.8k|            if (can_compare(vars[src]) && vars[src] == vars[dst])
  ------------------
  |  Branch (134:17): [True: 30.4k, False: 3.41k]
  |  Branch (134:43): [True: 7.36k, False: 23.0k]
  ------------------
  135|  7.36k|                swap(vars[src], vars[dst]);
  136|  33.8k|            break;
  137|      0|        }
  138|  3.58k|        case op_erase: {
  ------------------
  |  Branch (138:9): [True: 3.58k, False: 2.11M]
  ------------------
  139|  3.58k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
  140|  3.58k|            vars[dst] = vars[src].erase(idx);
  141|  3.58k|            break;
  142|      0|        }
  143|  20.2k|        case op_insert: {
  ------------------
  |  Branch (143:9): [True: 20.2k, False: 2.09M]
  ------------------
  144|  20.2k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  145|  20.2k|            vars[dst] = vars[src].insert(idx, immer::box<int>{42});
  146|  20.2k|            break;
  147|      0|        }
  148|  30.7k|        default:
  ------------------
  |  Branch (148:9): [True: 30.7k, False: 2.08M]
  ------------------
  149|  30.7k|            break;
  150|  2.11M|        };
  151|  2.10M|        return true;
  152|  2.11M|    });
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_0clIcEEDaT_:
   28|  5.57M|    auto is_valid_var = [&](auto idx) { return idx >= 0 && idx < var_count; };
  ------------------
  |  Branch (28:48): [True: 5.39M, False: 180k]
  |  Branch (28:60): [True: 5.20M, False: 186k]
  ------------------
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_2clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_ENKUlSC_E_clIhEEDaSC_:
   35|   215k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
  ------------------
  |  Branch (35:39): [True: 215k, False: 0]
  |  Branch (35:51): [True: 191k, False: 23.8k]
  ------------------
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_2clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_:
   34|   191k|    auto is_valid_index = [](auto& v) {
   35|   191k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
   36|   191k|    };
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_ENKUlS2_E_clIiEEDaS2_:
   75|   112k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_3clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_ENKUlSC_E_clIhEEDaSC_:
   38|   119k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
  ------------------
  |  Branch (38:39): [True: 119k, False: 0]
  |  Branch (38:51): [True: 107k, False: 11.9k]
  ------------------
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_3clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_:
   37|   107k|    auto is_valid_size = [](auto& v) {
   38|   107k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
   39|   107k|    };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_4clIRN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEESC_EEDaOT_OT0_:
   40|  1.28M|    auto can_concat = [](auto&& v1, auto&& v2) {
   41|  1.28M|        return v1.size() + v2.size() < vector_t::max_size();
   42|  1.28M|    };
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_ENKUlS2_E0_clIiEEDaS2_:
  101|  75.7k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_ENKUlS1_E_clIcEEDaS1_:
   30|   335k|        return [=](auto idx) {
   31|   335k|            return idx >= 0 && idx < var_count && idx != other;
  ------------------
  |  Branch (31:20): [True: 330k, False: 5.16k]
  |  Branch (31:32): [True: 319k, False: 11.3k]
  |  Branch (31:51): [True: 292k, False: 26.5k]
  ------------------
   32|   335k|        };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_:
   29|   293k|    auto is_valid_var_neq = [](auto other) {
   30|   293k|        return [=](auto idx) {
   31|   293k|            return idx >= 0 && idx < var_count && idx != other;
   32|   293k|        };
   33|   293k|    };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_5clIRN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_:
   43|  33.8k|    auto can_compare = [](auto&& v) {
   44|       |        // avoid comparing vectors that are too big, and hence, slow to compare
   45|  33.8k|        return v.size() < (1 << 15);
   46|  33.8k|    };

flex-vector.cpp:_ZN12fuzzer_input3runIZ22LLVMFuzzerTestOneInputE3$_6EEiT_:
   50|  9.07k|    {
   51|  9.07k|        if (size_ > fuzzer_input_max_size)
  ------------------
  |  Branch (51:13): [True: 8, False: 9.06k]
  ------------------
   52|      8|            return 0;
   53|  9.06k|        try {
   54|  2.11M|            while (step(*this))
  ------------------
  |  Branch (54:20): [True: 2.10M, False: 9.06k]
  ------------------
   55|  2.10M|                continue;
   56|  9.06k|        } catch (const no_more_input&) {
   57|  9.06k|        };
   58|  9.06k|        return 0;
   59|  9.06k|    }
flex-vector.cpp:_Z4readIcZ22LLVMFuzzerTestOneInputE3$_0ET_R12fuzzer_inputT0_:
   70|  5.21M|{
   71|  5.21M|    auto x = read<T>(fz);
   72|  5.58M|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 367k, False: 5.21M]
  ------------------
   73|   367k|        x = read<T>(fz);
   74|  5.21M|    return x;
   75|  5.21M|}
_Z4readIcERKT_R12fuzzer_input:
   64|  8.02M|{
   65|  8.02M|    return *reinterpret_cast<const T*>(fz.next(sizeof(T), alignof(T)));
   66|  8.02M|}
_ZN12fuzzer_input4nextEmm:
   40|  8.36M|    {
   41|  8.36M|        auto& p = const_cast<void*&>(reinterpret_cast<const void*&>(data_));
   42|  8.36M|        auto r  = std::align(align, size, p, size_);
   43|  8.36M|        if (r == nullptr)
  ------------------
  |  Branch (43:13): [True: 9.06k, False: 8.35M]
  ------------------
   44|  9.06k|            throw no_more_input{};
   45|  8.35M|        return next(size);
   46|  8.36M|    }
_ZN12fuzzer_input4nextEm:
   30|  8.35M|    {
   31|  8.35M|        if (size_ < size)
  ------------------
  |  Branch (31:13): [True: 0, False: 8.35M]
  ------------------
   32|      0|            throw no_more_input{};
   33|  8.35M|        auto r = data_;
   34|  8.35M|        data_ += size;
   35|  8.35M|        size_ -= size;
   36|  8.35M|        return r;
   37|  8.35M|    }
flex-vector.cpp:_Z4readIhZZ22LLVMFuzzerTestOneInputENK3$_2clIN5immer11flex_vectorIiNS2_13memory_policyINS2_21free_list_heap_policyINS2_8cpp_heapELm1024EEENS2_15refcount_policyENS2_15spinlock_policyENS2_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_EUlSD_E_ESD_R12fuzzer_inputT0_:
   70|   191k|{
   71|   191k|    auto x = read<T>(fz);
   72|   215k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 23.8k, False: 191k]
  ------------------
   73|  23.8k|        x = read<T>(fz);
   74|   191k|    return x;
   75|   191k|}
_Z4readIhERKT_R12fuzzer_input:
   64|   334k|{
   65|   334k|    return *reinterpret_cast<const T*>(fz.next(sizeof(T), alignof(T)));
   66|   334k|}
flex-vector.cpp:_Z4readIhZZ22LLVMFuzzerTestOneInputENK3$_3clIN5immer11flex_vectorIiNS2_13memory_policyINS2_21free_list_heap_policyINS2_8cpp_heapELm1024EEENS2_15refcount_policyENS2_15spinlock_policyENS2_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_EUlSD_E_ESD_R12fuzzer_inputT0_:
   70|   107k|{
   71|   107k|    auto x = read<T>(fz);
   72|   119k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 11.9k, False: 107k]
  ------------------
   73|  11.9k|        x = read<T>(fz);
   74|   107k|    return x;
   75|   107k|}
flex-vector.cpp:_Z4readIcZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_EUlS2_E_ES2_R12fuzzer_inputT0_:
   70|   293k|{
   71|   293k|    auto x = read<T>(fz);
   72|   336k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 43.0k, False: 293k]
  ------------------
   73|  43.0k|        x = read<T>(fz);
   74|   293k|    return x;
   75|   293k|}

_ZN5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEEC2IiviEEOT_:
   85|  20.2k|        : impl_{detail::make<heap, holder>(std::forward<Arg>(arg))}
   86|  20.2k|    {
   87|  20.2k|    }
_ZN5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEE6holderC2IJiEEEDpOT_:
   47|  20.2k|            : value(std::forward<Args>(args)...)
   48|  20.2k|        {
   49|  20.2k|        }
_ZNK5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEEcvRKiEv:
  142|  20.2k|    operator const T&() const { return get(); }
_ZNK5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEE3getEv:
  139|  20.2k|    IMMER_NODISCARD const T& get() const { return impl_->value; }
_ZN5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEED2Ev:
  131|  20.2k|    {
  132|  20.2k|        if (impl_ && impl_->dec()) {
  ------------------
  |  Branch (132:13): [True: 20.2k, False: 0]
  |  Branch (132:22): [True: 20.2k, False: 0]
  ------------------
  133|  20.2k|            impl_->~holder();
  134|  20.2k|            heap::deallocate(sizeof(holder), impl_);
  135|  20.2k|        }
  136|  20.2k|    }

_ZN5immer6detail3csl3getINS_15refcount_policyEEEDcRKNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEES3_NS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberIS3_NS1_7inheritINSC_5applyISA_E4type5owneeEvE4typeEE4typeEE4typeE:
  170|   109M|        {
  171|   109M|            return x.get_(type_t<U>{});
  172|   109M|        }
_ZNK5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_IS9_EEDcNS1_6type_tIT_EE:
  184|   109M|        {
  185|   109M|            return n.get_(t);
  186|   109M|        }
_ZNK5immer6detail3csl6memberINS_15refcount_policyENS1_7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4typeEE4type4get_ENS1_6type_tIS3_EE:
  128|   121M|        const T& get_(type_t<T>) const { return d; }
_ZN5immer6detail3csl3getINS_15refcount_policyEEEDcRKNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEES3_NS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS1_6memberIS3_NS1_7inheritINSC_5applyISA_E4type5owneeEvE4typeEE4typeEE4typeE:
  170|  12.8M|        {
  171|  12.8M|            return x.get_(type_t<U>{});
  172|  12.8M|        }
_ZNK5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_IS9_EEDcNS1_6type_tIT_EE:
  184|  12.8M|        {
  185|  12.8M|            return n.get_(t);
  186|  12.8M|        }
_ZN5immer6detail3csl3getINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEEEDcRNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyIS7_NS_15refcount_policyENS_15spinlock_policyES3_Lb0ELb1EEELj2ELj2EE14relaxed_data_tENS1_6memberISF_NS1_7inheritISA_vE4typeEE4typeEE4typeE:
  165|  12.0M|        {
  166|  12.0M|            return x.get_(type_t<U>{});
  167|  12.0M|        }
_ZN5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_ISK_EEDcNS1_6type_tIT_EE:
  179|  12.0M|        {
  180|  12.0M|            return n.get_(t);
  181|  12.0M|        }
_ZN5immer6detail3csl7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4type4get_ENS1_6type_tISA_EE:
  102|  29.4M|        T& get_(type_t<T>) { return *this; }
_ZN5immer6detail3csl3getINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEEEDcRNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyIS7_NS_15refcount_policyENS_15spinlock_policyES3_Lb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberISF_NS1_7inheritISA_vE4typeEE4typeEE4typeE:
  165|  17.4M|        {
  166|  17.4M|            return x.get_(type_t<U>{});
  167|  17.4M|        }
_ZN5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_ISK_EEDcNS1_6type_tIT_EE:
  179|  17.4M|        {
  180|  17.4M|            return n.get_(t);
  181|  17.4M|        }
_ZN5immer6detail3csl3getINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEEEDcRKNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyIS7_NS_15refcount_policyENS_15spinlock_policyES3_Lb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberISF_NS1_7inheritISA_vE4typeEE4typeEE4typeE:
  170|  97.2k|        {
  171|  97.2k|            return x.get_(type_t<U>{});
  172|  97.2k|        }
_ZNK5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_ISK_EEDcNS1_6type_tIT_EE:
  184|  97.2k|        {
  185|  97.2k|            return n.get_(t);
  186|  97.2k|        }
_ZNK5immer6detail3csl7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4type4get_ENS1_6type_tISA_EE:
  103|  97.2k|        const T& get_(type_t<T>) const { return *this; }

_ZNK5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_EdeEv:
   99|  5.71M|    ReferenceT operator*() const { return access_t::dereference(derived()); }
_ZN5immer6detail20iterator_core_access11dereferenceIRKNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDcOT_:
   22|  5.71M|    {
   23|  5.71M|        return x.dereference();
   24|  5.71M|    }
_ZNK5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_E7derivedEv:
   86|  5.75M|    {
   87|  5.75M|        static_assert(std::is_base_of<iterator_facade, DerivedT>::value,
   88|  5.75M|                      "must pass a derived thing");
   89|  5.75M|        return *static_cast<const DerivedT*>(this);
   90|  5.75M|    }
_ZN5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_EpLEl:
  151|   237k|    {
  152|   237k|        access_t::advance(derived(), n);
  153|   237k|        return derived();
  154|   237k|    }
_ZN5immer6detail20iterator_core_access7advanceIRNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEElEEDcOT_T0_:
   46|   237k|    {
   47|   237k|        return x.advance(d);
   48|   237k|    }
_ZN5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_E7derivedEv:
   92|  9.10M|    {
   93|  9.10M|        static_assert(std::is_base_of<iterator_facade, DerivedT>::value,
   94|  9.10M|                      "must pass a derived thing");
   95|  9.10M|        return *static_cast<DerivedT*>(this);
   96|  9.10M|    }
_ZN5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_EppEv:
  119|  4.31M|    {
  120|  4.31M|        access_t::increment(derived());
  121|  4.31M|        return derived();
  122|  4.31M|    }
_ZN5immer6detail20iterator_core_access9incrementIRNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDcOT_:
   28|  4.31M|    {
   29|  4.31M|        return x.increment();
   30|  4.31M|    }
_ZNK5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_EplISI_TnNSD_9enable_ifIXsrT_16is_random_accessEbE4typeELb1EEESC_l:
  164|  41.8k|    {
  165|  41.8k|        auto tmp = derived();
  166|  41.8k|        return tmp += n;
  167|  41.8k|    }

_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE17make_inner_n_intoEPvmj:
  213|  3.15M|    {
  214|  3.15M|        assert(n <= branches<B>);
  ------------------
  |  Branch (214:9): [True: 3.15M, False: 0]
  ------------------
  215|  3.15M|        assert(size >= sizeof_inner_n(n));
  ------------------
  |  Branch (215:9): [True: 3.15M, False: 0]
  ------------------
  216|  3.15M|        auto p                       = new (buffer) node_t;
  217|  3.15M|        p->impl.d.data.inner.relaxed = nullptr;
  218|  3.15M|#if IMMER_TAGGED_NODE
  219|  3.15M|        p->impl.d.kind = node_t::kind_t::inner;
  220|  3.15M|#endif
  221|  3.15M|        return p;
  222|  3.15M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14sizeof_inner_nEj:
  145|  12.7M|    {
  146|  12.7M|        return keep_headroom ? max_sizeof_inner : sizeof_packed_inner_n(n);
  ------------------
  |  Branch (146:16): [True: 12.7M, Folded]
  ------------------
  147|  12.7M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3incEv:
  956|  29.3M|    {
  957|  29.3M|        refs(this).inc();
  958|  29.3M|        return this;
  959|  29.3M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4refsEPKSB_:
  203|   109M|    {
  204|   109M|        return auto_const_cast(get<refs_t>(x->impl));
  205|   109M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16make_leaf_n_intoEPvmj:
  330|  1.29M|    {
  331|  1.29M|        assert(n <= branches<BL>);
  ------------------
  |  Branch (331:9): [True: 1.29M, False: 0]
  ------------------
  332|  1.29M|        assert(size >= sizeof_leaf_n(n));
  ------------------
  |  Branch (332:9): [True: 1.29M, False: 0]
  ------------------
  333|  1.29M|        auto p = new (buffer) node_t;
  334|  1.29M|#if IMMER_TAGGED_NODE
  335|  1.29M|        p->impl.d.kind = node_t::kind_t::leaf;
  336|  1.29M|#endif
  337|  1.29M|        return p;
  338|  1.29M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13sizeof_leaf_nEj:
  160|  5.39M|    {
  161|  5.39M|        return keep_headroom ? max_sizeof_leaf : sizeof_packed_leaf_n(n);
  ------------------
  |  Branch (161:16): [True: 5.39M, Folded]
  ------------------
  162|  5.39M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7relaxedEv:
  172|   175M|    {
  173|   175M|        IMMER_ASSERT_TAGGED(kind() == kind_t::inner);
  ------------------
  |  |   68|   175M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (173:9): [True: 175M, False: 0]
  ------------------
  174|   175M|        return impl.d.data.inner.relaxed;
  175|   175M|    }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4kindEv:
  168|   334M|    kind_t kind() const { return impl.d.kind; }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3decEv:
  967|  62.0M|    bool dec() const { return refs(this).dec(); }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5innerEv:
  184|   114M|    {
  185|   114M|        IMMER_ASSERT_TAGGED(kind() == kind_t::inner);
  ------------------
  |  |   68|   114M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (185:9): [True: 114M, False: 0]
  ------------------
  186|   114M|        return impl.d.data.inner.get_storage_ptr();
  187|   114M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSB_j:
  832|  12.2M|    {
  833|  12.2M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::inner);
  ------------------
  |  |   68|  12.2M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (833:9): [True: 12.2M, False: 0]
  ------------------
  834|  12.2M|        auto r = p->relaxed();
  835|  12.2M|        assert(r);
  ------------------
  |  Branch (835:9): [True: 12.2M, False: 0]
  ------------------
  836|  12.2M|        static_if<!embed_relaxed>([&](auto) {
  837|  12.2M|            if (node_t::refs(r).dec())
  838|  12.2M|                heap::deallocate(node_t::ownee(r).owned()
  839|  12.2M|                                     ? node_t::max_sizeof_relaxed
  840|  12.2M|                                     : node_t::sizeof_relaxed_n(n),
  841|  12.2M|                                 r);
  842|  12.2M|        });
  843|  12.2M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_inner_r
  ------------------
  |  Branch (843:26): [True: 0, False: 12.2M]
  ------------------
  844|  12.2M|                                          : node_t::sizeof_inner_r_n(n),
  845|  12.2M|                         p);
  846|  12.2M|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSB_jENKUlT_E_clINS0_7empty_tEEEDaSD_:
  836|  12.2M|        static_if<!embed_relaxed>([&](auto) {
  837|  12.2M|            if (node_t::refs(r).dec())
  ------------------
  |  Branch (837:17): [True: 11.9M, False: 290k]
  ------------------
  838|  11.9M|                heap::deallocate(node_t::ownee(r).owned()
  ------------------
  |  Branch (838:34): [True: 0, False: 11.9M]
  ------------------
  839|  11.9M|                                     ? node_t::max_sizeof_relaxed
  840|  11.9M|                                     : node_t::sizeof_relaxed_n(n),
  841|  11.9M|                                 r);
  842|  12.2M|        });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4refsEPKNS0_3csl10member_twoINSB_14relaxed_data_tENSC_6memberIS7_NSC_7inheritINS9_5applyIS6_E4type5owneeEvE4typeEE4typeEE4typeE:
  196|  12.8M|    {
  197|  12.8M|        return auto_const_cast(get<refs_t>(*x));
  198|  12.8M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPNS0_3csl10member_twoINSB_14relaxed_data_tENSC_6memberIS7_NSC_7inheritINS9_5applyIS6_E4type5owneeEvE4typeEE4typeEE4typeE:
  200|  12.0M|    static ownee_t& ownee(relaxed_t* x) { return get<ownee_t>(*x); }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16sizeof_relaxed_nEj:
  155|  23.7M|    {
  156|  23.7M|        return keep_headroom ? max_sizeof_relaxed : sizeof_packed_relaxed_n(n);
  ------------------
  |  Branch (156:16): [True: 23.7M, Folded]
  ------------------
  157|  23.7M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPSB_:
  210|  17.4M|    static ownee_t& ownee(node_t* x) { return get<ownee_t>(x->impl); }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16sizeof_inner_r_nEj:
  150|  24.2M|    {
  151|  24.2M|        return keep_headroom ? max_sizeof_inner_r : sizeof_packed_inner_r_n(n);
  ------------------
  |  Branch (151:16): [True: 24.2M, Folded]
  ------------------
  152|  24.2M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11delete_leafEPSB_j:
  861|  1.51M|    {
  862|  1.51M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::leaf);
  ------------------
  |  |   68|  1.51M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (862:9): [True: 1.51M, False: 0]
  ------------------
  863|  1.51M|        detail::destroy_n(p->leaf(), n);
  864|  1.51M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_leaf
  ------------------
  |  Branch (864:26): [True: 0, False: 1.51M]
  ------------------
  865|  1.51M|                                          : node_t::sizeof_leaf_n(n),
  866|  1.51M|                         p);
  867|  1.51M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4leafEv:
  190|  10.8M|    {
  191|  10.8M|        IMMER_ASSERT_TAGGED(kind() == kind_t::leaf);
  ------------------
  |  |   68|  10.8M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (191:9): [True: 10.8M, False: 0]
  ------------------
  192|  10.8M|        return impl.d.data.leaf.get_storage_ptr();
  193|  10.8M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12delete_innerEPSB_j:
  808|  3.25M|    {
  809|  3.25M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::inner);
  ------------------
  |  |   68|  3.25M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (809:9): [True: 3.25M, False: 0]
  ------------------
  810|  3.25M|        assert(!p->relaxed());
  ------------------
  |  Branch (810:9): [True: 3.25M, False: 0]
  ------------------
  811|  3.25M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_inner
  ------------------
  |  Branch (811:26): [True: 0, False: 3.25M]
  ------------------
  812|  3.25M|                                          : node_t::sizeof_inner_n(n),
  813|  3.25M|                         p);
  814|  3.25M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE17copy_leaf_emplaceIiEEPSB_SD_jOT_:
  794|   320k|    {
  795|   320k|        auto dst = copy_leaf_n(n + 1, src, n);
  796|   320k|        IMMER_TRY {
  ------------------
  |  |   49|   320k|#define IMMER_TRY try
  ------------------
  797|   320k|            new (dst->leaf() + n) T(std::forward<U>(x));
  798|   320k|        }
  799|   320k|        IMMER_CATCH (...) {
  800|      0|            detail::destroy_n(dst->leaf(), n);
  801|      0|            heap::deallocate(node_t::sizeof_leaf_n(n + 1), dst);
  802|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  803|      0|        }
  804|   320k|        return dst;
  805|   320k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_nEjPSB_j:
  696|   320k|    {
  697|   320k|        assert(allocn >= n);
  ------------------
  |  Branch (697:9): [True: 320k, False: 0]
  ------------------
  698|   320k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   320k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (698:9): [True: 320k, False: 0]
  ------------------
  699|   320k|        auto dst = make_leaf_n(allocn);
  700|   320k|        IMMER_TRY {
  ------------------
  |  |   49|   320k|#define IMMER_TRY try
  ------------------
  701|   320k|            detail::uninitialized_copy(
  702|   320k|                src->leaf(), src->leaf() + n, dst->leaf());
  703|   320k|        }
  704|   320k|        IMMER_CATCH (...) {
  705|      0|            heap::deallocate(node_t::sizeof_leaf_n(allocn), dst);
  706|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  707|      0|        }
  708|   320k|        return dst;
  709|   320k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_nEj:
  341|  1.29M|    {
  342|  1.29M|        assert(n <= branches<BL>);
  ------------------
  |  Branch (342:9): [True: 1.29M, False: 0]
  ------------------
  343|  1.29M|        auto m = heap::allocate(sizeof_leaf_n(n));
  344|  1.29M|        return make_leaf_n_into(m, sizeof_leaf_n(n), n);
  345|  1.29M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_nIiEEPSB_jOT_:
  470|   117k|    {
  471|   117k|        assert(n >= 1);
  ------------------
  |  Branch (471:9): [True: 117k, False: 0]
  ------------------
  472|   117k|        auto p = make_leaf_n(n);
  473|   117k|        IMMER_TRY {
  ------------------
  |  |   49|   117k|#define IMMER_TRY try
  ------------------
  474|   117k|            new (p->leaf()) T(std::forward<U>(x));
  475|   117k|        }
  476|   117k|        IMMER_CATCH (...) {
  477|      0|            heap::deallocate(node_t::sizeof_leaf_n(n), p);
  478|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  479|      0|        }
  480|   117k|        return p;
  481|   117k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13do_copy_innerEPSB_SC_j:
  558|  2.91M|    {
  559|  2.91M|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.91M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (559:9): [True: 2.91M, False: 0]
  ------------------
  560|  2.91M|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.91M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (560:9): [True: 2.91M, False: 0]
  ------------------
  561|  2.91M|        auto p = src->inner();
  562|  2.91M|        inc_nodes(p, n);
  563|  2.91M|        std::copy(p, p + n, dst->inner());
  564|  2.91M|        return dst;
  565|  2.91M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9inc_nodesEPPSB_j:
  970|  9.31M|    {
  971|  24.9M|        for (auto i = p, e = i + n; i != e; ++i)
  ------------------
  |  Branch (971:37): [True: 15.6M, False: 9.31M]
  ------------------
  972|  15.6M|            refs(*i).inc();
  973|  9.31M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14copy_inner_r_nEjPSB_j:
  588|   579k|    {
  589|   579k|        assert(allocn >= n);
  ------------------
  |  Branch (589:9): [True: 579k, False: 0]
  ------------------
  590|   579k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|   579k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (590:9): [True: 579k, False: 0]
  ------------------
  591|   579k|        auto dst = make_inner_r_n(allocn);
  592|   579k|        return do_copy_inner_r(dst, src, n);
  593|   579k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15do_copy_inner_rEPSB_SC_j:
  610|   602k|    {
  611|   602k|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|   602k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (611:9): [True: 602k, False: 0]
  ------------------
  612|   602k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|   602k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (612:9): [True: 602k, False: 0]
  ------------------
  613|   602k|        auto src_r = src->relaxed();
  614|   602k|        auto dst_r = dst->relaxed();
  615|   602k|        inc_nodes(src->inner(), n);
  616|   602k|        std::copy(src->inner(), src->inner() + n, dst->inner());
  617|   602k|        std::copy(src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  618|   602k|        dst_r->d.count = n;
  619|   602k|        return dst;
  620|   602k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_nEj:
  243|  11.7M|    {
  244|  11.7M|        assert(n <= branches<B>);
  ------------------
  |  Branch (244:9): [True: 11.7M, False: 0]
  ------------------
  245|  11.7M|        auto mp = heap::allocate(sizeof_inner_r_n(n));
  246|  11.7M|        auto mr = static_cast<void*>(nullptr);
  247|  11.7M|        if (embed_relaxed) {
  ------------------
  |  Branch (247:13): [Folded, False: 11.7M]
  ------------------
  248|      0|            mr = reinterpret_cast<unsigned char*>(mp) + sizeof_inner_n(n);
  249|  11.7M|        } else {
  250|  11.7M|            IMMER_TRY {
  ------------------
  |  |   49|  11.7M|#define IMMER_TRY try
  ------------------
  251|  11.7M|                mr = heap::allocate(sizeof_relaxed_n(n), norefs_tag{});
  252|  11.7M|            }
  253|  11.7M|            IMMER_CATCH (...) {
  254|      0|                heap::deallocate(sizeof_inner_r_n(n), mp);
  255|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  256|      0|            }
  257|  11.7M|        }
  258|  11.7M|        auto p                       = new (mp) node_t;
  259|  11.7M|        auto r                       = new (mr) relaxed_t;
  260|  11.7M|        r->d.count                   = 0;
  261|  11.7M|        p->impl.d.data.inner.relaxed = r;
  262|  11.7M|#if IMMER_TAGGED_NODE
  263|  11.7M|        p->impl.d.kind = node_t::kind_t::inner;
  264|  11.7M|#endif
  265|  11.7M|        return p;
  266|  11.7M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9make_pathEjPSB_:
  498|   796k|    {
  499|   796k|        IMMER_ASSERT_TAGGED(node->kind() == kind_t::leaf);
  ------------------
  |  |   68|   796k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (499:9): [True: 796k, False: 0]
  ------------------
  500|   796k|        if (shift == endshift<B, BL>)
  ------------------
  |  Branch (500:13): [True: 589k, False: 207k]
  ------------------
  501|   589k|            return node;
  502|   207k|        else {
  503|   207k|            auto n = node_t::make_inner_n(1);
  504|   207k|            IMMER_TRY {
  ------------------
  |  |   49|   207k|#define IMMER_TRY try
  ------------------
  505|   207k|                n->inner()[0] = make_path(shift - B, node);
  506|   207k|            }
  507|   207k|            IMMER_CATCH (...) {
  508|      0|                heap::deallocate(node_t::sizeof_inner_n(1), n);
  509|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  510|      0|            }
  511|   207k|            return n;
  512|   207k|        }
  513|   796k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12make_inner_nEj:
  224|  3.15M|    {
  225|  3.15M|        assert(n <= branches<B>);
  ------------------
  |  Branch (225:9): [True: 3.15M, False: 0]
  ------------------
  226|  3.15M|        auto m = heap::allocate(sizeof_inner_n(n));
  227|  3.15M|        return make_inner_n_into(m, sizeof_inner_n(n), n);
  228|  3.15M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_j:
  666|   123k|    {
  667|   123k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   123k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (667:9): [True: 123k, False: 0]
  ------------------
  668|   123k|        auto dst = make_leaf_n(n);
  669|   123k|        IMMER_TRY {
  ------------------
  |  |   49|   123k|#define IMMER_TRY try
  ------------------
  670|   123k|            detail::uninitialized_copy(
  671|   123k|                src->leaf(), src->leaf() + n, dst->leaf());
  672|   123k|        }
  673|   123k|        IMMER_CATCH (...) {
  674|      0|            heap::deallocate(node_t::sizeof_leaf_n(n), dst);
  675|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  676|      0|        }
  677|   123k|        return dst;
  678|   123k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15make_inner_sr_nEjPNS0_3csl10member_twoINSB_14relaxed_data_tENSC_6memberIS7_NSC_7inheritINS9_5applyIS6_E4type5owneeEvE4typeEE4typeEE4typeE:
  269|   299k|    {
  270|   299k|        return static_if<embed_relaxed, node_t*>(
  271|   299k|            [&](auto) { return node_t::make_inner_r_n(n); },
  272|   299k|            [&](auto) {
  273|   299k|                auto p =
  274|   299k|                    new (heap::allocate(node_t::sizeof_inner_r_n(n))) node_t;
  275|   299k|                assert(r->d.count >= n);
  276|   299k|                node_t::refs(r).inc();
  277|   299k|                p->impl.d.data.inner.relaxed = r;
  278|   299k|#if IMMER_TAGGED_NODE
  279|   299k|                p->impl.d.kind = node_t::kind_t::inner;
  280|   299k|#endif
  281|   299k|                return p;
  282|   299k|            });
  283|   299k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15make_inner_sr_nEjPNS0_3csl10member_twoINSB_14relaxed_data_tENSC_6memberIS7_NSC_7inheritINS9_5applyIS6_E4type5owneeEvE4typeEE4typeEE4typeEENKUlT_E0_clINS0_7empty_tEEEDaSS_:
  272|   299k|            [&](auto) {
  273|   299k|                auto p =
  274|   299k|                    new (heap::allocate(node_t::sizeof_inner_r_n(n))) node_t;
  275|   299k|                assert(r->d.count >= n);
  ------------------
  |  Branch (275:17): [True: 299k, False: 0]
  ------------------
  276|   299k|                node_t::refs(r).inc();
  277|   299k|                p->impl.d.data.inner.relaxed = r;
  278|   299k|#if IMMER_TAGGED_NODE
  279|   299k|                p->impl.d.kind = node_t::kind_t::inner;
  280|   299k|#endif
  281|   299k|                return p;
  282|   299k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24do_copy_inner_replace_srEPSB_SC_jjSC_:
  652|   299k|    {
  653|   299k|        if (embed_relaxed)
  ------------------
  |  Branch (653:13): [Folded, False: 299k]
  ------------------
  654|      0|            return do_copy_inner_replace_r(dst, src, n, offset, child);
  655|   299k|        else {
  656|   299k|            auto p = src->inner();
  657|   299k|            inc_nodes(p, offset);
  658|   299k|            inc_nodes(p + offset + 1, n - offset - 1);
  659|   299k|            std::copy(p, p + n, dst->inner());
  660|   299k|            dst->inner()[offset] = child;
  661|   299k|            return dst;
  662|   299k|        }
  663|   299k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE21do_copy_inner_replaceEPSB_SC_jjSC_:
  569|  47.2k|    {
  570|  47.2k|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|  47.2k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (570:9): [True: 47.2k, False: 0]
  ------------------
  571|  47.2k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  47.2k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (571:9): [True: 47.2k, False: 0]
  ------------------
  572|  47.2k|        auto p = src->inner();
  573|  47.2k|        inc_nodes(p, offset);
  574|  47.2k|        inc_nodes(p + offset + 1, n - offset - 1);
  575|  47.2k|        std::copy(p, p + n, dst->inner());
  576|  47.2k|        dst->inner()[offset] = child;
  577|  47.2k|        return dst;
  578|  47.2k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_nEjPSB_j:
  543|  10.2k|    {
  544|  10.2k|        assert(allocn >= n);
  ------------------
  |  Branch (544:9): [True: 10.2k, False: 0]
  ------------------
  545|  10.2k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  10.2k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (545:9): [True: 10.2k, False: 0]
  ------------------
  546|  10.2k|        auto dst = make_inner_n(allocn);
  547|  10.2k|        return do_copy_inner(dst, src, n);
  548|  10.2k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_rEPSB_j:
  581|  4.85k|    {
  582|  4.85k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  4.85k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (582:9): [True: 4.85k, False: 0]
  ------------------
  583|  4.85k|        auto dst = make_inner_r_n(n);
  584|  4.85k|        return do_copy_inner_r(dst, src, n);
  585|  4.85k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13compute_shiftEv:
  977|  5.32M|    {
  978|  5.32M|        if (kind() == kind_t::leaf)
  ------------------
  |  Branch (978:13): [True: 460k, False: 4.86M]
  ------------------
  979|   460k|            return endshift<B, BL>;
  980|  4.86M|        else
  981|  4.86M|            return B + inner()[0]->compute_shift();
  982|  5.32M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5checkEjm:
  986|   460k|    {
  987|       |#if IMMER_DEBUG_DEEP_CHECK
  988|       |        assert(size > 0);
  989|       |        if (shift == endshift<B, BL>) {
  990|       |            IMMER_ASSERT_TAGGED(kind() == kind_t::leaf);
  991|       |            assert(size <= branches<BL>);
  992|       |        } else if (auto r = relaxed()) {
  993|       |            auto count = r->d.count;
  994|       |            assert(count > 0);
  995|       |            assert(count <= branches<B>);
  996|       |            if (r->d.sizes[count - 1] != size) {
  997|       |                IMMER_TRACE_F("check");
  998|       |                IMMER_TRACE_E(r->d.sizes[count - 1]);
  999|       |                IMMER_TRACE_E(size);
 1000|       |            }
 1001|       |            assert(r->d.sizes[count - 1] == size);
 1002|       |            for (auto i = 1u; i < count; ++i)
 1003|       |                assert(r->d.sizes[i - 1] < r->d.sizes[i]);
 1004|       |            auto last_size = size_t{};
 1005|       |            for (auto i = 0u; i < count; ++i) {
 1006|       |                assert(inner()[i]->check(shift - B, r->d.sizes[i] - last_size));
 1007|       |                last_size = r->d.sizes[i];
 1008|       |            }
 1009|       |        } else {
 1010|       |            assert(size <= branches<B> << shift);
 1011|       |            auto count =
 1012|       |                (size >> shift) + (size - ((size >> shift) << shift) > 0);
 1013|       |            assert(count <= branches<B>);
 1014|       |            if (count) {
 1015|       |                for (auto i = 1u; i < count - 1; ++i)
 1016|       |                    assert(inner()[i]->check(shift - B, 1 << shift));
 1017|       |                assert(inner()[count - 1]->check(
 1018|       |                    shift - B, size - ((count - 1) << shift)));
 1019|       |            }
 1020|       |        }
 1021|       |#endif // IMMER_DEBUG_DEEP_CHECK
 1022|   460k|        return true;
 1023|   460k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_jj:
  778|   357k|    {
  779|   357k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   357k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (779:9): [True: 357k, False: 0]
  ------------------
  780|   357k|        auto dst = make_leaf_n(last - idx);
  781|   357k|        IMMER_TRY {
  ------------------
  |  |   49|   357k|#define IMMER_TRY try
  ------------------
  782|   357k|            detail::uninitialized_copy(
  783|   357k|                src->leaf() + idx, src->leaf() + last, dst->leaf());
  784|   357k|        }
  785|   357k|        IMMER_CATCH (...) {
  786|      0|            heap::deallocate(node_t::sizeof_leaf_n(last - idx), dst);
  787|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  788|      0|        }
  789|   357k|        return dst;
  790|   357k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_jSC_j:
  712|   349k|    {
  713|   349k|        IMMER_ASSERT_TAGGED(src1->kind() == kind_t::leaf);
  ------------------
  |  |   68|   349k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (713:9): [True: 349k, False: 0]
  ------------------
  714|   349k|        IMMER_ASSERT_TAGGED(src2->kind() == kind_t::leaf);
  ------------------
  |  |   68|   349k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (714:9): [True: 349k, False: 0]
  ------------------
  715|   349k|        auto dst = make_leaf_n(n1 + n2);
  716|   349k|        IMMER_TRY {
  ------------------
  |  |   49|   349k|#define IMMER_TRY try
  ------------------
  717|   349k|            detail::uninitialized_copy(
  718|   349k|                src1->leaf(), src1->leaf() + n1, dst->leaf());
  719|   349k|        }
  720|   349k|        IMMER_CATCH (...) {
  721|      0|            heap::deallocate(node_t::sizeof_leaf_n(n1 + n2), dst);
  722|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  723|      0|        }
  724|   349k|        IMMER_TRY {
  ------------------
  |  |   49|   349k|#define IMMER_TRY try
  ------------------
  725|   349k|            detail::uninitialized_copy(
  726|   349k|                src2->leaf(), src2->leaf() + n2, dst->leaf() + n1);
  727|   349k|        }
  728|   349k|        IMMER_CATCH (...) {
  729|      0|            detail::destroy_n(dst->leaf(), n1);
  730|      0|            heap::deallocate(node_t::sizeof_leaf_n(n1 + n2), dst);
  731|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  732|      0|        }
  733|   349k|        return dst;
  734|   349k|    }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10can_mutateENS9_5applyIS6_E4type4editE:
  870|  1.97M|    {
  871|  1.97M|        return refs(this).unique() || ownee(this).can_mutate(e);
  ------------------
  |  Branch (871:16): [True: 1.88M, False: 97.2k]
  |  Branch (871:39): [True: 0, False: 97.2k]
  ------------------
  872|  1.97M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPKSB_:
  207|  97.2k|    {
  208|  97.2k|        return get<ownee_t>(x->impl);
  209|  97.2k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_j:
  681|  32.0k|    {
  682|  32.0k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|  32.0k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (682:9): [True: 32.0k, False: 0]
  ------------------
  683|  32.0k|        auto dst = make_leaf_e(e);
  684|  32.0k|        IMMER_TRY {
  ------------------
  |  |   49|  32.0k|#define IMMER_TRY try
  ------------------
  685|  32.0k|            detail::uninitialized_copy(
  686|  32.0k|                src->leaf(), src->leaf() + n, dst->leaf());
  687|  32.0k|        }
  688|  32.0k|        IMMER_CATCH (...) {
  689|      0|            heap::deallocate(node_t::max_sizeof_leaf, dst);
  690|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  691|      0|        }
  692|  32.0k|        return dst;
  693|  32.0k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_eENS9_5applyIS6_E4type4editE:
  348|   221k|    {
  349|   221k|        auto p   = new (heap::allocate(max_sizeof_leaf)) node_t;
  350|   221k|        ownee(p) = e;
  351|   221k|#if IMMER_TAGGED_NODE
  352|   221k|        p->impl.d.kind = node_t::kind_t::leaf;
  353|   221k|#endif
  354|   221k|        return p;
  355|   221k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_eIiEEPSB_NS9_5applyIS6_E4type4editEOT_:
  485|  13.7k|    {
  486|  13.7k|        auto p = make_leaf_e(e);
  487|  13.7k|        IMMER_TRY {
  ------------------
  |  |   49|  13.7k|#define IMMER_TRY try
  ------------------
  488|  13.7k|            new (p->leaf()) T(std::forward<U>(x));
  489|  13.7k|        }
  490|  13.7k|        IMMER_CATCH (...) {
  491|      0|            heap::deallocate(node_t::max_sizeof_leaf, p);
  492|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  493|      0|        }
  494|  13.7k|        return p;
  495|  13.7k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24ensure_mutable_relaxed_nENS9_5applyIS6_E4type4editEj:
  930|  78.3k|    {
  931|  78.3k|        auto src_r = relaxed();
  932|  78.3k|        return static_if<embed_relaxed, relaxed_t*>(
  933|  78.3k|            [&](auto) { return src_r; },
  934|  78.3k|            [&](auto) {
  935|  78.3k|                if (node_t::refs(src_r).unique() ||
  936|  78.3k|                    node_t::ownee(src_r).can_mutate(e))
  937|  78.3k|                    return src_r;
  938|  78.3k|                else {
  939|  78.3k|                    auto dst_r =
  940|  78.3k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  941|  78.3k|                    if (src_r) {
  942|  78.3k|                        std::copy(
  943|  78.3k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  944|  78.3k|                        if (node_t::refs(src_r).dec())
  945|  78.3k|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  946|  78.3k|                                             src_r);
  947|  78.3k|                    }
  948|  78.3k|                    dst_r->d.count                   = n;
  949|  78.3k|                    node_t::ownee(dst_r)             = e;
  950|  78.3k|                    return impl.d.data.inner.relaxed = dst_r;
  951|  78.3k|                }
  952|  78.3k|            });
  953|  78.3k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24ensure_mutable_relaxed_nENS9_5applyIS6_E4type4editEjENKUlT_E0_clINS0_7empty_tEEEDaSG_:
  934|  78.3k|            [&](auto) {
  935|  78.3k|                if (node_t::refs(src_r).unique() ||
  ------------------
  |  Branch (935:21): [True: 65.4k, False: 12.8k]
  ------------------
  936|  12.8k|                    node_t::ownee(src_r).can_mutate(e))
  ------------------
  |  Branch (936:21): [True: 0, False: 12.8k]
  ------------------
  937|  65.4k|                    return src_r;
  938|  12.8k|                else {
  939|  12.8k|                    auto dst_r =
  940|  12.8k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  941|  12.8k|                    if (src_r) {
  ------------------
  |  Branch (941:25): [True: 12.8k, False: 0]
  ------------------
  942|  12.8k|                        std::copy(
  943|  12.8k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  944|  12.8k|                        if (node_t::refs(src_r).dec())
  ------------------
  |  Branch (944:29): [True: 0, False: 12.8k]
  ------------------
  945|      0|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  946|      0|                                             src_r);
  947|  12.8k|                    }
  948|  12.8k|                    dst_r->d.count                   = n;
  949|  12.8k|                    node_t::ownee(dst_r)             = e;
  950|  12.8k|                    return impl.d.data.inner.relaxed = dst_r;
  951|  12.8k|                }
  952|  78.3k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14copy_inner_r_eENS9_5applyIS6_E4type4editEPSB_j:
  596|  17.9k|    {
  597|  17.9k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  17.9k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (597:9): [True: 17.9k, False: 0]
  ------------------
  598|  17.9k|        auto dst = make_inner_r_e(e);
  599|  17.9k|        return do_copy_inner_r(dst, src, n);
  600|  17.9k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_eENS9_5applyIS6_E4type4editE:
  286|   101k|    {
  287|   101k|        auto mp = heap::allocate(max_sizeof_inner_r);
  288|   101k|        auto mr = static_cast<void*>(nullptr);
  289|   101k|        if (embed_relaxed) {
  ------------------
  |  Branch (289:13): [Folded, False: 101k]
  ------------------
  290|      0|            mr = reinterpret_cast<unsigned char*>(mp) + max_sizeof_inner;
  291|   101k|        } else {
  292|   101k|            IMMER_TRY {
  ------------------
  |  |   49|   101k|#define IMMER_TRY try
  ------------------
  293|   101k|                mr = heap::allocate(max_sizeof_relaxed, norefs_tag{});
  294|   101k|            }
  295|   101k|            IMMER_CATCH (...) {
  296|      0|                heap::deallocate(max_sizeof_inner_r, mp);
  297|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  298|      0|            }
  299|   101k|        }
  300|   101k|        auto p   = new (mp) node_t;
  301|   101k|        auto r   = new (mr) relaxed_t;
  302|   101k|        ownee(p) = e;
  303|   101k|        static_if<!embed_relaxed>([&](auto) { node_t::ownee(r) = e; });
  304|   101k|        r->d.count                   = 0;
  305|   101k|        p->impl.d.data.inner.relaxed = r;
  306|   101k|#if IMMER_TAGGED_NODE
  307|   101k|        p->impl.d.kind = node_t::kind_t::inner;
  308|   101k|#endif
  309|   101k|        return p;
  310|   101k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_eENS9_5applyIS6_E4type4editEENKUlT_E_clINS0_7empty_tEEEDaSG_:
  303|   101k|        static_if<!embed_relaxed>([&](auto) { node_t::ownee(r) = e; });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_path_eENS9_5applyIS6_E4type4editEjPSB_:
  516|   302k|    {
  517|   302k|        IMMER_ASSERT_TAGGED(node->kind() == kind_t::leaf);
  ------------------
  |  |   68|   302k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (517:9): [True: 302k, False: 0]
  ------------------
  518|   302k|        if (shift == endshift<B, BL>)
  ------------------
  |  Branch (518:13): [True: 225k, False: 76.6k]
  ------------------
  519|   225k|            return node;
  520|  76.6k|        else {
  521|  76.6k|            auto n = node_t::make_inner_e(e);
  522|  76.6k|            IMMER_TRY {
  ------------------
  |  |   49|  76.6k|#define IMMER_TRY try
  ------------------
  523|  76.6k|                n->inner()[0] = make_path_e(e, shift - B, node);
  524|  76.6k|            }
  525|  76.6k|            IMMER_CATCH (...) {
  526|      0|                heap::deallocate(node_t::max_sizeof_inner, n);
  527|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  528|      0|            }
  529|  76.6k|            return n;
  530|  76.6k|        }
  531|   302k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12make_inner_eENS9_5applyIS6_E4type4editE:
  231|   101k|    {
  232|   101k|        auto m                       = heap::allocate(max_sizeof_inner);
  233|   101k|        auto p                       = new (m) node_t;
  234|   101k|        ownee(p)                     = e;
  235|   101k|        p->impl.d.data.inner.relaxed = nullptr;
  236|   101k|#if IMMER_TAGGED_NODE
  237|   101k|        p->impl.d.kind = node_t::kind_t::inner;
  238|   101k|#endif
  239|   101k|        return p;
  240|   101k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_eENS9_5applyIS6_E4type4editEPSB_j:
  551|  16.1k|    {
  552|  16.1k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  16.1k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (552:9): [True: 16.1k, False: 0]
  ------------------
  553|  16.1k|        auto dst = make_inner_e(e);
  554|  16.1k|        return do_copy_inner(dst, src, n);
  555|  16.1k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15copy_inner_sr_eENS9_5applyIS6_E4type4editEPSB_j:
  603|  12.0k|    {
  604|  12.0k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  12.0k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (604:9): [True: 12.0k, False: 0]
  ------------------
  605|  12.0k|        auto dst = make_inner_sr_e(e, src->relaxed());
  606|  12.0k|        return do_copy_inner_sr(dst, src, n);
  607|  12.0k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15make_inner_sr_eENS9_5applyIS6_E4type4editEPNS0_3csl10member_twoINSB_14relaxed_data_tENSG_6memberIS7_NSG_7inheritINSE_5owneeEvE4typeEE4typeEE4typeE:
  313|  12.0k|    {
  314|  12.0k|        return static_if<embed_relaxed, node_t*>(
  315|  12.0k|            [&](auto) { return node_t::make_inner_r_e(e); },
  316|  12.0k|            [&](auto) {
  317|  12.0k|                auto p =
  318|  12.0k|                    new (heap::allocate(node_t::max_sizeof_inner_r)) node_t;
  319|  12.0k|                node_t::refs(r).inc();
  320|  12.0k|                p->impl.d.data.inner.relaxed = r;
  321|  12.0k|                node_t::ownee(p)             = e;
  322|  12.0k|#if IMMER_TAGGED_NODE
  323|  12.0k|                p->impl.d.kind = node_t::kind_t::inner;
  324|  12.0k|#endif
  325|  12.0k|                return p;
  326|  12.0k|            });
  327|  12.0k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15make_inner_sr_eENS9_5applyIS6_E4type4editEPNS0_3csl10member_twoINSB_14relaxed_data_tENSG_6memberIS7_NSG_7inheritINSE_5owneeEvE4typeEE4typeEE4typeEENKUlT_E0_clINS0_7empty_tEEEDaST_:
  316|  12.0k|            [&](auto) {
  317|  12.0k|                auto p =
  318|  12.0k|                    new (heap::allocate(node_t::max_sizeof_inner_r)) node_t;
  319|  12.0k|                node_t::refs(r).inc();
  320|  12.0k|                p->impl.d.data.inner.relaxed = r;
  321|  12.0k|                node_t::ownee(p)             = e;
  322|  12.0k|#if IMMER_TAGGED_NODE
  323|  12.0k|                p->impl.d.kind = node_t::kind_t::inner;
  324|  12.0k|#endif
  325|  12.0k|                return p;
  326|  12.0k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16do_copy_inner_srEPSB_SC_j:
  640|  12.0k|    {
  641|  12.0k|        if (embed_relaxed)
  ------------------
  |  Branch (641:13): [Folded, False: 12.0k]
  ------------------
  642|      0|            return do_copy_inner_r(dst, src, n);
  643|  12.0k|        else {
  644|  12.0k|            inc_nodes(src->inner(), n);
  645|  12.0k|            std::copy(src->inner(), src->inner() + n, dst->inner());
  646|  12.0k|            return dst;
  647|  12.0k|        }
  648|  12.0k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_jj:
  763|   175k|    {
  764|   175k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   175k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (764:9): [True: 175k, False: 0]
  ------------------
  765|   175k|        auto dst = make_leaf_e(e);
  766|   175k|        IMMER_TRY {
  ------------------
  |  |   49|   175k|#define IMMER_TRY try
  ------------------
  767|   175k|            detail::uninitialized_copy(
  768|   175k|                src->leaf() + idx, src->leaf() + last, dst->leaf());
  769|   175k|        }
  770|   175k|        IMMER_CATCH (...) {
  771|      0|            heap::deallocate(max_sizeof_leaf, dst);
  772|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  773|      0|        }
  774|   175k|        return dst;
  775|   175k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE22ensure_mutable_relaxedENS9_5applyIS6_E4type4editE:
  877|   201k|    {
  878|   201k|        auto src_r = relaxed();
  879|   201k|        return static_if<embed_relaxed, relaxed_t*>(
  880|   201k|            [&](auto) { return src_r; },
  881|   201k|            [&](auto) {
  882|   201k|                if (node_t::refs(src_r).unique() ||
  883|   201k|                    node_t::ownee(src_r).can_mutate(e))
  884|   201k|                    return src_r;
  885|   201k|                else {
  886|   201k|                    auto dst_r = impl.d.data.inner.relaxed =
  887|   201k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  888|   201k|                    if (src_r) {
  889|   201k|                        auto n = dst_r->d.count = src_r->d.count;
  890|   201k|                        std::copy(
  891|   201k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  892|   201k|                        if (node_t::refs(src_r).dec())
  893|   201k|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  894|   201k|                                             src_r);
  895|   201k|                    }
  896|   201k|                    node_t::ownee(dst_r) = e;
  897|   201k|                    return dst_r;
  898|   201k|                }
  899|   201k|            });
  900|   201k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE22ensure_mutable_relaxedENS9_5applyIS6_E4type4editEENKUlT_E0_clINS0_7empty_tEEEDaSG_:
  881|   201k|            [&](auto) {
  882|   201k|                if (node_t::refs(src_r).unique() ||
  ------------------
  |  Branch (882:21): [True: 193k, False: 8.55k]
  ------------------
  883|  8.55k|                    node_t::ownee(src_r).can_mutate(e))
  ------------------
  |  Branch (883:21): [True: 0, False: 8.55k]
  ------------------
  884|   193k|                    return src_r;
  885|  8.55k|                else {
  886|  8.55k|                    auto dst_r = impl.d.data.inner.relaxed =
  887|  8.55k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  888|  8.55k|                    if (src_r) {
  ------------------
  |  Branch (888:25): [True: 8.55k, False: 0]
  ------------------
  889|  8.55k|                        auto n = dst_r->d.count = src_r->d.count;
  890|  8.55k|                        std::copy(
  891|  8.55k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  892|  8.55k|                        if (node_t::refs(src_r).dec())
  ------------------
  |  Branch (892:29): [True: 0, False: 8.55k]
  ------------------
  893|      0|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  894|      0|                                             src_r);
  895|  8.55k|                    }
  896|  8.55k|                    node_t::ownee(dst_r) = e;
  897|  8.55k|                    return dst_r;
  898|  8.55k|                }
  899|   201k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_jSG_j:
  738|    267|    {
  739|    267|        IMMER_ASSERT_TAGGED(src1->kind() == kind_t::leaf);
  ------------------
  |  |   68|    267|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (739:9): [True: 267, False: 0]
  ------------------
  740|    267|        IMMER_ASSERT_TAGGED(src2->kind() == kind_t::leaf);
  ------------------
  |  |   68|    267|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (740:9): [True: 267, False: 0]
  ------------------
  741|    267|        auto dst = make_leaf_e(e);
  742|    267|        IMMER_TRY {
  ------------------
  |  |   49|    267|#define IMMER_TRY try
  ------------------
  743|    267|            detail::uninitialized_copy(
  744|    267|                src1->leaf(), src1->leaf() + n1, dst->leaf());
  745|    267|        }
  746|    267|        IMMER_CATCH (...) {
  747|      0|            heap::deallocate(max_sizeof_leaf, dst);
  748|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  749|      0|        }
  750|    267|        IMMER_TRY {
  ------------------
  |  |   49|    267|#define IMMER_TRY try
  ------------------
  751|    267|            detail::uninitialized_copy(
  752|    267|                src2->leaf(), src2->leaf() + n2, dst->leaf() + n1);
  753|    267|        }
  754|    267|        IMMER_CATCH (...) {
  755|      0|            detail::destroy_n(dst->leaf(), n1);
  756|      0|            heap::deallocate(max_sizeof_leaf, dst);
  757|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  758|      0|        }
  759|    267|        return dst;
  760|    267|    }

_ZN5immer6detail4rbts11dec_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  523|  37.1M|    {
  524|  37.1M|        using node_t = node_type<Pos>;
  525|  37.1M|        auto node    = p.node();
  526|  37.1M|        if (node->dec()) {
  ------------------
  |  Branch (526:13): [True: 12.1M, False: 24.9M]
  ------------------
  527|  12.1M|            p.each(this_t{});
  528|  12.1M|            node_t::delete_inner_r(node, p.count());
  529|  12.1M|        }
  530|  37.1M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  2.73M|    {
  535|  2.73M|        using node_t = node_type<Pos>;
  536|  2.73M|        auto node    = p.node();
  537|  2.73M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 620k, False: 2.11M]
  ------------------
  538|   620k|            p.each(this_t{});
  539|   620k|            node_t::delete_inner(node, p.count());
  540|   620k|        }
  541|  2.73M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  1.27M|    {
  546|  1.27M|        using node_t = node_type<Pos>;
  547|  1.27M|        auto node    = p.node();
  548|  1.27M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 572k, False: 701k]
  ------------------
  549|   572k|            node_t::delete_leaf(node, p.count());
  550|   572k|        }
  551|  1.27M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|   493k|    {
  546|   493k|        using node_t = node_type<Pos>;
  547|   493k|        auto node    = p.node();
  548|   493k|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 20.4k, False: 472k]
  ------------------
  549|  20.4k|            node_t::delete_leaf(node, p.count());
  550|  20.4k|        }
  551|   493k|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  3.61M|    {
  535|  3.61M|        using node_t = node_type<Pos>;
  536|  3.61M|        auto node    = p.node();
  537|  3.61M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 247k, False: 3.36M]
  ------------------
  538|   247k|            p.each(this_t{});
  539|   247k|            node_t::delete_inner(node, p.count());
  540|   247k|        }
  541|  3.61M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  2.50M|    {
  535|  2.50M|        using node_t = node_type<Pos>;
  536|  2.50M|        auto node    = p.node();
  537|  2.50M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 2.36M, False: 143k]
  ------------------
  538|  2.36M|            p.each(this_t{});
  539|  2.36M|            node_t::delete_inner(node, p.count());
  540|  2.36M|        }
  541|  2.50M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  1.73M|    {
  535|  1.73M|        using node_t = node_type<Pos>;
  536|  1.73M|        auto node    = p.node();
  537|  1.73M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 0, False: 1.73M]
  ------------------
  538|      0|            p.each(this_t{});
  539|      0|            node_t::delete_inner(node, p.count());
  540|      0|        }
  541|  1.73M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  10.7M|    {
  546|  10.7M|        using node_t = node_type<Pos>;
  547|  10.7M|        auto node    = p.node();
  548|  10.7M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 922k, False: 9.87M]
  ------------------
  549|   922k|            node_t::delete_leaf(node, p.count());
  550|   922k|        }
  551|  10.7M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  1.64M|    {
  546|  1.64M|        using node_t = node_type<Pos>;
  547|  1.64M|        auto node    = p.node();
  548|  1.64M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 0, False: 1.64M]
  ------------------
  549|      0|            node_t::delete_leaf(node, p.count());
  550|      0|        }
  551|  1.64M|    }
_ZN5immer6detail4rbts17push_tail_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_relaxedIRNS1_11relaxed_posISC_EEEEPSC_OT_SI_j:
  791|   573k|    {
  792|   573k|        auto level    = pos.shift();
  793|   573k|        auto idx      = pos.count() - 1;
  794|   573k|        auto children = pos.size(idx);
  795|   573k|        auto new_idx =
  796|   573k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (796:13): [True: 13.3k, False: 559k]
  |  Branch (796:47): [True: 816, False: 558k]
  ------------------
  797|   573k|        auto new_child = static_cast<node_t*>(nullptr);
  798|   573k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (798:13): [True: 4.82k, False: 568k]
  ------------------
  799|  4.82k|            return nullptr;
  800|   568k|        else if (idx == new_idx) {
  ------------------
  |  Branch (800:18): [True: 558k, False: 9.34k]
  ------------------
  801|   558k|            new_child = pos.last_oh_csh(this_t{}, idx, children, tail, ts);
  802|   558k|            if (!new_child) {
  ------------------
  |  Branch (802:17): [True: 3.93k, False: 554k]
  ------------------
  803|  3.93k|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (803:21): [True: 2.78k, False: 1.14k]
  ------------------
  804|  2.78k|                    new_child = node_t::make_path(level - B, tail);
  805|  1.14k|                else
  806|  1.14k|                    return nullptr;
  807|  3.93k|            }
  808|   558k|        } else
  809|  9.34k|            new_child = node_t::make_path(level - B, tail);
  810|   567k|        IMMER_TRY {
  ------------------
  |  |   49|   567k|#define IMMER_TRY try
  ------------------
  811|   567k|            auto count = new_idx + 1;
  812|   567k|            auto new_parent =
  813|   567k|                node_t::copy_inner_r_n(count, pos.node(), new_idx);
  814|   567k|            auto new_relaxed              = new_parent->relaxed();
  815|   567k|            new_parent->inner()[new_idx]  = new_child;
  816|   567k|            new_relaxed->d.sizes[new_idx] = pos.size() + ts;
  817|   567k|            new_relaxed->d.count          = count;
  818|   567k|            assert(new_relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (818:13): [True: 567k, False: 0]
  ------------------
  819|   567k|            return new_parent;
  820|   567k|        }
  821|   567k|        IMMER_CATCH (...) {
  822|      0|            auto shift = pos.shift();
  823|      0|            auto size  = new_idx == idx ? children + ts : ts;
  ------------------
  |  Branch (823:26): [True: 0, False: 0]
  ------------------
  824|      0|            if (shift > BL) {
  ------------------
  |  Branch (824:17): [True: 0, False: 0]
  ------------------
  825|      0|                tail->inc();
  826|      0|                dec_inner(new_child, shift - B, size);
  827|      0|            }
  828|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  829|      0|        }
  830|   567k|    }
_ZN5immer6detail4rbts17push_tail_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_15regular_sub_posISC_EEJRjEEEPSC_OT_SJ_DpOT0_:
  834|   236k|    {
  835|   236k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 236k, False: 0]
  ------------------
  836|   236k|        auto idx        = pos.index(pos.size() - 1);
  837|   236k|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|   236k|        auto count      = new_idx + 1;
  839|   236k|        auto new_parent = node_t::make_inner_n(count);
  840|   236k|        IMMER_TRY {
  ------------------
  |  |   49|   236k|#define IMMER_TRY try
  ------------------
  841|   236k|            new_parent->inner()[new_idx] =
  842|   236k|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 227k, False: 8.41k]
  ------------------
  843|       |                               /* otherwise */
  844|   236k|                               : node_t::make_path(pos.shift() - B, tail);
  845|   236k|        }
  846|   236k|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|   236k|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|   236k|    }
_ZN5immer6detail4rbts17push_tail_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_11regular_posISC_EEJEEEPSC_OT_SI_DpOT0_:
  834|  2.32M|    {
  835|  2.32M|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 2.32M, False: 0]
  ------------------
  836|  2.32M|        auto idx        = pos.index(pos.size() - 1);
  837|  2.32M|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|  2.32M|        auto count      = new_idx + 1;
  839|  2.32M|        auto new_parent = node_t::make_inner_n(count);
  840|  2.32M|        IMMER_TRY {
  ------------------
  |  |   49|  2.32M|#define IMMER_TRY try
  ------------------
  841|  2.32M|            new_parent->inner()[new_idx] =
  842|  2.32M|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 1.79M, False: 535k]
  ------------------
  843|       |                               /* otherwise */
  844|  2.32M|                               : node_t::make_path(pos.shift() - B, tail);
  845|  2.32M|        }
  846|  2.32M|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|  2.32M|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|  2.32M|    }
_ZN5immer6detail4rbts9dec_innerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_jm:
  562|    521|{
  563|    521|    visit_maybe_relaxed_sub(node, shift, size, dec_visitor());
  564|    521|}
_ZN5immer6detail4rbts17push_tail_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_15regular_sub_posISC_EEJEEEPSC_OT_SI_DpOT0_:
  834|   323k|    {
  835|   323k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 323k, False: 0]
  ------------------
  836|   323k|        auto idx        = pos.index(pos.size() - 1);
  837|   323k|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|   323k|        auto count      = new_idx + 1;
  839|   323k|        auto new_parent = node_t::make_inner_n(count);
  840|   323k|        IMMER_TRY {
  ------------------
  |  |   49|   323k|#define IMMER_TRY try
  ------------------
  841|   323k|            new_parent->inner()[new_idx] =
  842|   323k|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 307k, False: 15.9k]
  ------------------
  843|       |                               /* otherwise */
  844|   323k|                               : node_t::make_path(pos.shift() - B, tail);
  845|   323k|        }
  846|   323k|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|   323k|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|   323k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  502|  87.5k|    {
  503|  87.5k|        auto offset = pos.index(idx);
  504|  87.5k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  87.5k|        IMMER_TRY {
  ------------------
  |  |   49|  87.5k|#define IMMER_TRY try
  ------------------
  506|  87.5k|            node->leaf()[offset] =
  507|  87.5k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  87.5k|            return node;
  509|  87.5k|        }
  510|  87.5k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  87.5k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_relaxedIRNS1_11relaxed_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  466|   299k|    {
  467|   299k|        auto offset = pos.index(idx);
  468|   299k|        auto count  = pos.count();
  469|   299k|        auto node   = node_t::make_inner_sr_n(count, pos.relaxed());
  470|   299k|        IMMER_TRY {
  ------------------
  |  |   49|   299k|#define IMMER_TRY try
  ------------------
  471|   299k|            auto child = pos.towards_oh(this_t{}, idx, offset, fn);
  472|   299k|            node_t::do_copy_inner_replace_sr(
  473|   299k|                node, pos.node(), count, offset, child);
  474|   299k|            return node;
  475|   299k|        }
  476|   299k|        IMMER_CATCH (...) {
  477|      0|            node_t::delete_inner_r(node, count);
  478|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  479|      0|        }
  480|   299k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_15regular_sub_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  484|  24.5k|    {
  485|  24.5k|        auto offset = pos.index(idx);
  486|  24.5k|        auto count  = pos.count();
  487|  24.5k|        auto node   = node_t::make_inner_n(count);
  488|  24.5k|        IMMER_TRY {
  ------------------
  |  |   49|  24.5k|#define IMMER_TRY try
  ------------------
  489|  24.5k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  24.5k|            node_t::do_copy_inner_replace(
  491|  24.5k|                node, pos.node(), count, offset, child);
  492|  24.5k|            return node;
  493|  24.5k|        }
  494|  24.5k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  24.5k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_13full_leaf_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  502|  21.5k|    {
  503|  21.5k|        auto offset = pos.index(idx);
  504|  21.5k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  21.5k|        IMMER_TRY {
  ------------------
  |  |   49|  21.5k|#define IMMER_TRY try
  ------------------
  506|  21.5k|            node->leaf()[offset] =
  507|  21.5k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  21.5k|            return node;
  509|  21.5k|        }
  510|  21.5k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  21.5k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_8full_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  484|  17.8k|    {
  485|  17.8k|        auto offset = pos.index(idx);
  486|  17.8k|        auto count  = pos.count();
  487|  17.8k|        auto node   = node_t::make_inner_n(count);
  488|  17.8k|        IMMER_TRY {
  ------------------
  |  |   49|  17.8k|#define IMMER_TRY try
  ------------------
  489|  17.8k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  17.8k|            node_t::do_copy_inner_replace(
  491|  17.8k|                node, pos.node(), count, offset, child);
  492|  17.8k|            return node;
  493|  17.8k|        }
  494|  17.8k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  17.8k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_8leaf_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  502|  3.01k|    {
  503|  3.01k|        auto offset = pos.index(idx);
  504|  3.01k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  3.01k|        IMMER_TRY {
  ------------------
  |  |   49|  3.01k|#define IMMER_TRY try
  ------------------
  506|  3.01k|            node->leaf()[offset] =
  507|  3.01k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  3.01k|            return node;
  509|  3.01k|        }
  510|  3.01k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  3.01k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_11regular_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  484|  4.81k|    {
  485|  4.81k|        auto offset = pos.index(idx);
  486|  4.81k|        auto count  = pos.count();
  487|  4.81k|        auto node   = node_t::make_inner_n(count);
  488|  4.81k|        IMMER_TRY {
  ------------------
  |  |   49|  4.81k|#define IMMER_TRY try
  ------------------
  489|  4.81k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  4.81k|            node_t::do_copy_inner_replace(
  491|  4.81k|                node, pos.node(), count, offset, child);
  492|  4.81k|            return node;
  493|  4.81k|        }
  494|  4.81k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  4.81k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1096|  38.5k|    {
 1097|  38.5k|        auto idx = pos.index(last);
 1098|  38.5k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1098:13): [True: 38.5k, Folded]
  |  Branch (1098:25): [True: 28.9k, False: 9.67k]
  ------------------
 1099|  28.9k|            return pos.towards_oh(this_t{}, last, idx);
 1100|  28.9k|        } else {
 1101|  9.67k|            using std::get;
 1102|  9.67k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1103|  9.67k|            auto next = get<1>(subs);
 1104|  9.67k|            auto ts   = get<2>(subs);
 1105|  9.67k|            auto tail = get<3>(subs);
 1106|  9.67k|            IMMER_TRY {
  ------------------
  |  |   49|  9.67k|#define IMMER_TRY try
  ------------------
 1107|  9.67k|                if (next) {
  ------------------
  |  Branch (1107:21): [True: 5.71k, False: 3.95k]
  ------------------
 1108|  5.71k|                    auto count = idx + 1;
 1109|  5.71k|                    auto newn  = node_t::copy_inner_r_n(count, pos.node(), idx);
 1110|  5.71k|                    auto newr  = newn->relaxed();
 1111|  5.71k|                    newn->inner()[idx] = next;
 1112|  5.71k|                    newr->d.sizes[idx] = last + 1 - ts;
 1113|  5.71k|                    newr->d.count      = count;
 1114|  5.71k|                    assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (1114:21): [True: 5.71k, False: 0]
  ------------------
 1115|  5.71k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1116|  5.71k|                } else if (idx == 0) {
  ------------------
  |  Branch (1116:28): [True: 0, False: 3.95k]
  ------------------
 1117|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1118|  3.95k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1118:28): [True: 3.95k, Folded]
  |  Branch (1118:40): [True: 2.96k, False: 988]
  |  Branch (1118:52): [True: 2.08k, False: 887]
  ------------------
 1119|  2.08k|                    auto newn = pos.node()->inner()[0];
 1120|  2.08k|                    return std::make_tuple(
 1121|  2.08k|                        pos.shift() - B, newn->inc(), ts, tail);
 1122|  2.08k|                } else {
 1123|  1.87k|                    auto newn = node_t::copy_inner_r(pos.node(), idx);
 1124|  1.87k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1125|  1.87k|                }
 1126|  9.67k|            }
 1127|  9.67k|            IMMER_CATCH (...) {
 1128|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1128:17): [True: 0, False: 0]
  |  Branch (1128:17): [True: 0, False: 0]
  |  Branch (1128:17): [True: 0, False: 0]
  ------------------
 1129|      0|                if (next)
  ------------------
  |  Branch (1129:21): [True: 0, False: 0]
  ------------------
 1130|      0|                    dec_inner(next,
 1131|      0|                              pos.shift() - B,
 1132|      0|                              last + 1 - ts - pos.size_before(idx));
 1133|      0|                if (tail)
  ------------------
  |  Branch (1133:21): [True: 0, False: 0]
  ------------------
 1134|      0|                    dec_leaf(tail, ts);
 1135|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1136|      0|            }
 1137|  9.67k|        }
 1138|  38.5k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  2.06k|    {
 1182|  2.06k|        auto old_tail_size = pos.count();
 1183|  2.06k|        auto new_tail_size = pos.index(last) + 1;
 1184|  2.06k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 1.05k, False: 1.00k]
  ------------------
 1185|  2.06k|                                 ? pos.node()->inc()
 1186|  2.06k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  2.06k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  2.06k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  5.47k|    {
 1182|  5.47k|        auto old_tail_size = pos.count();
 1183|  5.47k|        auto new_tail_size = pos.index(last) + 1;
 1184|  5.47k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 2.25k, False: 3.22k]
  ------------------
 1185|  5.47k|                                 ? pos.node()->inc()
 1186|  5.47k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  5.47k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  5.47k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1096|  12.0k|    {
 1097|  12.0k|        auto idx = pos.index(last);
 1098|  12.0k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1098:13): [Folded, False: 12.0k]
  |  Branch (1098:25): [True: 0, False: 0]
  ------------------
 1099|      0|            return pos.towards_oh(this_t{}, last, idx);
 1100|  12.0k|        } else {
 1101|  12.0k|            using std::get;
 1102|  12.0k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1103|  12.0k|            auto next = get<1>(subs);
 1104|  12.0k|            auto ts   = get<2>(subs);
 1105|  12.0k|            auto tail = get<3>(subs);
 1106|  12.0k|            IMMER_TRY {
  ------------------
  |  |   49|  12.0k|#define IMMER_TRY try
  ------------------
 1107|  12.0k|                if (next) {
  ------------------
  |  Branch (1107:21): [True: 6.49k, False: 5.53k]
  ------------------
 1108|  6.49k|                    auto count = idx + 1;
 1109|  6.49k|                    auto newn  = node_t::copy_inner_r_n(count, pos.node(), idx);
 1110|  6.49k|                    auto newr  = newn->relaxed();
 1111|  6.49k|                    newn->inner()[idx] = next;
 1112|  6.49k|                    newr->d.sizes[idx] = last + 1 - ts;
 1113|  6.49k|                    newr->d.count      = count;
 1114|  6.49k|                    assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (1114:21): [True: 6.49k, False: 0]
  ------------------
 1115|  6.49k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1116|  6.49k|                } else if (idx == 0) {
  ------------------
  |  Branch (1116:28): [True: 2.55k, False: 2.98k]
  ------------------
 1117|  2.55k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1118|  2.98k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1118:28): [Folded, False: 2.98k]
  |  Branch (1118:40): [True: 0, False: 0]
  |  Branch (1118:52): [True: 0, False: 0]
  ------------------
 1119|      0|                    auto newn = pos.node()->inner()[0];
 1120|      0|                    return std::make_tuple(
 1121|      0|                        pos.shift() - B, newn->inc(), ts, tail);
 1122|  2.98k|                } else {
 1123|  2.98k|                    auto newn = node_t::copy_inner_r(pos.node(), idx);
 1124|  2.98k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1125|  2.98k|                }
 1126|  12.0k|            }
 1127|  12.0k|            IMMER_CATCH (...) {
 1128|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1128:17): [True: 0, False: 0]
  |  Branch (1128:17): [True: 0, False: 0]
  |  Branch (1128:17): [True: 0, False: 0]
  ------------------
 1129|      0|                if (next)
  ------------------
  |  Branch (1129:21): [True: 0, False: 0]
  ------------------
 1130|      0|                    dec_inner(next,
 1131|      0|                              pos.shift() - B,
 1132|      0|                              last + 1 - ts - pos.size_before(idx));
 1133|      0|                if (tail)
  ------------------
  |  Branch (1133:21): [True: 0, False: 0]
  ------------------
 1134|      0|                    dec_leaf(tail, ts);
 1135|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1136|      0|            }
 1137|  12.0k|        }
 1138|  12.0k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  4.19k|    {
 1143|  4.19k|        auto idx = pos.index(last);
 1144|  4.19k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 4.19k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  4.19k|        } else {
 1147|  4.19k|            using std::get;
 1148|  4.19k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  4.19k|            auto next = get<1>(subs);
 1150|  4.19k|            auto ts   = get<2>(subs);
 1151|  4.19k|            auto tail = get<3>(subs);
 1152|  4.19k|            IMMER_TRY {
  ------------------
  |  |   49|  4.19k|#define IMMER_TRY try
  ------------------
 1153|  4.19k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 1.94k, False: 2.25k]
  ------------------
 1154|  1.94k|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|  1.94k|                    newn->inner()[idx] = next;
 1156|  1.94k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.25k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 1.46k, False: 787]
  ------------------
 1158|  1.46k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.46k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 787]
  |  Branch (1159:40): [True: 0, False: 0]
  |  Branch (1159:52): [True: 0, False: 0]
  ------------------
 1160|      0|                    auto newn = pos.node()->inner()[0];
 1161|      0|                    return std::make_tuple(
 1162|      0|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|    787|                } else {
 1164|    787|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    787|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    787|                }
 1167|  4.19k|            }
 1168|  4.19k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  4.19k|        }
 1177|  4.19k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  6.57k|    {
 1182|  6.57k|        auto old_tail_size = pos.count();
 1183|  6.57k|        auto new_tail_size = pos.index(last) + 1;
 1184|  6.57k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 4.04k, False: 2.53k]
  ------------------
 1185|  6.57k|                                 ? pos.node()->inc()
 1186|  6.57k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  6.57k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  6.57k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  2.90k|    {
 1143|  2.90k|        auto idx = pos.index(last);
 1144|  2.90k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 2.90k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  2.90k|        } else {
 1147|  2.90k|            using std::get;
 1148|  2.90k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  2.90k|            auto next = get<1>(subs);
 1150|  2.90k|            auto ts   = get<2>(subs);
 1151|  2.90k|            auto tail = get<3>(subs);
 1152|  2.90k|            IMMER_TRY {
  ------------------
  |  |   49|  2.90k|#define IMMER_TRY try
  ------------------
 1153|  2.90k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 334, False: 2.56k]
  ------------------
 1154|    334|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    334|                    newn->inner()[idx] = next;
 1156|    334|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.56k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 1.47k, False: 1.09k]
  ------------------
 1158|  1.47k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.47k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 1.09k]
  |  Branch (1159:40): [True: 0, False: 0]
  |  Branch (1159:52): [True: 0, False: 0]
  ------------------
 1160|      0|                    auto newn = pos.node()->inner()[0];
 1161|      0|                    return std::make_tuple(
 1162|      0|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|  1.09k|                } else {
 1164|  1.09k|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|  1.09k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|  1.09k|                }
 1167|  2.90k|            }
 1168|  2.90k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  2.90k|        }
 1177|  2.90k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  2.34k|    {
 1182|  2.34k|        auto old_tail_size = pos.count();
 1183|  2.34k|        auto new_tail_size = pos.index(last) + 1;
 1184|  2.34k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 1.21k, False: 1.13k]
  ------------------
 1185|  2.34k|                                 ? pos.node()->inc()
 1186|  2.34k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  2.34k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  2.34k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_11regular_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  5.00k|    {
 1143|  5.00k|        auto idx = pos.index(last);
 1144|  5.00k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 5.00k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  5.00k|        } else {
 1147|  5.00k|            using std::get;
 1148|  5.00k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  5.00k|            auto next = get<1>(subs);
 1150|  5.00k|            auto ts   = get<2>(subs);
 1151|  5.00k|            auto tail = get<3>(subs);
 1152|  5.00k|            IMMER_TRY {
  ------------------
  |  |   49|  5.00k|#define IMMER_TRY try
  ------------------
 1153|  5.00k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 1.19k, False: 3.81k]
  ------------------
 1154|  1.19k|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|  1.19k|                    newn->inner()[idx] = next;
 1156|  1.19k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  3.81k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 1.78k, False: 2.03k]
  ------------------
 1158|  1.78k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  2.03k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 2.03k]
  |  Branch (1159:40): [True: 0, False: 0]
  |  Branch (1159:52): [True: 0, False: 0]
  ------------------
 1160|      0|                    auto newn = pos.node()->inner()[0];
 1161|      0|                    return std::make_tuple(
 1162|      0|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|  2.03k|                } else {
 1164|  2.03k|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|  2.03k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|  2.03k|                }
 1167|  5.00k|            }
 1168|  5.00k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  5.00k|        }
 1177|  5.00k|    }
_ZN5immer6detail4rbts8dec_leafINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_j:
  556|  40.8k|{
  557|  40.8k|    make_leaf_sub_pos(node, n).visit(dec_visitor{});
  558|  40.8k|}
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  6.84k|    {
 1143|  6.84k|        auto idx = pos.index(last);
 1144|  6.84k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [True: 6.84k, Folded]
  |  Branch (1144:25): [True: 3.63k, False: 3.21k]
  ------------------
 1145|  3.63k|            return pos.towards_oh(this_t{}, last, idx);
 1146|  3.63k|        } else {
 1147|  3.21k|            using std::get;
 1148|  3.21k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  3.21k|            auto next = get<1>(subs);
 1150|  3.21k|            auto ts   = get<2>(subs);
 1151|  3.21k|            auto tail = get<3>(subs);
 1152|  3.21k|            IMMER_TRY {
  ------------------
  |  |   49|  3.21k|#define IMMER_TRY try
  ------------------
 1153|  3.21k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 835, False: 2.37k]
  ------------------
 1154|    835|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    835|                    newn->inner()[idx] = next;
 1156|    835|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.37k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 0, False: 2.37k]
  ------------------
 1158|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  2.37k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [True: 2.37k, Folded]
  |  Branch (1159:40): [True: 1.99k, False: 386]
  |  Branch (1159:52): [True: 1.44k, False: 545]
  ------------------
 1160|  1.44k|                    auto newn = pos.node()->inner()[0];
 1161|  1.44k|                    return std::make_tuple(
 1162|  1.44k|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|  1.44k|                } else {
 1164|    931|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    931|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    931|                }
 1167|  3.21k|            }
 1168|  3.21k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  3.21k|        }
 1177|  6.84k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  1.45k|    {
 1182|  1.45k|        auto old_tail_size = pos.count();
 1183|  1.45k|        auto new_tail_size = pos.index(last) + 1;
 1184|  1.45k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 521, False: 932]
  ------------------
 1185|  1.45k|                                 ? pos.node()->inc()
 1186|  1.45k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  1.45k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  1.45k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  2.72k|    {
 1143|  2.72k|        auto idx = pos.index(last);
 1144|  2.72k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [True: 2.72k, Folded]
  |  Branch (1144:25): [True: 1.20k, False: 1.51k]
  ------------------
 1145|  1.20k|            return pos.towards_oh(this_t{}, last, idx);
 1146|  1.51k|        } else {
 1147|  1.51k|            using std::get;
 1148|  1.51k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  1.51k|            auto next = get<1>(subs);
 1150|  1.51k|            auto ts   = get<2>(subs);
 1151|  1.51k|            auto tail = get<3>(subs);
 1152|  1.51k|            IMMER_TRY {
  ------------------
  |  |   49|  1.51k|#define IMMER_TRY try
  ------------------
 1153|  1.51k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 343, False: 1.17k]
  ------------------
 1154|    343|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    343|                    newn->inner()[idx] = next;
 1156|    343|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  1.17k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 0, False: 1.17k]
  ------------------
 1158|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.17k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [True: 1.17k, Folded]
  |  Branch (1159:40): [True: 756, False: 418]
  |  Branch (1159:52): [True: 446, False: 310]
  ------------------
 1160|    446|                    auto newn = pos.node()->inner()[0];
 1161|    446|                    return std::make_tuple(
 1162|    446|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|    728|                } else {
 1164|    728|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    728|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    728|                }
 1167|  1.51k|            }
 1168|  1.51k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  1.51k|        }
 1177|  2.72k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|    664|    {
 1182|    664|        auto old_tail_size = pos.count();
 1183|    664|        auto new_tail_size = pos.index(last) + 1;
 1184|    664|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 269, False: 395]
  ------------------
 1185|    664|                                 ? pos.node()->inc()
 1186|    664|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|    664|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|    664|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE11visit_innerIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  15.5k|    {
 1415|  15.5k|        auto idx                = pos.subindex(first);
 1416|  15.5k|        auto count              = pos.count();
 1417|  15.5k|        auto left_size          = pos.size_before(idx);
 1418|  15.5k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  15.5k|        auto dropped_size       = first;
 1420|  15.5k|        auto child_dropped_size = dropped_size - left_size;
 1421|  15.5k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 15.5k, Folded]
  |  Branch (1421:25): [True: 13.6k, False: 1.95k]
  |  Branch (1421:45): [True: 4.66k, False: 8.93k]
  ------------------
 1422|  4.66k|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  10.8k|        } else {
 1424|  10.8k|            using std::get;
 1425|  10.8k|            auto n    = pos.node();
 1426|  10.8k|            auto newc = count - idx;
 1427|  10.8k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  10.8k|            IMMER_TRY {
  ------------------
  |  |   49|  10.8k|#define IMMER_TRY try
  ------------------
 1429|  10.8k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  10.8k|                auto newr     = newn->relaxed();
 1431|  10.8k|                newr->d.count = count - idx;
 1432|  10.8k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  10.8k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 10.8k, False: 0]
  ------------------
 1434|  10.8k|                pos.copy_sizes(idx + 1,
 1435|  10.8k|                               newr->d.count - 1,
 1436|  10.8k|                               newr->d.sizes[0],
 1437|  10.8k|                               newr->d.sizes + 1);
 1438|  10.8k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 10.8k, False: 0]
  ------------------
 1439|  10.8k|                       pos.size() - dropped_size);
 1440|  10.8k|                newn->inner()[0] = get<1>(subs);
 1441|  10.8k|                std::copy(n->inner() + idx + 1,
 1442|  10.8k|                          n->inner() + count,
 1443|  10.8k|                          newn->inner() + 1);
 1444|  10.8k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  10.8k|                return std::make_tuple(pos.shift(), newn);
 1446|  10.8k|            }
 1447|  10.8k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  10.8k|        }
 1452|  15.5k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1456|  8.68k|    {
 1457|  8.68k|        auto n = node_t::copy_leaf(pos.node(), pos.index(first), pos.count());
 1458|  8.68k|        return std::make_tuple(0, n);
 1459|  8.68k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE11visit_innerIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  46.2k|    {
 1415|  46.2k|        auto idx                = pos.subindex(first);
 1416|  46.2k|        auto count              = pos.count();
 1417|  46.2k|        auto left_size          = pos.size_before(idx);
 1418|  46.2k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  46.2k|        auto dropped_size       = first;
 1420|  46.2k|        auto child_dropped_size = dropped_size - left_size;
 1421|  46.2k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 46.2k]
  |  Branch (1421:25): [True: 0, False: 0]
  |  Branch (1421:45): [True: 0, False: 0]
  ------------------
 1422|      0|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  46.2k|        } else {
 1424|  46.2k|            using std::get;
 1425|  46.2k|            auto n    = pos.node();
 1426|  46.2k|            auto newc = count - idx;
 1427|  46.2k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  46.2k|            IMMER_TRY {
  ------------------
  |  |   49|  46.2k|#define IMMER_TRY try
  ------------------
 1429|  46.2k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  46.2k|                auto newr     = newn->relaxed();
 1431|  46.2k|                newr->d.count = count - idx;
 1432|  46.2k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  46.2k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 46.2k, False: 0]
  ------------------
 1434|  46.2k|                pos.copy_sizes(idx + 1,
 1435|  46.2k|                               newr->d.count - 1,
 1436|  46.2k|                               newr->d.sizes[0],
 1437|  46.2k|                               newr->d.sizes + 1);
 1438|  46.2k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 46.2k, False: 0]
  ------------------
 1439|  46.2k|                       pos.size() - dropped_size);
 1440|  46.2k|                newn->inner()[0] = get<1>(subs);
 1441|  46.2k|                std::copy(n->inner() + idx + 1,
 1442|  46.2k|                          n->inner() + count,
 1443|  46.2k|                          newn->inner() + 1);
 1444|  46.2k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  46.2k|                return std::make_tuple(pos.shift(), newn);
 1446|  46.2k|            }
 1447|  46.2k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  46.2k|        }
 1452|  46.2k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE11visit_innerIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  2.21k|    {
 1415|  2.21k|        auto idx                = pos.subindex(first);
 1416|  2.21k|        auto count              = pos.count();
 1417|  2.21k|        auto left_size          = pos.size_before(idx);
 1418|  2.21k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  2.21k|        auto dropped_size       = first;
 1420|  2.21k|        auto child_dropped_size = dropped_size - left_size;
 1421|  2.21k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 2.21k]
  |  Branch (1421:25): [True: 0, False: 0]
  |  Branch (1421:45): [True: 0, False: 0]
  ------------------
 1422|      0|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  2.21k|        } else {
 1424|  2.21k|            using std::get;
 1425|  2.21k|            auto n    = pos.node();
 1426|  2.21k|            auto newc = count - idx;
 1427|  2.21k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  2.21k|            IMMER_TRY {
  ------------------
  |  |   49|  2.21k|#define IMMER_TRY try
  ------------------
 1429|  2.21k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  2.21k|                auto newr     = newn->relaxed();
 1431|  2.21k|                newr->d.count = count - idx;
 1432|  2.21k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  2.21k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 2.21k, False: 0]
  ------------------
 1434|  2.21k|                pos.copy_sizes(idx + 1,
 1435|  2.21k|                               newr->d.count - 1,
 1436|  2.21k|                               newr->d.sizes[0],
 1437|  2.21k|                               newr->d.sizes + 1);
 1438|  2.21k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 2.21k, False: 0]
  ------------------
 1439|  2.21k|                       pos.size() - dropped_size);
 1440|  2.21k|                newn->inner()[0] = get<1>(subs);
 1441|  2.21k|                std::copy(n->inner() + idx + 1,
 1442|  2.21k|                          n->inner() + count,
 1443|  2.21k|                          newn->inner() + 1);
 1444|  2.21k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  2.21k|                return std::make_tuple(pos.shift(), newn);
 1446|  2.21k|            }
 1447|  2.21k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  2.21k|        }
 1452|  2.21k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1456|  9.91k|    {
 1457|  9.91k|        auto n = node_t::copy_leaf(pos.node(), pos.index(first), pos.count());
 1458|  9.91k|        return std::make_tuple(0, n);
 1459|  9.91k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE11visit_innerIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  6.28k|    {
 1415|  6.28k|        auto idx                = pos.subindex(first);
 1416|  6.28k|        auto count              = pos.count();
 1417|  6.28k|        auto left_size          = pos.size_before(idx);
 1418|  6.28k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  6.28k|        auto dropped_size       = first;
 1420|  6.28k|        auto child_dropped_size = dropped_size - left_size;
 1421|  6.28k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 6.28k]
  |  Branch (1421:25): [True: 0, False: 0]
  |  Branch (1421:45): [True: 0, False: 0]
  ------------------
 1422|      0|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  6.28k|        } else {
 1424|  6.28k|            using std::get;
 1425|  6.28k|            auto n    = pos.node();
 1426|  6.28k|            auto newc = count - idx;
 1427|  6.28k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  6.28k|            IMMER_TRY {
  ------------------
  |  |   49|  6.28k|#define IMMER_TRY try
  ------------------
 1429|  6.28k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  6.28k|                auto newr     = newn->relaxed();
 1431|  6.28k|                newr->d.count = count - idx;
 1432|  6.28k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  6.28k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 6.28k, False: 0]
  ------------------
 1434|  6.28k|                pos.copy_sizes(idx + 1,
 1435|  6.28k|                               newr->d.count - 1,
 1436|  6.28k|                               newr->d.sizes[0],
 1437|  6.28k|                               newr->d.sizes + 1);
 1438|  6.28k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 6.28k, False: 0]
  ------------------
 1439|  6.28k|                       pos.size() - dropped_size);
 1440|  6.28k|                newn->inner()[0] = get<1>(subs);
 1441|  6.28k|                std::copy(n->inner() + idx + 1,
 1442|  6.28k|                          n->inner() + count,
 1443|  6.28k|                          newn->inner() + 1);
 1444|  6.28k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  6.28k|                return std::make_tuple(pos.shift(), newn);
 1446|  6.28k|            }
 1447|  6.28k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  6.28k|        }
 1452|  6.28k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE11visit_innerIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  10.0k|    {
 1415|  10.0k|        auto idx                = pos.subindex(first);
 1416|  10.0k|        auto count              = pos.count();
 1417|  10.0k|        auto left_size          = pos.size_before(idx);
 1418|  10.0k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  10.0k|        auto dropped_size       = first;
 1420|  10.0k|        auto child_dropped_size = dropped_size - left_size;
 1421|  10.0k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 10.0k, Folded]
  |  Branch (1421:25): [True: 6.97k, False: 3.10k]
  |  Branch (1421:45): [True: 3.77k, False: 3.20k]
  ------------------
 1422|  3.77k|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  6.30k|        } else {
 1424|  6.30k|            using std::get;
 1425|  6.30k|            auto n    = pos.node();
 1426|  6.30k|            auto newc = count - idx;
 1427|  6.30k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  6.30k|            IMMER_TRY {
  ------------------
  |  |   49|  6.30k|#define IMMER_TRY try
  ------------------
 1429|  6.30k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  6.30k|                auto newr     = newn->relaxed();
 1431|  6.30k|                newr->d.count = count - idx;
 1432|  6.30k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  6.30k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 6.30k, False: 0]
  ------------------
 1434|  6.30k|                pos.copy_sizes(idx + 1,
 1435|  6.30k|                               newr->d.count - 1,
 1436|  6.30k|                               newr->d.sizes[0],
 1437|  6.30k|                               newr->d.sizes + 1);
 1438|  6.30k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 6.30k, False: 0]
  ------------------
 1439|  6.30k|                       pos.size() - dropped_size);
 1440|  6.30k|                newn->inner()[0] = get<1>(subs);
 1441|  6.30k|                std::copy(n->inner() + idx + 1,
 1442|  6.30k|                          n->inner() + count,
 1443|  6.30k|                          newn->inner() + 1);
 1444|  6.30k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  6.30k|                return std::make_tuple(pos.shift(), newn);
 1446|  6.30k|            }
 1447|  6.30k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  6.30k|        }
 1452|  10.0k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE11visit_innerIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  1.71k|    {
 1415|  1.71k|        auto idx                = pos.subindex(first);
 1416|  1.71k|        auto count              = pos.count();
 1417|  1.71k|        auto left_size          = pos.size_before(idx);
 1418|  1.71k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  1.71k|        auto dropped_size       = first;
 1420|  1.71k|        auto child_dropped_size = dropped_size - left_size;
 1421|  1.71k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 1.71k, Folded]
  |  Branch (1421:25): [True: 525, False: 1.18k]
  |  Branch (1421:45): [True: 313, False: 212]
  ------------------
 1422|    313|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  1.39k|        } else {
 1424|  1.39k|            using std::get;
 1425|  1.39k|            auto n    = pos.node();
 1426|  1.39k|            auto newc = count - idx;
 1427|  1.39k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  1.39k|            IMMER_TRY {
  ------------------
  |  |   49|  1.39k|#define IMMER_TRY try
  ------------------
 1429|  1.39k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  1.39k|                auto newr     = newn->relaxed();
 1431|  1.39k|                newr->d.count = count - idx;
 1432|  1.39k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  1.39k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 1.39k, False: 0]
  ------------------
 1434|  1.39k|                pos.copy_sizes(idx + 1,
 1435|  1.39k|                               newr->d.count - 1,
 1436|  1.39k|                               newr->d.sizes[0],
 1437|  1.39k|                               newr->d.sizes + 1);
 1438|  1.39k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 1.39k, False: 0]
  ------------------
 1439|  1.39k|                       pos.size() - dropped_size);
 1440|  1.39k|                newn->inner()[0] = get<1>(subs);
 1441|  1.39k|                std::copy(n->inner() + idx + 1,
 1442|  1.39k|                          n->inner() + count,
 1443|  1.39k|                          newn->inner() + 1);
 1444|  1.39k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  1.39k|                return std::make_tuple(pos.shift(), newn);
 1446|  1.39k|            }
 1447|  1.39k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  1.39k|        }
 1452|  1.71k|    }
_ZN5immer6detail4rbts12concat_treesINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11relaxed_posIT_EEPSE_jSG_jm:
 2001|  8.08k|{
 2002|  8.08k|    return make_singleton_regular_sub_pos(ltail, ltcount)
 2003|  8.08k|        .visit(concat_trees_left_visitor<Node>{},
 2004|  8.08k|               empty_leaf_pos<Node>{},
 2005|  8.08k|               rroot,
 2006|  8.08k|               rshift,
 2007|  8.08k|               rsize)
 2008|  8.08k|        .realize();
 2009|  8.08k|}
_ZN5immer6detail4rbts25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_25singleton_regular_sub_posISC_EENS1_14empty_leaf_posISC_EEJRPSC_RjRmEEENS1_17concat_center_posISC_EEOT_OT0_DpOT1_:
 1971|  8.08k|    {
 1972|  8.08k|        return visit_maybe_relaxed_sub(
 1973|  8.08k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|  8.08k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_11relaxed_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  5.71k|    {
 1959|  5.71k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  5.71k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  23.5k|{
 1873|  23.5k|    auto lshift = lpos.shift();
 1874|  23.5k|    auto rshift = rpos.shift();
 1875|  23.5k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 23.5k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  23.5k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 18.2k, False: 5.32k]
  ------------------
 1879|  18.2k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  18.2k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  18.2k|    } else {
 1882|  5.32k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 5.32k, False: 0]
  ------------------
 1883|  5.32k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 5.32k]
  |  Branch (1883:9): [True: 5.32k, False: 0]
  |  Branch (1883:9): [True: 5.32k, False: 0]
  ------------------
 1884|  5.32k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  5.32k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  5.32k|    }
 1887|  23.5k|}
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8each_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
 1512|  5.73M|    {
 1513|  5.73M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 535k, False: 5.20M]
  ------------------
 1514|   535k|            auto s = size_t{};
 1515|  2.13M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.59M, False: 535k]
  ------------------
 1516|  1.59M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.59M|                s = sizes_[i];
 1518|  1.59M|            }
 1519|  5.20M|        } else {
 1520|  13.2M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 8.05M, False: 5.20M]
  ------------------
 1521|  8.05M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  8.05M|                    .visit(v, args...);
 1523|  5.20M|        }
 1524|  5.73M|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|  2.43M|    {
 1734|  2.43M|        auto count = p.count();
 1735|  2.43M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 2.43M, False: 0]
  ------------------
 1736|  2.43M|        plan.counts[plan.n++] = count;
 1737|  2.43M|        plan.total += count;
 1738|  2.43M|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|  21.2M|    {
 1734|  21.2M|        auto count = p.count();
 1735|  21.2M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 21.2M, False: 0]
  ------------------
 1736|  21.2M|        plan.counts[plan.n++] = count;
 1737|  21.2M|        plan.total += count;
 1738|  21.2M|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE7shuffleEj:
 1762|  5.73M|    {
 1763|       |        // gcc seems to not really understand this code... :(
 1764|  5.73M|#if !defined(_MSC_VER)
 1765|  5.73M|#pragma GCC diagnostic push
 1766|  5.73M|#pragma GCC diagnostic ignored "-Warray-bounds"
 1767|  5.73M|#endif
 1768|  5.73M|        constexpr count_t rrb_extras    = 2;
 1769|  5.73M|        constexpr count_t rrb_invariant = 1;
 1770|  5.73M|        const auto bits                 = shift == BL ? BL : B;
  ------------------
  |  Branch (1770:43): [True: 535k, False: 5.20M]
  ------------------
 1771|  5.73M|        const auto branches             = count_t{1} << bits;
 1772|  5.73M|        const auto optimal              = ((total - 1) >> bits) + 1;
 1773|  5.73M|        count_t i                       = 0;
 1774|  6.73M|        while (n >= optimal + rrb_extras) {
  ------------------
  |  Branch (1774:16): [True: 999k, False: 5.73M]
  ------------------
 1775|       |            // skip ok nodes
 1776|  1.64M|            while (counts[i] > branches - rrb_invariant)
  ------------------
  |  Branch (1776:20): [True: 640k, False: 999k]
  ------------------
 1777|   640k|                i++;
 1778|   999k|            assert(i < n);
  ------------------
  |  Branch (1778:13): [True: 999k, False: 0]
  ------------------
 1779|       |            // short node, redistribute
 1780|   999k|            auto remaining = counts[i];
 1781|  2.49M|            do {
 1782|  2.49M|                auto next  = counts[i + 1];
 1783|  2.49M|                auto count = std::min(remaining + next, branches);
 1784|  2.49M|                counts[i]  = count;
 1785|  2.49M|                assert(counts[i]);
  ------------------
  |  Branch (1785:17): [True: 2.49M, False: 0]
  ------------------
 1786|  2.49M|                remaining += next - count;
 1787|  2.49M|                ++i;
 1788|  2.49M|            } while (remaining > 0);
  ------------------
  |  Branch (1788:22): [True: 1.49M, False: 999k]
  ------------------
 1789|       |            // remove node
 1790|   999k|            std::move(counts + i + 1, counts + n, counts + i);
 1791|   999k|            --n;
 1792|   999k|            --i;
 1793|   999k|        }
 1794|  5.73M|#if !defined(_MSC_VER)
 1795|  5.73M|#pragma GCC diagnostic pop
 1796|  5.73M|#endif
 1797|  5.73M|    }
_ZNK5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1478|  11.4M|    auto shift() const { return shift_; }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPjj:
 1577|  5.73M|        : curr_{counts}
 1578|  5.73M|        , n_{n}
 1579|  5.73M|        , result_{
 1580|  5.73M|              shift + B, node_t::make_inner_r_n(std::min(n_, branches<B>)), 0}
 1581|  5.73M|    {
 1582|  5.73M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_m:
 1481|  5.73M|        : shift_{s}
 1482|  5.73M|        , count_{1}
 1483|  5.73M|        , nodes_{n0}
 1484|  5.73M|        , sizes_{s0}
 1485|  5.73M|    {
 1486|  5.73M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8each_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
 1512|  5.73M|    {
 1513|  5.73M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 535k, False: 5.20M]
  ------------------
 1514|   535k|            auto s = size_t{};
 1515|  2.13M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.59M, False: 535k]
  ------------------
 1516|  1.59M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.59M|                s = sizes_[i];
 1518|  1.59M|            }
 1519|  5.20M|        } else {
 1520|  13.2M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 8.05M, False: 5.20M]
  ------------------
 1521|  8.05M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  8.05M|                    .visit(v, args...);
 1523|  5.20M|        }
 1524|  5.73M|    }
_ZN5immer6detail4rbts21concat_merger_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1721|  2.43M|    {
 1722|  2.43M|        merger.merge_leaf(p);
 1723|  2.43M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10merge_leafIRNS1_12leaf_sub_posISC_EEEEvOT_:
 1614|  2.43M|    {
 1615|  2.43M|        auto from       = p.node();
 1616|  2.43M|        auto from_size  = p.size();
 1617|  2.43M|        auto from_count = p.count();
 1618|  2.43M|        assert(from_size);
  ------------------
  |  Branch (1618:9): [True: 2.43M, False: 0]
  ------------------
 1619|  2.43M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1619:13): [True: 2.40M, False: 25.5k]
  |  Branch (1619:21): [True: 2.39M, False: 15.6k]
  ------------------
 1620|  2.39M|            add_child(from, from_size);
 1621|  2.39M|            from->inc();
 1622|  2.39M|        } else {
 1623|  41.2k|            auto from_offset = count_t{};
 1624|  41.2k|            auto from_data   = from->leaf();
 1625|  50.6k|            do {
 1626|  50.6k|                if (!to_) {
  ------------------
  |  Branch (1626:21): [True: 25.0k, False: 25.5k]
  ------------------
 1627|  25.0k|                    to_        = node_t::make_leaf_n(*curr_);
 1628|  25.0k|                    to_offset_ = 0;
 1629|  25.0k|                }
 1630|  50.6k|                auto data = to_->leaf();
 1631|  50.6k|                auto to_copy =
 1632|  50.6k|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1633|  50.6k|                detail::uninitialized_copy(from_data + from_offset,
 1634|  50.6k|                                           from_data + from_offset + to_copy,
 1635|  50.6k|                                           data + to_offset_);
 1636|  50.6k|                to_offset_ += to_copy;
 1637|  50.6k|                from_offset += to_copy;
 1638|  50.6k|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1638:21): [True: 25.0k, False: 25.5k]
  ------------------
 1639|  25.0k|                    add_child(to_, to_offset_);
 1640|  25.0k|                    to_ = nullptr;
 1641|  25.0k|                }
 1642|  50.6k|            } while (from_offset != from_count);
  ------------------
  |  Branch (1642:22): [True: 9.41k, False: 41.2k]
  ------------------
 1643|  41.2k|        }
 1644|  2.43M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9add_childEPSC_m:
 1589|  25.4M|    {
 1590|  25.4M|        assert(size);
  ------------------
  |  Branch (1590:9): [True: 25.4M, False: 0]
  ------------------
 1591|  25.4M|        ++curr_;
 1592|  25.4M|        auto parent  = result_.nodes_[result_.count_ - 1];
 1593|  25.4M|        auto relaxed = parent->relaxed();
 1594|  25.4M|        if (relaxed->d.count == branches<B>) {
  ------------------
  |  Branch (1594:13): [True: 2.89M, False: 22.5M]
  ------------------
 1595|  2.89M|            assert(result_.count_ < result_t::max_children);
  ------------------
  |  Branch (1595:13): [True: 2.89M, False: 0]
  ------------------
 1596|  2.89M|            n_ -= branches<B>;
 1597|  2.89M|            parent  = node_t::make_inner_r_n(std::min(n_, branches<B>));
 1598|  2.89M|            relaxed = parent->relaxed();
 1599|  2.89M|            result_.nodes_[result_.count_] = parent;
 1600|  2.89M|            result_.sizes_[result_.count_] = result_.sizes_[result_.count_ - 1];
 1601|  2.89M|            assert(result_.sizes_[result_.count_]);
  ------------------
  |  Branch (1601:13): [True: 2.89M, False: 0]
  ------------------
 1602|  2.89M|            ++result_.count_;
 1603|  2.89M|        }
 1604|  25.4M|        auto idx = relaxed->d.count++;
 1605|  25.4M|        result_.sizes_[result_.count_ - 1] += size;
 1606|  25.4M|        assert(result_.sizes_[result_.count_ - 1]);
  ------------------
  |  Branch (1606:9): [True: 25.4M, False: 0]
  ------------------
 1607|  25.4M|        relaxed->d.sizes[idx] = size + (idx ? relaxed->d.sizes[idx - 1] : 0);
  ------------------
  |  Branch (1607:41): [True: 16.8M, False: 8.63M]
  ------------------
 1608|  25.4M|        assert(relaxed->d.sizes[idx]);
  ------------------
  |  Branch (1608:9): [True: 25.4M, False: 0]
  ------------------
 1609|  25.4M|        parent->inner()[idx] = p;
 1610|  25.4M|    };
_ZN5immer6detail4rbts21concat_merger_visitor11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1715|  21.2M|    {
 1716|  21.2M|        merger.merge_inner(p);
 1717|  21.2M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_11relaxed_posISC_EEEEvOT_:
 1648|  21.2M|    {
 1649|  21.2M|        auto from       = p.node();
 1650|  21.2M|        auto from_size  = p.size();
 1651|  21.2M|        auto from_count = p.count();
 1652|  21.2M|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 21.2M, False: 0]
  ------------------
 1653|  21.2M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 18.9M, False: 2.34M]
  |  Branch (1653:21): [True: 17.9M, False: 970k]
  ------------------
 1654|  17.9M|            add_child(from, from_size);
 1655|  17.9M|            from->inc();
 1656|  17.9M|        } else {
 1657|  3.31M|            auto from_offset = count_t{};
 1658|  3.31M|            auto from_data   = from->inner();
 1659|  4.68M|            do {
 1660|  4.68M|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 2.33M, False: 2.34M]
  ------------------
 1661|  2.33M|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|  2.33M|                    to_offset_ = 0;
 1663|  2.33M|                    to_size_   = 0;
 1664|  2.33M|                }
 1665|  4.68M|                auto data = to_->inner();
 1666|  4.68M|                auto to_copy =
 1667|  4.68M|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|  4.68M|                std::copy(from_data + from_offset,
 1669|  4.68M|                          from_data + from_offset + to_copy,
 1670|  4.68M|                          data + to_offset_);
 1671|  4.68M|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|  4.68M|                auto sizes = to_->relaxed()->d.sizes;
 1673|  4.68M|                p.copy_sizes(
 1674|  4.68M|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|  4.68M|                to_offset_ += to_copy;
 1676|  4.68M|                from_offset += to_copy;
 1677|  4.68M|                to_size_ = sizes[to_offset_ - 1];
 1678|  4.68M|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 4.68M, False: 0]
  ------------------
 1679|  4.68M|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 2.33M, False: 2.34M]
  ------------------
 1680|  2.33M|                    to_->relaxed()->d.count = to_offset_;
 1681|  2.33M|                    add_child(to_, to_size_);
 1682|  2.33M|                    to_ = nullptr;
 1683|  2.33M|                }
 1684|  4.68M|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 1.36M, False: 3.31M]
  ------------------
 1685|  3.31M|        }
 1686|  21.2M|    }
_ZNK5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6finishEv:
 1689|  5.73M|    {
 1690|  5.73M|        assert(!to_);
  ------------------
  |  Branch (1690:9): [True: 5.73M, False: 0]
  ------------------
 1691|  5.73M|        return result_;
 1692|  5.73M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8each_subINS1_11dec_visitorEJEEEvT_DpOT0_:
 1512|  5.73M|    {
 1513|  5.73M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 535k, False: 5.20M]
  ------------------
 1514|   535k|            auto s = size_t{};
 1515|  2.13M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.59M, False: 535k]
  ------------------
 1516|  1.59M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.59M|                s = sizes_[i];
 1518|  1.59M|            }
 1519|  5.20M|        } else {
 1520|  13.2M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 8.05M, False: 5.20M]
  ------------------
 1521|  8.05M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  8.05M|                    .visit(v, args...);
 1523|  5.20M|        }
 1524|  5.73M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_mSE_mSE_m:
 1503|   527k|        : shift_{s}
 1504|   527k|        , count_{3}
 1505|   527k|        , nodes_{n0, n1, n2}
 1506|   527k|        , sizes_{s0, s0 + s1, s0 + s1 + s2}
 1507|   527k|    {
 1508|   527k|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_mSE_m:
 1489|  8.08k|        : shift_{s}
 1490|  8.08k|        , count_{2}
 1491|  8.08k|        , nodes_{n0, n1}
 1492|  8.08k|        , sizes_{s0, s0 + s1}
 1493|  8.08k|    {
 1494|  8.08k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  17.8k|    {
 1918|  17.8k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  17.8k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|    386|    {
 1918|    386|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|    386|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  2.76k|{
 1873|  2.76k|    auto lshift = lpos.shift();
 1874|  2.76k|    auto rshift = rpos.shift();
 1875|  2.76k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 2.76k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  2.76k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 741, False: 2.02k]
  ------------------
 1879|    741|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    741|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  2.02k|    } else {
 1882|  2.02k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 2.02k, False: 0]
  ------------------
 1883|  2.02k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 2.02k]
  |  Branch (1883:9): [True: 2.02k, False: 0]
  |  Branch (1883:9): [True: 2.02k, False: 0]
  ------------------
 1884|  2.02k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  2.02k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  2.02k|    }
 1887|  2.76k|}
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_8full_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  1.16k|    {
 1918|  1.16k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.16k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  1.16k|{
 1873|  1.16k|    auto lshift = lpos.shift();
 1874|  1.16k|    auto rshift = rpos.shift();
 1875|  1.16k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 1.16k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  1.16k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 425, False: 741]
  ------------------
 1879|    425|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    425|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|    741|    } else {
 1882|    741|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 741, False: 0]
  ------------------
 1883|    741|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 741]
  |  Branch (1883:9): [True: 741, False: 0]
  |  Branch (1883:9): [True: 741, False: 0]
  ------------------
 1884|    741|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|    741|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|    741|    }
 1887|  1.16k|}
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_12null_sub_posERNS1_17concat_center_posISC_EERNS1_8full_posISC_EEEENSE_IT_EEOT0_OT1_OT2_:
 1823|    988|{
 1824|    988|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|    988|    plan.fill(lpos, cpos, rpos);
 1826|    988|    plan.shuffle(cpos.shift());
 1827|    988|    IMMER_TRY {
  ------------------
  |  |   49|    988|#define IMMER_TRY try
  ------------------
 1828|    988|        return plan.merge(lpos, cpos, rpos);
 1829|    988|    }
 1830|    988|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|    988|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISH_EEEEvOT_OT0_OT1_:
 1752|    988|    {
 1753|    988|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 988, False: 0]
  ------------------
 1754|    988|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 988, False: 0]
  ------------------
 1755|    988|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|    988|        lpos.each_left_sub(visitor_t{}, *this);
 1757|    988|        cpos.each_sub(visitor_t{}, *this);
 1758|    988|        rpos.each_right_sub(visitor_t{}, *this);
 1759|    988|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|  1.18M|    {
 1734|  1.18M|        auto count = p.count();
 1735|  1.18M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 1.18M, False: 0]
  ------------------
 1736|  1.18M|        plan.counts[plan.n++] = count;
 1737|  1.18M|        plan.total += count;
 1738|  1.18M|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|   844k|    {
 1734|   844k|        auto count = p.count();
 1735|   844k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 844k, False: 0]
  ------------------
 1736|   844k|        plan.counts[plan.n++] = count;
 1737|   844k|        plan.total += count;
 1738|   844k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISH_EEEENS7_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|    988|    {
 1803|    988|        using node_t    = node_type<CPos>;
 1804|    988|        using merger_t  = concat_merger<node_t>;
 1805|    988|        using visitor_t = concat_merger_visitor;
 1806|    988|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|    988|        IMMER_TRY {
  ------------------
  |  |   49|    988|#define IMMER_TRY try
  ------------------
 1808|    988|            lpos.each_left_sub(visitor_t{}, merger);
 1809|    988|            cpos.each_sub(visitor_t{}, merger);
 1810|    988|            rpos.each_right_sub(visitor_t{}, merger);
 1811|    988|            cpos.each_sub(dec_visitor{});
 1812|    988|            return merger.finish();
 1813|    988|        }
 1814|    988|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|    988|    }
_ZN5immer6detail4rbts21concat_merger_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1721|  1.18M|    {
 1722|  1.18M|        merger.merge_leaf(p);
 1723|  1.18M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10merge_leafIRNS1_13full_leaf_posISC_EEEEvOT_:
 1614|  1.18M|    {
 1615|  1.18M|        auto from       = p.node();
 1616|  1.18M|        auto from_size  = p.size();
 1617|  1.18M|        auto from_count = p.count();
 1618|  1.18M|        assert(from_size);
  ------------------
  |  Branch (1618:9): [True: 1.18M, False: 0]
  ------------------
 1619|  1.18M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1619:13): [True: 1.18M, False: 0]
  |  Branch (1619:21): [True: 1.18M, False: 0]
  ------------------
 1620|  1.18M|            add_child(from, from_size);
 1621|  1.18M|            from->inc();
 1622|  1.18M|        } else {
 1623|      0|            auto from_offset = count_t{};
 1624|      0|            auto from_data   = from->leaf();
 1625|      0|            do {
 1626|      0|                if (!to_) {
  ------------------
  |  Branch (1626:21): [True: 0, False: 0]
  ------------------
 1627|      0|                    to_        = node_t::make_leaf_n(*curr_);
 1628|      0|                    to_offset_ = 0;
 1629|      0|                }
 1630|      0|                auto data = to_->leaf();
 1631|      0|                auto to_copy =
 1632|      0|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1633|      0|                detail::uninitialized_copy(from_data + from_offset,
 1634|      0|                                           from_data + from_offset + to_copy,
 1635|      0|                                           data + to_offset_);
 1636|      0|                to_offset_ += to_copy;
 1637|      0|                from_offset += to_copy;
 1638|      0|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1638:21): [True: 0, False: 0]
  ------------------
 1639|      0|                    add_child(to_, to_offset_);
 1640|      0|                    to_ = nullptr;
 1641|      0|                }
 1642|      0|            } while (from_offset != from_count);
  ------------------
  |  Branch (1642:22): [True: 0, False: 0]
  ------------------
 1643|      0|        }
 1644|  1.18M|    }
_ZN5immer6detail4rbts21concat_merger_visitor11visit_innerIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1715|   844k|    {
 1716|   844k|        merger.merge_inner(p);
 1717|   844k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_8full_posISC_EEEEvOT_:
 1648|   844k|    {
 1649|   844k|        auto from       = p.node();
 1650|   844k|        auto from_size  = p.size();
 1651|   844k|        auto from_count = p.count();
 1652|   844k|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 844k, False: 0]
  ------------------
 1653|   844k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 844k, False: 0]
  |  Branch (1653:21): [True: 844k, False: 0]
  ------------------
 1654|   844k|            add_child(from, from_size);
 1655|   844k|            from->inc();
 1656|   844k|        } else {
 1657|      0|            auto from_offset = count_t{};
 1658|      0|            auto from_data   = from->inner();
 1659|      0|            do {
 1660|      0|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 0, False: 0]
  ------------------
 1661|      0|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|      0|                    to_offset_ = 0;
 1663|      0|                    to_size_   = 0;
 1664|      0|                }
 1665|      0|                auto data = to_->inner();
 1666|      0|                auto to_copy =
 1667|      0|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|      0|                std::copy(from_data + from_offset,
 1669|      0|                          from_data + from_offset + to_copy,
 1670|      0|                          data + to_offset_);
 1671|      0|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|      0|                auto sizes = to_->relaxed()->d.sizes;
 1673|      0|                p.copy_sizes(
 1674|      0|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|      0|                to_offset_ += to_copy;
 1676|      0|                from_offset += to_copy;
 1677|      0|                to_size_ = sizes[to_offset_ - 1];
 1678|      0|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 0, False: 0]
  ------------------
 1679|      0|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 0, False: 0]
  ------------------
 1680|      0|                    to_->relaxed()->d.count = to_offset_;
 1681|      0|                    add_child(to_, to_size_);
 1682|      0|                    to_ = nullptr;
 1683|      0|                }
 1684|      0|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 0, False: 0]
  ------------------
 1685|      0|        }
 1686|   844k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|    741|    {
 1945|    741|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|    741|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_13full_leaf_posISC_EERNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1924|  2.76k|    {
 1925|  2.76k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|  2.76k|    }
_ZN5immer6detail4rbts12concat_leafsINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_13full_leaf_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1838|  2.76k|{
 1839|  2.76k|    static_assert(Node::bits >= 2, "");
 1840|  2.76k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 2.76k, False: 0]
  ------------------
 1841|  2.76k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 2.76k, False: 0]
  ------------------
 1842|  2.76k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 2.76k, False: 0]
  ------------------
 1843|  2.76k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 0, False: 2.76k]
  ------------------
 1844|      0|        return {
 1845|      0|            Node::bits_leaf,
 1846|      0|            lpos.node()->inc(),
 1847|      0|            lpos.count(),
 1848|      0|            tpos.node()->inc(),
 1849|      0|            tpos.count(),
 1850|      0|            rpos.node()->inc(),
 1851|      0|            rpos.count(),
 1852|      0|        };
 1853|  2.76k|    else
 1854|  2.76k|        return {
 1855|  2.76k|            Node::bits_leaf,
 1856|  2.76k|            lpos.node()->inc(),
 1857|  2.76k|            lpos.count(),
 1858|  2.76k|            rpos.node()->inc(),
 1859|  2.76k|            rpos.count(),
 1860|  2.76k|        };
 1861|  2.76k|}
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_8full_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|    741|{
 1824|    741|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|    741|    plan.fill(lpos, cpos, rpos);
 1826|    741|    plan.shuffle(cpos.shift());
 1827|    741|    IMMER_TRY {
  ------------------
  |  |   49|    741|#define IMMER_TRY try
  ------------------
 1828|    741|        return plan.merge(lpos, cpos, rpos);
 1829|    741|    }
 1830|    741|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|    741|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEEvOT_OT0_OT1_:
 1752|    741|    {
 1753|    741|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 741, False: 0]
  ------------------
 1754|    741|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 741, False: 0]
  ------------------
 1755|    741|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|    741|        lpos.each_left_sub(visitor_t{}, *this);
 1757|    741|        cpos.each_sub(visitor_t{}, *this);
 1758|    741|        rpos.each_right_sub(visitor_t{}, *this);
 1759|    741|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|    741|    {
 1803|    741|        using node_t    = node_type<CPos>;
 1804|    741|        using merger_t  = concat_merger<node_t>;
 1805|    741|        using visitor_t = concat_merger_visitor;
 1806|    741|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|    741|        IMMER_TRY {
  ------------------
  |  |   49|    741|#define IMMER_TRY try
  ------------------
 1808|    741|            lpos.each_left_sub(visitor_t{}, merger);
 1809|    741|            cpos.each_sub(visitor_t{}, merger);
 1810|    741|            rpos.each_right_sub(visitor_t{}, merger);
 1811|    741|            cpos.each_sub(dec_visitor{});
 1812|    741|            return merger.finish();
 1813|    741|        }
 1814|    741|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|    741|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_12null_sub_posERNS1_17concat_center_posISC_EERNS1_15regular_sub_posISC_EEEENSE_IT_EEOT0_OT1_OT2_:
 1823|  2.09k|{
 1824|  2.09k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.09k|    plan.fill(lpos, cpos, rpos);
 1826|  2.09k|    plan.shuffle(cpos.shift());
 1827|  2.09k|    IMMER_TRY {
  ------------------
  |  |   49|  2.09k|#define IMMER_TRY try
  ------------------
 1828|  2.09k|        return plan.merge(lpos, cpos, rpos);
 1829|  2.09k|    }
 1830|  2.09k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.09k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISH_EEEEvOT_OT0_OT1_:
 1752|  2.09k|    {
 1753|  2.09k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.09k, False: 0]
  ------------------
 1754|  2.09k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.09k, False: 0]
  ------------------
 1755|  2.09k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.09k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.09k|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.09k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.09k|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|   738k|    {
 1734|   738k|        auto count = p.count();
 1735|   738k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 738k, False: 0]
  ------------------
 1736|   738k|        plan.counts[plan.n++] = count;
 1737|   738k|        plan.total += count;
 1738|   738k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISH_EEEENS7_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|  2.09k|    {
 1803|  2.09k|        using node_t    = node_type<CPos>;
 1804|  2.09k|        using merger_t  = concat_merger<node_t>;
 1805|  2.09k|        using visitor_t = concat_merger_visitor;
 1806|  2.09k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.09k|        IMMER_TRY {
  ------------------
  |  |   49|  2.09k|#define IMMER_TRY try
  ------------------
 1808|  2.09k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.09k|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.09k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.09k|            cpos.each_sub(dec_visitor{});
 1812|  2.09k|            return merger.finish();
 1813|  2.09k|        }
 1814|  2.09k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.09k|    }
_ZN5immer6detail4rbts21concat_merger_visitor11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1715|   738k|    {
 1716|   738k|        merger.merge_inner(p);
 1717|   738k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_15regular_sub_posISC_EEEEvOT_:
 1648|   738k|    {
 1649|   738k|        auto from       = p.node();
 1650|   738k|        auto from_size  = p.size();
 1651|   738k|        auto from_count = p.count();
 1652|   738k|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 738k, False: 0]
  ------------------
 1653|   738k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 614k, False: 124k]
  |  Branch (1653:21): [True: 614k, False: 0]
  ------------------
 1654|   614k|            add_child(from, from_size);
 1655|   614k|            from->inc();
 1656|   614k|        } else {
 1657|   124k|            auto from_offset = count_t{};
 1658|   124k|            auto from_data   = from->inner();
 1659|   248k|            do {
 1660|   248k|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 124k, False: 124k]
  ------------------
 1661|   124k|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|   124k|                    to_offset_ = 0;
 1663|   124k|                    to_size_   = 0;
 1664|   124k|                }
 1665|   248k|                auto data = to_->inner();
 1666|   248k|                auto to_copy =
 1667|   248k|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|   248k|                std::copy(from_data + from_offset,
 1669|   248k|                          from_data + from_offset + to_copy,
 1670|   248k|                          data + to_offset_);
 1671|   248k|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|   248k|                auto sizes = to_->relaxed()->d.sizes;
 1673|   248k|                p.copy_sizes(
 1674|   248k|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|   248k|                to_offset_ += to_copy;
 1676|   248k|                from_offset += to_copy;
 1677|   248k|                to_size_ = sizes[to_offset_ - 1];
 1678|   248k|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 248k, False: 0]
  ------------------
 1679|   248k|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 124k, False: 124k]
  ------------------
 1680|   124k|                    to_->relaxed()->d.count = to_offset_;
 1681|   124k|                    add_child(to_, to_size_);
 1682|   124k|                    to_ = nullptr;
 1683|   124k|                }
 1684|   248k|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 124k, False: 124k]
  ------------------
 1685|   124k|        }
 1686|   738k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|  2.02k|    {
 1945|  2.02k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  2.02k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EESH_RNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1924|  5.32k|    {
 1925|  5.32k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|  5.32k|    }
_ZN5immer6detail4rbts12concat_leafsINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EESF_EENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1838|  5.32k|{
 1839|  5.32k|    static_assert(Node::bits >= 2, "");
 1840|  5.32k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 5.32k, False: 0]
  ------------------
 1841|  5.32k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 5.32k, False: 0]
  ------------------
 1842|  5.32k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 5.32k, False: 0]
  ------------------
 1843|  5.32k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 0, False: 5.32k]
  ------------------
 1844|      0|        return {
 1845|      0|            Node::bits_leaf,
 1846|      0|            lpos.node()->inc(),
 1847|      0|            lpos.count(),
 1848|      0|            tpos.node()->inc(),
 1849|      0|            tpos.count(),
 1850|      0|            rpos.node()->inc(),
 1851|      0|            rpos.count(),
 1852|      0|        };
 1853|  5.32k|    else
 1854|  5.32k|        return {
 1855|  5.32k|            Node::bits_leaf,
 1856|  5.32k|            lpos.node()->inc(),
 1857|  5.32k|            lpos.count(),
 1858|  5.32k|            rpos.node()->inc(),
 1859|  5.32k|            rpos.count(),
 1860|  5.32k|        };
 1861|  5.32k|}
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_15regular_sub_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  2.02k|{
 1824|  2.02k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.02k|    plan.fill(lpos, cpos, rpos);
 1826|  2.02k|    plan.shuffle(cpos.shift());
 1827|  2.02k|    IMMER_TRY {
  ------------------
  |  |   49|  2.02k|#define IMMER_TRY try
  ------------------
 1828|  2.02k|        return plan.merge(lpos, cpos, rpos);
 1829|  2.02k|    }
 1830|  2.02k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.02k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_15regular_sub_posISF_EEEEvOT_OT0_OT1_:
 1752|  2.02k|    {
 1753|  2.02k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.02k, False: 0]
  ------------------
 1754|  2.02k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.02k, False: 0]
  ------------------
 1755|  2.02k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.02k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.02k|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.02k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.02k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_15regular_sub_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|  2.02k|    {
 1803|  2.02k|        using node_t    = node_type<CPos>;
 1804|  2.02k|        using merger_t  = concat_merger<node_t>;
 1805|  2.02k|        using visitor_t = concat_merger_visitor;
 1806|  2.02k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.02k|        IMMER_TRY {
  ------------------
  |  |   49|  2.02k|#define IMMER_TRY try
  ------------------
 1808|  2.02k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.02k|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.02k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.02k|            cpos.each_sub(dec_visitor{});
 1812|  2.02k|            return merger.finish();
 1813|  2.02k|        }
 1814|  2.02k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.02k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_12null_sub_posERNS1_17concat_center_posISC_EERNS1_11relaxed_posISC_EEEENSE_IT_EEOT0_OT1_OT2_:
 1823|   110k|{
 1824|   110k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   110k|    plan.fill(lpos, cpos, rpos);
 1826|   110k|    plan.shuffle(cpos.shift());
 1827|   110k|    IMMER_TRY {
  ------------------
  |  |   49|   110k|#define IMMER_TRY try
  ------------------
 1828|   110k|        return plan.merge(lpos, cpos, rpos);
 1829|   110k|    }
 1830|   110k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   110k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISH_EEEEvOT_OT0_OT1_:
 1752|   110k|    {
 1753|   110k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 110k, False: 0]
  ------------------
 1754|   110k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 110k, False: 0]
  ------------------
 1755|   110k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   110k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   110k|        cpos.each_sub(visitor_t{}, *this);
 1758|   110k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   110k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISH_EEEENS7_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|   110k|    {
 1803|   110k|        using node_t    = node_type<CPos>;
 1804|   110k|        using merger_t  = concat_merger<node_t>;
 1805|   110k|        using visitor_t = concat_merger_visitor;
 1806|   110k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   110k|        IMMER_TRY {
  ------------------
  |  |   49|   110k|#define IMMER_TRY try
  ------------------
 1808|   110k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   110k|            cpos.each_sub(visitor_t{}, merger);
 1810|   110k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   110k|            cpos.each_sub(dec_visitor{});
 1812|   110k|            return merger.finish();
 1813|   110k|        }
 1814|   110k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   110k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|  5.32k|    {
 1945|  5.32k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  5.32k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_11relaxed_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  5.32k|{
 1824|  5.32k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  5.32k|    plan.fill(lpos, cpos, rpos);
 1826|  5.32k|    plan.shuffle(cpos.shift());
 1827|  5.32k|    IMMER_TRY {
  ------------------
  |  |   49|  5.32k|#define IMMER_TRY try
  ------------------
 1828|  5.32k|        return plan.merge(lpos, cpos, rpos);
 1829|  5.32k|    }
 1830|  5.32k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  5.32k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_11relaxed_posISF_EEEEvOT_OT0_OT1_:
 1752|  5.32k|    {
 1753|  5.32k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 5.32k, False: 0]
  ------------------
 1754|  5.32k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 5.32k, False: 0]
  ------------------
 1755|  5.32k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  5.32k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  5.32k|        cpos.each_sub(visitor_t{}, *this);
 1758|  5.32k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  5.32k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_11relaxed_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|  5.32k|    {
 1803|  5.32k|        using node_t    = node_type<CPos>;
 1804|  5.32k|        using merger_t  = concat_merger<node_t>;
 1805|  5.32k|        using visitor_t = concat_merger_visitor;
 1806|  5.32k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  5.32k|        IMMER_TRY {
  ------------------
  |  |   49|  5.32k|#define IMMER_TRY try
  ------------------
 1808|  5.32k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  5.32k|            cpos.each_sub(visitor_t{}, merger);
 1810|  5.32k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  5.32k|            cpos.each_sub(dec_visitor{});
 1812|  5.32k|            return merger.finish();
 1813|  5.32k|        }
 1814|  5.32k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  5.32k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_15regular_sub_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  2.37k|    {
 1959|  2.37k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  2.37k|    }
_ZNO5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7realizeEv:
 1527|   535k|    {
 1528|   535k|        if (count_ > 1) {
  ------------------
  |  Branch (1528:13): [True: 38.2k, False: 496k]
  ------------------
 1529|  38.2k|            IMMER_TRY {
  ------------------
  |  |   49|  38.2k|#define IMMER_TRY try
  ------------------
 1530|  38.2k|                auto result = node_t::make_inner_r_n(count_);
 1531|  38.2k|                auto r      = result->relaxed();
 1532|  38.2k|                r->d.count  = count_;
 1533|  38.2k|                std::copy(nodes_, nodes_ + count_, result->inner());
 1534|  38.2k|                std::copy(sizes_, sizes_ + count_, r->d.sizes);
 1535|  38.2k|                return {result, shift_, r};
 1536|  38.2k|            }
 1537|  38.2k|            IMMER_CATCH (...) {
 1538|      0|                each_sub(dec_visitor{});
 1539|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1540|      0|            }
 1541|   496k|        } else {
 1542|   496k|            assert(shift_ >= B + BL);
  ------------------
  |  Branch (1542:13): [True: 496k, False: 0]
  ------------------
 1543|   496k|            return {nodes_[0], shift_ - B, nodes_[0]->relaxed()};
 1544|   496k|        }
 1545|   535k|    }
_ZN5immer6detail4rbts12concat_treesINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11relaxed_posIT_EEPSE_jmSG_jSG_jm:
 1986|   527k|{
 1987|   527k|    return visit_maybe_relaxed_sub(lroot,
 1988|   527k|                                   lshift,
 1989|   527k|                                   lsize,
 1990|   527k|                                   concat_trees_left_visitor<Node>{},
 1991|   527k|                                   make_leaf_pos(ltail, ltcount),
 1992|   527k|                                   rroot,
 1993|   527k|                                   rshift,
 1994|   527k|                                   rsize)
 1995|   527k|        .realize();
 1996|   527k|}
_ZN5immer6detail4rbts25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_11relaxed_posISC_EENS1_8leaf_posISC_EEJRPSC_RjRmEEENS1_17concat_center_posISC_EEOT_OT0_DpOT1_:
 1971|   512k|    {
 1972|   512k|        return visit_maybe_relaxed_sub(
 1973|   512k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|   512k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_11relaxed_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|   496k|    {
 1959|   496k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|   496k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EESF_EENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  4.65M|{
 1873|  4.65M|    auto lshift = lpos.shift();
 1874|  4.65M|    auto rshift = rpos.shift();
 1875|  4.65M|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 2.33M, False: 2.31M]
  ------------------
 1876|  2.33M|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  2.33M|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  2.33M|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 81.4k, False: 2.23M]
  ------------------
 1879|  81.4k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  81.4k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  2.23M|    } else {
 1882|  2.23M|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 2.23M, False: 0]
  ------------------
 1883|  2.23M|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 2.23M]
  |  Branch (1883:9): [True: 2.23M, False: 0]
  |  Branch (1883:9): [True: 2.23M, False: 0]
  ------------------
 1884|  2.23M|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  2.23M|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  2.23M|    }
 1887|  4.65M|}
_ZN5immer6detail4rbts19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EESH_EENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1897|  2.33M|    {
 1898|  2.33M|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  2.33M|    }
_ZN5immer6detail4rbts19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1897|  6.51k|    {
 1898|  6.51k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  6.51k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|   681k|{
 1873|   681k|    auto lshift = lpos.shift();
 1874|   681k|    auto rshift = rpos.shift();
 1875|   681k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 3.96k, False: 677k]
  ------------------
 1876|  3.96k|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  3.96k|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   677k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 11.2k, False: 666k]
  ------------------
 1879|  11.2k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  11.2k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   666k|    } else {
 1882|   666k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 666k, False: 0]
  ------------------
 1883|   666k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 666k]
  |  Branch (1883:9): [True: 666k, False: 0]
  |  Branch (1883:9): [True: 666k, False: 0]
  ------------------
 1884|   666k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   666k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   666k|    }
 1887|   681k|}
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_17concat_center_posISC_EENS1_12null_sub_posEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  4.90k|{
 1824|  4.90k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  4.90k|    plan.fill(lpos, cpos, rpos);
 1826|  4.90k|    plan.shuffle(cpos.shift());
 1827|  4.90k|    IMMER_TRY {
  ------------------
  |  |   49|  4.90k|#define IMMER_TRY try
  ------------------
 1828|  4.90k|        return plan.merge(lpos, cpos, rpos);
 1829|  4.90k|    }
 1830|  4.90k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  4.90k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_12null_sub_posEEEvOT_OT0_OT1_:
 1752|  4.90k|    {
 1753|  4.90k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 4.90k, False: 0]
  ------------------
 1754|  4.90k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 4.90k, False: 0]
  ------------------
 1755|  4.90k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  4.90k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  4.90k|        cpos.each_sub(visitor_t{}, *this);
 1758|  4.90k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  4.90k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_12null_sub_posEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|  4.90k|    {
 1803|  4.90k|        using node_t    = node_type<CPos>;
 1804|  4.90k|        using merger_t  = concat_merger<node_t>;
 1805|  4.90k|        using visitor_t = concat_merger_visitor;
 1806|  4.90k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  4.90k|        IMMER_TRY {
  ------------------
  |  |   49|  4.90k|#define IMMER_TRY try
  ------------------
 1808|  4.90k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  4.90k|            cpos.each_sub(visitor_t{}, merger);
 1810|  4.90k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  4.90k|            cpos.each_sub(dec_visitor{});
 1812|  4.90k|            return merger.finish();
 1813|  4.90k|        }
 1814|  4.90k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  4.90k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|   668k|    {
 1918|   668k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   668k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|   132k|    {
 1918|   132k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   132k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EESF_EENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|   142k|{
 1873|   142k|    auto lshift = lpos.shift();
 1874|   142k|    auto rshift = rpos.shift();
 1875|   142k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 932, False: 141k]
  ------------------
 1876|    932|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|    932|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   141k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 633, False: 140k]
  ------------------
 1879|    633|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    633|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   140k|    } else {
 1882|   140k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 140k, False: 0]
  ------------------
 1883|   140k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 140k]
  |  Branch (1883:9): [True: 140k, False: 0]
  |  Branch (1883:9): [True: 140k, False: 0]
  ------------------
 1884|   140k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   140k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   140k|    }
 1887|   142k|}
_ZN5immer6detail4rbts19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EESH_EENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1897|  1.34k|    {
 1898|  1.34k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  1.34k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_8full_posISC_EERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|   150k|    {
 1918|   150k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   150k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|   150k|{
 1873|   150k|    auto lshift = lpos.shift();
 1874|   150k|    auto rshift = rpos.shift();
 1875|   150k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 150k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   150k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 302, False: 149k]
  ------------------
 1879|    302|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    302|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   149k|    } else {
 1882|   149k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 149k, False: 0]
  ------------------
 1883|   149k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 149k]
  |  Branch (1883:9): [True: 149k, False: 0]
  |  Branch (1883:9): [True: 149k, False: 0]
  ------------------
 1884|   149k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   149k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   149k|    }
 1887|   150k|}
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|  74.8k|    {
 1945|  74.8k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  74.8k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_13full_leaf_posISC_EERNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1924|   159k|    {
 1925|   159k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|   159k|    }
_ZN5immer6detail4rbts12concat_leafsINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EERNS1_13full_leaf_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1838|   159k|{
 1839|   159k|    static_assert(Node::bits >= 2, "");
 1840|   159k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 159k, False: 0]
  ------------------
 1841|   159k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 159k, False: 0]
  ------------------
 1842|   159k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 159k, False: 0]
  ------------------
 1843|   159k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 159k, False: 0]
  ------------------
 1844|   159k|        return {
 1845|   159k|            Node::bits_leaf,
 1846|   159k|            lpos.node()->inc(),
 1847|   159k|            lpos.count(),
 1848|   159k|            tpos.node()->inc(),
 1849|   159k|            tpos.count(),
 1850|   159k|            rpos.node()->inc(),
 1851|   159k|            rpos.count(),
 1852|   159k|        };
 1853|      0|    else
 1854|      0|        return {
 1855|      0|            Node::bits_leaf,
 1856|      0|            lpos.node()->inc(),
 1857|      0|            lpos.count(),
 1858|      0|            rpos.node()->inc(),
 1859|      0|            rpos.count(),
 1860|      0|        };
 1861|   159k|}
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|  77.1k|    {
 1938|  77.1k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  77.1k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_8full_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|   149k|{
 1824|   149k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   149k|    plan.fill(lpos, cpos, rpos);
 1826|   149k|    plan.shuffle(cpos.shift());
 1827|   149k|    IMMER_TRY {
  ------------------
  |  |   49|   149k|#define IMMER_TRY try
  ------------------
 1828|   149k|        return plan.merge(lpos, cpos, rpos);
 1829|   149k|    }
 1830|   149k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   149k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEEvOT_OT0_OT1_:
 1752|   149k|    {
 1753|   149k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 149k, False: 0]
  ------------------
 1754|   149k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 149k, False: 0]
  ------------------
 1755|   149k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   149k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   149k|        cpos.each_sub(visitor_t{}, *this);
 1758|   149k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   149k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|   149k|    {
 1803|   149k|        using node_t    = node_type<CPos>;
 1804|   149k|        using merger_t  = concat_merger<node_t>;
 1805|   149k|        using visitor_t = concat_merger_visitor;
 1806|   149k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   149k|        IMMER_TRY {
  ------------------
  |  |   49|   149k|#define IMMER_TRY try
  ------------------
 1808|   149k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   149k|            cpos.each_sub(visitor_t{}, merger);
 1810|   149k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   149k|            cpos.each_sub(dec_visitor{});
 1812|   149k|            return merger.finish();
 1813|   149k|        }
 1814|   149k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   149k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|  84.1k|    {
 1945|  84.1k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  84.1k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1924|   368k|    {
 1925|   368k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|   368k|    }
_ZN5immer6detail4rbts12concat_leafsINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EESF_EENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1838|   368k|{
 1839|   368k|    static_assert(Node::bits >= 2, "");
 1840|   368k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 368k, False: 0]
  ------------------
 1841|   368k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 368k, False: 0]
  ------------------
 1842|   368k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 368k, False: 0]
  ------------------
 1843|   368k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 368k, False: 0]
  ------------------
 1844|   368k|        return {
 1845|   368k|            Node::bits_leaf,
 1846|   368k|            lpos.node()->inc(),
 1847|   368k|            lpos.count(),
 1848|   368k|            tpos.node()->inc(),
 1849|   368k|            tpos.count(),
 1850|   368k|            rpos.node()->inc(),
 1851|   368k|            rpos.count(),
 1852|   368k|        };
 1853|      0|    else
 1854|      0|        return {
 1855|      0|            Node::bits_leaf,
 1856|      0|            lpos.node()->inc(),
 1857|      0|            lpos.count(),
 1858|      0|            rpos.node()->inc(),
 1859|      0|            rpos.count(),
 1860|      0|        };
 1861|   368k|}
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EESH_EENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|  72.0k|    {
 1938|  72.0k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  72.0k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_17concat_center_posISC_EESF_EENSG_IT_EEOT0_OT1_OT2_:
 1823|   140k|{
 1824|   140k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   140k|    plan.fill(lpos, cpos, rpos);
 1826|   140k|    plan.shuffle(cpos.shift());
 1827|   140k|    IMMER_TRY {
  ------------------
  |  |   49|   140k|#define IMMER_TRY try
  ------------------
 1828|   140k|        return plan.merge(lpos, cpos, rpos);
 1829|   140k|    }
 1830|   140k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   140k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EESH_EEvOT_OT0_OT1_:
 1752|   140k|    {
 1753|   140k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 140k, False: 0]
  ------------------
 1754|   140k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 140k, False: 0]
  ------------------
 1755|   140k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   140k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   140k|        cpos.each_sub(visitor_t{}, *this);
 1758|   140k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   140k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EESH_EENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSN_OT1_:
 1802|   140k|    {
 1803|   140k|        using node_t    = node_type<CPos>;
 1804|   140k|        using merger_t  = concat_merger<node_t>;
 1805|   140k|        using visitor_t = concat_merger_visitor;
 1806|   140k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   140k|        IMMER_TRY {
  ------------------
  |  |   49|   140k|#define IMMER_TRY try
  ------------------
 1808|   140k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   140k|            cpos.each_sub(visitor_t{}, merger);
 1810|   140k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   140k|            cpos.each_sub(dec_visitor{});
 1812|   140k|            return merger.finish();
 1813|   140k|        }
 1814|   140k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   140k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|   368k|    {
 1945|   368k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|   368k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|   790k|    {
 1938|   790k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|   790k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_11relaxed_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|   666k|{
 1824|   666k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   666k|    plan.fill(lpos, cpos, rpos);
 1826|   666k|    plan.shuffle(cpos.shift());
 1827|   666k|    IMMER_TRY {
  ------------------
  |  |   49|   666k|#define IMMER_TRY try
  ------------------
 1828|   666k|        return plan.merge(lpos, cpos, rpos);
 1829|   666k|    }
 1830|   666k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   666k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_11relaxed_posISF_EEEEvOT_OT0_OT1_:
 1752|   666k|    {
 1753|   666k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 666k, False: 0]
  ------------------
 1754|   666k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 666k, False: 0]
  ------------------
 1755|   666k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   666k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   666k|        cpos.each_sub(visitor_t{}, *this);
 1758|   666k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   666k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_11relaxed_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|   666k|    {
 1803|   666k|        using node_t    = node_type<CPos>;
 1804|   666k|        using merger_t  = concat_merger<node_t>;
 1805|   666k|        using visitor_t = concat_merger_visitor;
 1806|   666k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   666k|        IMMER_TRY {
  ------------------
  |  |   49|   666k|#define IMMER_TRY try
  ------------------
 1808|   666k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   666k|            cpos.each_sub(visitor_t{}, merger);
 1810|   666k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   666k|            cpos.each_sub(dec_visitor{});
 1812|   666k|            return merger.finish();
 1813|   666k|        }
 1814|   666k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   666k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_17concat_center_posISC_EENS1_12null_sub_posEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  2.39M|{
 1824|  2.39M|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.39M|    plan.fill(lpos, cpos, rpos);
 1826|  2.39M|    plan.shuffle(cpos.shift());
 1827|  2.39M|    IMMER_TRY {
  ------------------
  |  |   49|  2.39M|#define IMMER_TRY try
  ------------------
 1828|  2.39M|        return plan.merge(lpos, cpos, rpos);
 1829|  2.39M|    }
 1830|  2.39M|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.39M|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_12null_sub_posEEEvOT_OT0_OT1_:
 1752|  2.39M|    {
 1753|  2.39M|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.39M, False: 0]
  ------------------
 1754|  2.39M|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.39M, False: 0]
  ------------------
 1755|  2.39M|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.39M|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.39M|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.39M|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.39M|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_12null_sub_posEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|  2.39M|    {
 1803|  2.39M|        using node_t    = node_type<CPos>;
 1804|  2.39M|        using merger_t  = concat_merger<node_t>;
 1805|  2.39M|        using visitor_t = concat_merger_visitor;
 1806|  2.39M|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.39M|        IMMER_TRY {
  ------------------
  |  |   49|  2.39M|#define IMMER_TRY try
  ------------------
 1808|  2.39M|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.39M|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.39M|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.39M|            cpos.each_sub(dec_visitor{});
 1812|  2.39M|            return merger.finish();
 1813|  2.39M|        }
 1814|  2.39M|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.39M|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  1.82M|    {
 1918|  1.82M|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.82M|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  2.20k|    {
 1918|  2.20k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  2.20k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  77.9k|{
 1873|  77.9k|    auto lshift = lpos.shift();
 1874|  77.9k|    auto rshift = rpos.shift();
 1875|  77.9k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 60.3k, False: 17.5k]
  ------------------
 1876|  60.3k|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  60.3k|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  60.3k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 717, False: 16.8k]
  ------------------
 1879|    717|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    717|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  16.8k|    } else {
 1882|  16.8k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 16.8k, False: 0]
  ------------------
 1883|  16.8k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 16.8k]
  |  Branch (1883:9): [True: 16.8k, False: 0]
  |  Branch (1883:9): [True: 16.8k, False: 0]
  ------------------
 1884|  16.8k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  16.8k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  16.8k|    }
 1887|  77.9k|}
_ZN5immer6detail4rbts19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1897|  59.9k|    {
 1898|  59.9k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  59.9k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_8full_posISC_EERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  2.93k|    {
 1918|  2.93k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  2.93k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  2.93k|{
 1873|  2.93k|    auto lshift = lpos.shift();
 1874|  2.93k|    auto rshift = rpos.shift();
 1875|  2.93k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 2.93k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  2.93k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 261, False: 2.67k]
  ------------------
 1879|    261|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    261|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  2.67k|    } else {
 1882|  2.67k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 2.67k, False: 0]
  ------------------
 1883|  2.67k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 2.67k]
  |  Branch (1883:9): [True: 2.67k, False: 0]
  |  Branch (1883:9): [True: 2.67k, False: 0]
  ------------------
 1884|  2.67k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  2.67k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  2.67k|    }
 1887|  2.93k|}
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|    429|    {
 1938|    429|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|    429|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_17concat_center_posISC_EERNS1_8full_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  2.67k|{
 1824|  2.67k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.67k|    plan.fill(lpos, cpos, rpos);
 1826|  2.67k|    plan.shuffle(cpos.shift());
 1827|  2.67k|    IMMER_TRY {
  ------------------
  |  |   49|  2.67k|#define IMMER_TRY try
  ------------------
 1828|  2.67k|        return plan.merge(lpos, cpos, rpos);
 1829|  2.67k|    }
 1830|  2.67k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.67k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEEvOT_OT0_OT1_:
 1752|  2.67k|    {
 1753|  2.67k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.67k, False: 0]
  ------------------
 1754|  2.67k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.67k, False: 0]
  ------------------
 1755|  2.67k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.67k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.67k|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.67k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.67k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|  2.67k|    {
 1803|  2.67k|        using node_t    = node_type<CPos>;
 1804|  2.67k|        using merger_t  = concat_merger<node_t>;
 1805|  2.67k|        using visitor_t = concat_merger_visitor;
 1806|  2.67k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.67k|        IMMER_TRY {
  ------------------
  |  |   49|  2.67k|#define IMMER_TRY try
  ------------------
 1808|  2.67k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.67k|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.67k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.67k|            cpos.each_sub(dec_visitor{});
 1812|  2.67k|            return merger.finish();
 1813|  2.67k|        }
 1814|  2.67k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.67k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|  1.52k|    {
 1938|  1.52k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  1.52k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_17concat_center_posISC_EERNS1_15regular_sub_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  16.8k|{
 1824|  16.8k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  16.8k|    plan.fill(lpos, cpos, rpos);
 1826|  16.8k|    plan.shuffle(cpos.shift());
 1827|  16.8k|    IMMER_TRY {
  ------------------
  |  |   49|  16.8k|#define IMMER_TRY try
  ------------------
 1828|  16.8k|        return plan.merge(lpos, cpos, rpos);
 1829|  16.8k|    }
 1830|  16.8k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  16.8k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_15regular_sub_posISF_EEEEvOT_OT0_OT1_:
 1752|  16.8k|    {
 1753|  16.8k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 16.8k, False: 0]
  ------------------
 1754|  16.8k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 16.8k, False: 0]
  ------------------
 1755|  16.8k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  16.8k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  16.8k|        cpos.each_sub(visitor_t{}, *this);
 1758|  16.8k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  16.8k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_15regular_sub_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|  16.8k|    {
 1803|  16.8k|        using node_t    = node_type<CPos>;
 1804|  16.8k|        using merger_t  = concat_merger<node_t>;
 1805|  16.8k|        using visitor_t = concat_merger_visitor;
 1806|  16.8k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  16.8k|        IMMER_TRY {
  ------------------
  |  |   49|  16.8k|#define IMMER_TRY try
  ------------------
 1808|  16.8k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  16.8k|            cpos.each_sub(visitor_t{}, merger);
 1810|  16.8k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  16.8k|            cpos.each_sub(dec_visitor{});
 1812|  16.8k|            return merger.finish();
 1813|  16.8k|        }
 1814|  16.8k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  16.8k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EESH_EENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|  1.74M|    {
 1938|  1.74M|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  1.74M|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_17concat_center_posISC_EESF_EENSG_IT_EEOT0_OT1_OT2_:
 1823|  2.23M|{
 1824|  2.23M|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.23M|    plan.fill(lpos, cpos, rpos);
 1826|  2.23M|    plan.shuffle(cpos.shift());
 1827|  2.23M|    IMMER_TRY {
  ------------------
  |  |   49|  2.23M|#define IMMER_TRY try
  ------------------
 1828|  2.23M|        return plan.merge(lpos, cpos, rpos);
 1829|  2.23M|    }
 1830|  2.23M|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.23M|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EESH_EEvOT_OT0_OT1_:
 1752|  2.23M|    {
 1753|  2.23M|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.23M, False: 0]
  ------------------
 1754|  2.23M|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.23M, False: 0]
  ------------------
 1755|  2.23M|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.23M|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.23M|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.23M|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.23M|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EESH_EENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSN_OT1_:
 1802|  2.23M|    {
 1803|  2.23M|        using node_t    = node_type<CPos>;
 1804|  2.23M|        using merger_t  = concat_merger<node_t>;
 1805|  2.23M|        using visitor_t = concat_merger_visitor;
 1806|  2.23M|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.23M|        IMMER_TRY {
  ------------------
  |  |   49|  2.23M|#define IMMER_TRY try
  ------------------
 1808|  2.23M|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.23M|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.23M|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.23M|            cpos.each_sub(dec_visitor{});
 1812|  2.23M|            return merger.finish();
 1813|  2.23M|        }
 1814|  2.23M|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.23M|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_15regular_sub_posISC_EERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  15.7k|    {
 1959|  15.7k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  15.7k|    }
_ZN5immer6detail4rbts25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_15regular_sub_posISC_EENS1_8leaf_posISC_EEJRPSC_RjRmEEENS1_17concat_center_posISC_EEOT_OT0_DpOT1_:
 1971|  14.8k|    {
 1972|  14.8k|        return visit_maybe_relaxed_sub(
 1973|  14.8k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|  14.8k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_11relaxed_posISC_EERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  6.61k|    {
 1959|  6.61k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  6.61k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_15regular_sub_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  8.27k|    {
 1959|  8.27k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  8.27k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEEPSC_OT_NSA_5applyIS7_E4type4editESI_j:
  680|  63.0k|    {
  681|  63.0k|        auto node     = pos.node();
  682|  63.0k|        auto level    = pos.shift();
  683|  63.0k|        auto idx      = pos.count() - 1;
  684|  63.0k|        auto children = pos.size(idx);
  685|  63.0k|        auto new_idx =
  686|  63.0k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (686:13): [True: 2.32k, False: 60.6k]
  |  Branch (686:47): [True: 579, False: 60.1k]
  ------------------
  687|  63.0k|        auto new_child = static_cast<node_t*>(nullptr);
  688|  63.0k|        auto mutate    = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (688:26): [True: 63.0k, Folded]
  |  Branch (688:38): [True: 59.2k, False: 3.77k]
  ------------------
  689|       |
  690|  63.0k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (690:13): [True: 1.36k, False: 61.6k]
  ------------------
  691|  1.36k|            return nullptr;
  692|  61.6k|        else if (idx == new_idx) {
  ------------------
  |  Branch (692:18): [True: 60.1k, False: 1.53k]
  ------------------
  693|  60.1k|            new_child =
  694|  60.1k|                mutate ? pos.last_oh_csh(this_t{}, idx, children, e, tail, ts)
  ------------------
  |  Branch (694:17): [True: 57.6k, False: 2.50k]
  ------------------
  695|  60.1k|                       : pos.last_oh_csh(
  696|  2.50k|                             this_no_mut_t{}, idx, children, e, tail, ts);
  697|  60.1k|            if (!new_child) {
  ------------------
  |  Branch (697:17): [True: 774, False: 59.3k]
  ------------------
  698|    774|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (698:21): [True: 425, False: 349]
  ------------------
  699|    425|                    new_child = node_t::make_path_e(e, level - B, tail);
  700|    349|                else
  701|    349|                    return nullptr;
  702|    774|            }
  703|  60.1k|        } else
  704|  1.53k|            new_child = node_t::make_path_e(e, level - B, tail);
  705|       |
  706|  61.2k|        if (mutate) {
  ------------------
  |  Branch (706:13): [True: 58.9k, False: 2.38k]
  ------------------
  707|  58.9k|            auto count             = new_idx + 1;
  708|  58.9k|            auto relaxed           = node->ensure_mutable_relaxed_n(e, new_idx);
  709|  58.9k|            node->inner()[new_idx] = new_child;
  710|  58.9k|            relaxed->d.sizes[new_idx] = pos.size() + ts;
  711|  58.9k|            relaxed->d.count          = count;
  712|  58.9k|            assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (712:13): [True: 58.9k, False: 0]
  ------------------
  713|  58.9k|            return node;
  714|  58.9k|        } else {
  715|  2.38k|            IMMER_TRY {
  ------------------
  |  |   49|  2.38k|#define IMMER_TRY try
  ------------------
  716|  2.38k|                auto count    = new_idx + 1;
  717|  2.38k|                auto new_node = node_t::copy_inner_r_e(e, pos.node(), new_idx);
  718|  2.38k|                auto relaxed  = new_node->relaxed();
  719|  2.38k|                new_node->inner()[new_idx] = new_child;
  720|  2.38k|                relaxed->d.sizes[new_idx]  = pos.size() + ts;
  721|  2.38k|                relaxed->d.count           = count;
  722|  2.38k|                assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (722:17): [True: 2.38k, False: 0]
  ------------------
  723|  2.38k|                if (Mutating)
  ------------------
  |  Branch (723:21): [True: 2.38k, Folded]
  ------------------
  724|  2.38k|                    pos.visit(dec_visitor{});
  725|  2.38k|                return new_node;
  726|  2.38k|            }
  727|  2.38k|            IMMER_CATCH (...) {
  728|      0|                auto shift = pos.shift();
  729|      0|                auto size  = new_idx == idx ? children + ts : ts;
  ------------------
  |  Branch (729:30): [True: 0, False: 0]
  ------------------
  730|      0|                if (shift > BL) {
  ------------------
  |  Branch (730:21): [True: 0, False: 0]
  ------------------
  731|      0|                    tail->inc();
  732|      0|                    dec_inner(new_child, shift - B, size);
  733|      0|                }
  734|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  735|      0|            }
  736|  2.38k|        }
  737|  61.2k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEJRjEEEPSC_OT_NSA_5applyIS7_E4type4editESJ_DpOT0_:
  741|  48.1k|    {
  742|  48.1k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 48.1k, False: 0]
  ------------------
  743|  48.1k|        auto node    = pos.node();
  744|  48.1k|        auto idx     = pos.index(pos.size() - 1);
  745|  48.1k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  48.1k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 48.1k, Folded]
  |  Branch (746:36): [True: 47.4k, False: 717]
  ------------------
  747|  48.1k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 47.4k, False: 717]
  ------------------
  748|  47.4k|            node->inner()[new_idx] =
  749|  47.4k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 46.6k, False: 796]
  ------------------
  750|       |                               /* otherwise */
  751|  47.4k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|  47.4k|            return node;
  753|  47.4k|        } else {
  754|    717|            auto new_parent = node_t::make_inner_e(e);
  755|    717|            IMMER_TRY {
  ------------------
  |  |   49|    717|#define IMMER_TRY try
  ------------------
  756|    717|                new_parent->inner()[new_idx] =
  757|    717|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 382, False: 335]
  ------------------
  758|    717|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    717|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    717|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    717|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 717, Folded]
  ------------------
  763|    717|                    pos.visit(dec_visitor{});
  764|    717|                return new_parent;
  765|    717|            }
  766|    717|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    717|        }
  771|  48.1k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_11regular_posISC_EEJEEEPSC_OT_NSA_5applyIS7_E4type4editESI_DpOT0_:
  741|   970k|    {
  742|   970k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 970k, False: 0]
  ------------------
  743|   970k|        auto node    = pos.node();
  744|   970k|        auto idx     = pos.index(pos.size() - 1);
  745|   970k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|   970k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 970k, Folded]
  |  Branch (746:36): [True: 970k, False: 707]
  ------------------
  747|   970k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 970k, False: 707]
  ------------------
  748|   970k|            node->inner()[new_idx] =
  749|   970k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 761k, False: 208k]
  ------------------
  750|       |                               /* otherwise */
  751|   970k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|   970k|            return node;
  753|   970k|        } else {
  754|    707|            auto new_parent = node_t::make_inner_e(e);
  755|    707|            IMMER_TRY {
  ------------------
  |  |   49|    707|#define IMMER_TRY try
  ------------------
  756|    707|                new_parent->inner()[new_idx] =
  757|    707|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 396, False: 311]
  ------------------
  758|    707|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    707|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    707|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    707|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 707, Folded]
  ------------------
  763|    707|                    pos.visit(dec_visitor{});
  764|    707|                return new_parent;
  765|    707|            }
  766|    707|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    707|        }
  771|   970k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_11regular_posISC_EEJEEEPSC_OT_NSA_5applyIS7_E4type4editESI_DpOT0_:
  741|  3.10k|    {
  742|  3.10k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 3.10k, False: 0]
  ------------------
  743|  3.10k|        auto node    = pos.node();
  744|  3.10k|        auto idx     = pos.index(pos.size() - 1);
  745|  3.10k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  3.10k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [Folded, False: 3.10k]
  |  Branch (746:36): [True: 0, False: 0]
  ------------------
  747|  3.10k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 0, False: 3.10k]
  ------------------
  748|      0|            node->inner()[new_idx] =
  749|      0|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 0, False: 0]
  ------------------
  750|       |                               /* otherwise */
  751|      0|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|      0|            return node;
  753|  3.10k|        } else {
  754|  3.10k|            auto new_parent = node_t::make_inner_e(e);
  755|  3.10k|            IMMER_TRY {
  ------------------
  |  |   49|  3.10k|#define IMMER_TRY try
  ------------------
  756|  3.10k|                new_parent->inner()[new_idx] =
  757|  3.10k|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 1.23k, False: 1.87k]
  ------------------
  758|  3.10k|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|  3.10k|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|  3.10k|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|  3.10k|                if (Mutating)
  ------------------
  |  Branch (762:21): [Folded, False: 3.10k]
  ------------------
  763|      0|                    pos.visit(dec_visitor{});
  764|  3.10k|                return new_parent;
  765|  3.10k|            }
  766|  3.10k|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|  3.10k|        }
  771|  3.10k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEEPSC_OT_NSA_5applyIS7_E4type4editESI_j:
  680|  7.29k|    {
  681|  7.29k|        auto node     = pos.node();
  682|  7.29k|        auto level    = pos.shift();
  683|  7.29k|        auto idx      = pos.count() - 1;
  684|  7.29k|        auto children = pos.size(idx);
  685|  7.29k|        auto new_idx =
  686|  7.29k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (686:13): [True: 1.00k, False: 6.29k]
  |  Branch (686:47): [True: 387, False: 5.90k]
  ------------------
  687|  7.29k|        auto new_child = static_cast<node_t*>(nullptr);
  688|  7.29k|        auto mutate    = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (688:26): [Folded, False: 7.29k]
  |  Branch (688:38): [True: 0, False: 0]
  ------------------
  689|       |
  690|  7.29k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (690:13): [True: 559, False: 6.73k]
  ------------------
  691|    559|            return nullptr;
  692|  6.73k|        else if (idx == new_idx) {
  ------------------
  |  Branch (692:18): [True: 5.90k, False: 829]
  ------------------
  693|  5.90k|            new_child =
  694|  5.90k|                mutate ? pos.last_oh_csh(this_t{}, idx, children, e, tail, ts)
  ------------------
  |  Branch (694:17): [True: 0, False: 5.90k]
  ------------------
  695|  5.90k|                       : pos.last_oh_csh(
  696|  5.90k|                             this_no_mut_t{}, idx, children, e, tail, ts);
  697|  5.90k|            if (!new_child) {
  ------------------
  |  Branch (697:17): [True: 591, False: 5.31k]
  ------------------
  698|    591|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (698:21): [True: 246, False: 345]
  ------------------
  699|    246|                    new_child = node_t::make_path_e(e, level - B, tail);
  700|    345|                else
  701|    345|                    return nullptr;
  702|    591|            }
  703|  5.90k|        } else
  704|    829|            new_child = node_t::make_path_e(e, level - B, tail);
  705|       |
  706|  6.39k|        if (mutate) {
  ------------------
  |  Branch (706:13): [True: 0, False: 6.39k]
  ------------------
  707|      0|            auto count             = new_idx + 1;
  708|      0|            auto relaxed           = node->ensure_mutable_relaxed_n(e, new_idx);
  709|      0|            node->inner()[new_idx] = new_child;
  710|      0|            relaxed->d.sizes[new_idx] = pos.size() + ts;
  711|      0|            relaxed->d.count          = count;
  712|      0|            assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (712:13): [True: 0, False: 0]
  ------------------
  713|      0|            return node;
  714|  6.39k|        } else {
  715|  6.39k|            IMMER_TRY {
  ------------------
  |  |   49|  6.39k|#define IMMER_TRY try
  ------------------
  716|  6.39k|                auto count    = new_idx + 1;
  717|  6.39k|                auto new_node = node_t::copy_inner_r_e(e, pos.node(), new_idx);
  718|  6.39k|                auto relaxed  = new_node->relaxed();
  719|  6.39k|                new_node->inner()[new_idx] = new_child;
  720|  6.39k|                relaxed->d.sizes[new_idx]  = pos.size() + ts;
  721|  6.39k|                relaxed->d.count           = count;
  722|  6.39k|                assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (722:17): [True: 6.39k, False: 0]
  ------------------
  723|  6.39k|                if (Mutating)
  ------------------
  |  Branch (723:21): [Folded, False: 6.39k]
  ------------------
  724|      0|                    pos.visit(dec_visitor{});
  725|  6.39k|                return new_node;
  726|  6.39k|            }
  727|  6.39k|            IMMER_CATCH (...) {
  728|      0|                auto shift = pos.shift();
  729|      0|                auto size  = new_idx == idx ? children + ts : ts;
  ------------------
  |  Branch (729:30): [True: 0, False: 0]
  ------------------
  730|      0|                if (shift > BL) {
  ------------------
  |  Branch (730:21): [True: 0, False: 0]
  ------------------
  731|      0|                    tail->inc();
  732|      0|                    dec_inner(new_child, shift - B, size);
  733|      0|                }
  734|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  735|      0|            }
  736|  6.39k|        }
  737|  6.39k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEJRjEEEPSC_OT_NSA_5applyIS7_E4type4editESJ_DpOT0_:
  741|  1.11k|    {
  742|  1.11k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 1.11k, False: 0]
  ------------------
  743|  1.11k|        auto node    = pos.node();
  744|  1.11k|        auto idx     = pos.index(pos.size() - 1);
  745|  1.11k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  1.11k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [Folded, False: 1.11k]
  |  Branch (746:36): [True: 0, False: 0]
  ------------------
  747|  1.11k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 0, False: 1.11k]
  ------------------
  748|      0|            node->inner()[new_idx] =
  749|      0|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 0, False: 0]
  ------------------
  750|       |                               /* otherwise */
  751|      0|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|      0|            return node;
  753|  1.11k|        } else {
  754|  1.11k|            auto new_parent = node_t::make_inner_e(e);
  755|  1.11k|            IMMER_TRY {
  ------------------
  |  |   49|  1.11k|#define IMMER_TRY try
  ------------------
  756|  1.11k|                new_parent->inner()[new_idx] =
  757|  1.11k|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 700, False: 412]
  ------------------
  758|  1.11k|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|  1.11k|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|  1.11k|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|  1.11k|                if (Mutating)
  ------------------
  |  Branch (762:21): [Folded, False: 1.11k]
  ------------------
  763|      0|                    pos.visit(dec_visitor{});
  764|  1.11k|                return new_parent;
  765|  1.11k|            }
  766|  1.11k|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|  1.11k|        }
  771|  1.11k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEJEEEPSC_OT_NSA_5applyIS7_E4type4editESI_DpOT0_:
  741|   166k|    {
  742|   166k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 166k, False: 0]
  ------------------
  743|   166k|        auto node    = pos.node();
  744|   166k|        auto idx     = pos.index(pos.size() - 1);
  745|   166k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|   166k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 166k, Folded]
  |  Branch (746:36): [True: 166k, False: 668]
  ------------------
  747|   166k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 166k, False: 668]
  ------------------
  748|   166k|            node->inner()[new_idx] =
  749|   166k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 162k, False: 4.03k]
  ------------------
  750|       |                               /* otherwise */
  751|   166k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|   166k|            return node;
  753|   166k|        } else {
  754|    668|            auto new_parent = node_t::make_inner_e(e);
  755|    668|            IMMER_TRY {
  ------------------
  |  |   49|    668|#define IMMER_TRY try
  ------------------
  756|    668|                new_parent->inner()[new_idx] =
  757|    668|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 393, False: 275]
  ------------------
  758|    668|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    668|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    668|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    668|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 668, Folded]
  ------------------
  763|    668|                    pos.visit(dec_visitor{});
  764|    668|                return new_parent;
  765|    668|            }
  766|    668|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    668|        }
  771|   166k|    }
_ZN5immer6detail4rbts17dec_empty_regularINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_:
  580|  2.33k|{
  581|  2.33k|    make_empty_regular_pos(node).visit(dec_visitor());
  582|  2.33k|}
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_relaxedIRNS1_11relaxed_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  595|  96.9k|    {
  596|  96.9k|        auto offset = pos.index(idx);
  597|  96.9k|        auto count  = pos.count();
  598|  96.9k|        auto node   = pos.node();
  599|  96.9k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (599:13): [True: 84.9k, False: 12.0k]
  ------------------
  600|  84.9k|            return pos.towards_oh(
  601|  84.9k|                this_t{}, idx, offset, e, &node->inner()[offset]);
  602|  84.9k|        } else {
  603|  12.0k|            auto new_node = node_t::copy_inner_sr_e(e, node, count);
  604|  12.0k|            IMMER_TRY {
  ------------------
  |  |   49|  12.0k|#define IMMER_TRY try
  ------------------
  605|  12.0k|                auto& res = pos.towards_oh(
  606|  12.0k|                    this_t{}, idx, offset, e, &new_node->inner()[offset]);
  607|  12.0k|                pos.visit(dec_visitor{});
  608|  12.0k|                *location = new_node;
  609|  12.0k|                return res;
  610|  12.0k|            }
  611|  12.0k|            IMMER_CATCH (...) {
  612|      0|                dec_relaxed(new_node, pos.shift());
  613|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  614|      0|            }
  615|  12.0k|        }
  616|  96.9k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  652|  36.6k|    {
  653|  36.6k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 36.6k, False: 0]
  ------------------
  654|  36.6k|        auto node = pos.node();
  655|  36.6k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 34.1k, False: 2.45k]
  ------------------
  656|  34.1k|            return node->leaf()[pos.index(idx)];
  657|  34.1k|        } else {
  658|  2.45k|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|  2.45k|            pos.visit(dec_visitor{});
  660|  2.45k|            *location = new_node;
  661|  2.45k|            return new_node->leaf()[pos.index(idx)];
  662|  2.45k|        }
  663|  36.6k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_15regular_sub_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  621|  7.77k|    {
  622|  7.77k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 7.77k, False: 0]
  ------------------
  623|  7.77k|        auto offset = pos.index(idx);
  624|  7.77k|        auto count  = pos.count();
  625|  7.77k|        auto node   = pos.node();
  626|  7.77k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 5.90k, False: 1.87k]
  ------------------
  627|  5.90k|            return pos.towards_oh_ch(
  628|  5.90k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  5.90k|        } else {
  630|  1.87k|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|  1.87k|            IMMER_TRY {
  ------------------
  |  |   49|  1.87k|#define IMMER_TRY try
  ------------------
  632|  1.87k|                auto& res = pos.towards_oh_ch(this_t{},
  633|  1.87k|                                              idx,
  634|  1.87k|                                              offset,
  635|  1.87k|                                              count,
  636|  1.87k|                                              e,
  637|  1.87k|                                              &new_node->inner()[offset]);
  638|  1.87k|                pos.visit(dec_visitor{});
  639|  1.87k|                *location = new_node;
  640|  1.87k|                return res;
  641|  1.87k|            }
  642|  1.87k|            IMMER_CATCH (...) {
  643|      0|                dec_regular(new_node, pos.shift(), pos.size());
  644|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  645|      0|            }
  646|  1.87k|        }
  647|  7.77k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_13full_leaf_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  652|  6.60k|    {
  653|  6.60k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 6.60k, False: 0]
  ------------------
  654|  6.60k|        auto node = pos.node();
  655|  6.60k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 4.54k, False: 2.06k]
  ------------------
  656|  4.54k|            return node->leaf()[pos.index(idx)];
  657|  4.54k|        } else {
  658|  2.06k|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|  2.06k|            pos.visit(dec_visitor{});
  660|  2.06k|            *location = new_node;
  661|  2.06k|            return new_node->leaf()[pos.index(idx)];
  662|  2.06k|        }
  663|  6.60k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_8full_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  621|  5.48k|    {
  622|  5.48k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 5.48k, False: 0]
  ------------------
  623|  5.48k|        auto offset = pos.index(idx);
  624|  5.48k|        auto count  = pos.count();
  625|  5.48k|        auto node   = pos.node();
  626|  5.48k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 3.72k, False: 1.76k]
  ------------------
  627|  3.72k|            return pos.towards_oh_ch(
  628|  3.72k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  3.72k|        } else {
  630|  1.76k|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|  1.76k|            IMMER_TRY {
  ------------------
  |  |   49|  1.76k|#define IMMER_TRY try
  ------------------
  632|  1.76k|                auto& res = pos.towards_oh_ch(this_t{},
  633|  1.76k|                                              idx,
  634|  1.76k|                                              offset,
  635|  1.76k|                                              count,
  636|  1.76k|                                              e,
  637|  1.76k|                                              &new_node->inner()[offset]);
  638|  1.76k|                pos.visit(dec_visitor{});
  639|  1.76k|                *location = new_node;
  640|  1.76k|                return res;
  641|  1.76k|            }
  642|  1.76k|            IMMER_CATCH (...) {
  643|      0|                dec_regular(new_node, pos.shift(), pos.size());
  644|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  645|      0|            }
  646|  1.76k|        }
  647|  5.48k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_8leaf_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  652|  1.17k|    {
  653|  1.17k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 1.17k, False: 0]
  ------------------
  654|  1.17k|        auto node = pos.node();
  655|  1.17k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 703, False: 467]
  ------------------
  656|    703|            return node->leaf()[pos.index(idx)];
  657|    703|        } else {
  658|    467|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|    467|            pos.visit(dec_visitor{});
  660|    467|            *location = new_node;
  661|    467|            return new_node->leaf()[pos.index(idx)];
  662|    467|        }
  663|  1.17k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_11regular_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  621|  1.89k|    {
  622|  1.89k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 1.89k, False: 0]
  ------------------
  623|  1.89k|        auto offset = pos.index(idx);
  624|  1.89k|        auto count  = pos.count();
  625|  1.89k|        auto node   = pos.node();
  626|  1.89k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 1.60k, False: 291]
  ------------------
  627|  1.60k|            return pos.towards_oh_ch(
  628|  1.60k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  1.60k|        } else {
  630|    291|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|    291|            IMMER_TRY {
  ------------------
  |  |   49|    291|#define IMMER_TRY try
  ------------------
  632|    291|                auto& res = pos.towards_oh_ch(this_t{},
  633|    291|                                              idx,
  634|    291|                                              offset,
  635|    291|                                              count,
  636|    291|                                              e,
  637|    291|                                              &new_node->inner()[offset]);
  638|    291|                pos.visit(dec_visitor{});
  639|    291|                *location = new_node;
  640|    291|                return res;
  641|    291|            }
  642|    291|            IMMER_CATCH (...) {
  643|      0|                dec_regular(new_node, pos.shift(), pos.size());
  644|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  645|      0|            }
  646|    291|        }
  647|  1.89k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  913|  49.5k|    {
  914|  49.5k|        auto idx    = pos.index(last);
  915|  49.5k|        auto node   = pos.node();
  916|  49.5k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [True: 49.5k, Folded]
  |  Branch (916:35): [True: 41.8k, False: 7.75k]
  ------------------
  917|  49.5k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [True: 49.5k, Folded]
  |  Branch (917:25): [True: 31.4k, False: 18.1k]
  ------------------
  918|  31.4k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 27.2k, False: 4.15k]
  ------------------
  919|  31.4k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|  31.4k|            if (Mutating)
  ------------------
  |  Branch (920:17): [True: 31.4k, Folded]
  ------------------
  921|  31.4k|                pos.visit(dec_right_visitor{}, count_t{1});
  922|  31.4k|            return res;
  923|  31.4k|        } else {
  924|  18.1k|            using std::get;
  925|  18.1k|            auto subs =
  926|  18.1k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 14.5k, False: 3.59k]
  ------------------
  927|  18.1k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  18.1k|            auto next = get<1>(subs);
  929|  18.1k|            auto ts   = get<2>(subs);
  930|  18.1k|            auto tail = get<3>(subs);
  931|  18.1k|            IMMER_TRY {
  ------------------
  |  |   49|  18.1k|#define IMMER_TRY try
  ------------------
  932|  18.1k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 13.4k, False: 4.61k]
  ------------------
  933|  13.4k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 11.2k, False: 2.27k]
  ------------------
  934|  11.2k|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|  11.2k|                        pos.each_right(dec_visitor{}, idx + 1);
  936|  11.2k|                        node->inner()[idx] = next;
  937|  11.2k|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|  11.2k|                        nodr->d.count      = idx + 1;
  939|  11.2k|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 11.2k, False: 0]
  ------------------
  940|  11.2k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  11.2k|                    } else {
  942|  2.27k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  2.27k|                        auto newr = newn->relaxed();
  944|  2.27k|                        newn->inner()[idx] = next;
  945|  2.27k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  2.27k|                        newr->d.count      = idx + 1;
  947|  2.27k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 2.27k, False: 0]
  ------------------
  948|  2.27k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [True: 2.27k, Folded]
  ------------------
  949|  2.27k|                            pos.visit(dec_visitor{});
  950|  2.27k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  2.27k|                    }
  952|  13.4k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 0, False: 4.61k]
  ------------------
  953|      0|                    if (Mutating)
  ------------------
  |  Branch (953:25): [True: 0, Folded]
  ------------------
  954|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  4.61k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [True: 4.61k, Folded]
  |  Branch (956:40): [True: 3.60k, False: 1.01k]
  |  Branch (956:52): [True: 2.93k, False: 669]
  ------------------
  957|  2.93k|                    auto newn = pos.node()->inner()[0];
  958|  2.93k|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 805, False: 2.13k]
  ------------------
  959|    805|                        newn->inc();
  960|  2.93k|                    if (Mutating)
  ------------------
  |  Branch (960:25): [True: 2.93k, Folded]
  ------------------
  961|  2.93k|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|  2.93k|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  2.93k|                } else {
  964|  1.68k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 1.16k, False: 513]
  ------------------
  965|  1.16k|                        pos.each_right(dec_visitor{}, idx + 1);
  966|  1.16k|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|  1.16k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  1.16k|                    } else {
  969|    513|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    513|                        if (Mutating)
  ------------------
  |  Branch (970:29): [True: 513, Folded]
  ------------------
  971|    513|                            pos.visit(dec_visitor{});
  972|    513|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    513|                    }
  974|  1.68k|                }
  975|  18.1k|            }
  976|  18.1k|            IMMER_CATCH (...) {
  977|      0|                assert(!mutate);
  ------------------
  |  Branch (977:17): [True: 0, False: 0]
  ------------------
  978|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                if (next)
  ------------------
  |  Branch (979:21): [True: 0, False: 0]
  ------------------
  980|      0|                    dec_inner(next,
  981|      0|                              pos.shift() - B,
  982|      0|                              last + 1 - ts - pos.size_before(idx));
  983|      0|                dec_leaf(tail, ts);
  984|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  985|      0|            }
  986|  18.1k|        }
  987|  49.5k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  1.06k|    {
 1060|  1.06k|        auto old_tail_size = pos.count();
 1061|  1.06k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.06k|        auto node          = pos.node();
 1063|  1.06k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 1.06k, Folded]
  |  Branch (1063:42): [True: 305, False: 760]
  ------------------
 1064|  1.06k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 304, False: 761]
  ------------------
 1065|    304|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 304]
  ------------------
 1066|      0|                node->inc();
 1067|    304|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    761|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 267, False: 494]
  ------------------
 1069|    267|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    267|                              old_tail_size - new_tail_size);
 1071|    267|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    494|        } else {
 1073|    494|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    494|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 494, Folded]
  ------------------
 1075|    494|                pos.visit(dec_visitor{});
 1076|    494|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    494|        }
 1078|  1.06k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|    777|    {
 1060|    777|        auto old_tail_size = pos.count();
 1061|    777|        auto new_tail_size = pos.index(last) + 1;
 1062|    777|        auto node          = pos.node();
 1063|    777|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 777]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|    777|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 487, False: 290]
  ------------------
 1065|    487|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 487, Folded]
  ------------------
 1066|    487|                node->inc();
 1067|    487|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    487|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 290]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    290|        } else {
 1073|    290|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    290|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 290]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    290|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    290|        }
 1078|    777|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  913|  16.4k|    {
  914|  16.4k|        auto idx    = pos.index(last);
  915|  16.4k|        auto node   = pos.node();
  916|  16.4k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [Folded, False: 16.4k]
  |  Branch (916:35): [True: 0, False: 0]
  ------------------
  917|  16.4k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [True: 16.4k, Folded]
  |  Branch (917:25): [True: 14.4k, False: 1.92k]
  ------------------
  918|  14.4k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 0, False: 14.4k]
  ------------------
  919|  14.4k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|  14.4k|            if (Mutating)
  ------------------
  |  Branch (920:17): [Folded, False: 14.4k]
  ------------------
  921|      0|                pos.visit(dec_right_visitor{}, count_t{1});
  922|  14.4k|            return res;
  923|  14.4k|        } else {
  924|  1.92k|            using std::get;
  925|  1.92k|            auto subs =
  926|  1.92k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 0, False: 1.92k]
  ------------------
  927|  1.92k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  1.92k|            auto next = get<1>(subs);
  929|  1.92k|            auto ts   = get<2>(subs);
  930|  1.92k|            auto tail = get<3>(subs);
  931|  1.92k|            IMMER_TRY {
  ------------------
  |  |   49|  1.92k|#define IMMER_TRY try
  ------------------
  932|  1.92k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 510, False: 1.41k]
  ------------------
  933|    510|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 0, False: 510]
  ------------------
  934|      0|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|      0|                        pos.each_right(dec_visitor{}, idx + 1);
  936|      0|                        node->inner()[idx] = next;
  937|      0|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|      0|                        nodr->d.count      = idx + 1;
  939|      0|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 0, False: 0]
  ------------------
  940|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|    510|                    } else {
  942|    510|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|    510|                        auto newr = newn->relaxed();
  944|    510|                        newn->inner()[idx] = next;
  945|    510|                        newr->d.sizes[idx] = last + 1 - ts;
  946|    510|                        newr->d.count      = idx + 1;
  947|    510|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 510, False: 0]
  ------------------
  948|    510|                        if (Mutating)
  ------------------
  |  Branch (948:29): [Folded, False: 510]
  ------------------
  949|      0|                            pos.visit(dec_visitor{});
  950|    510|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|    510|                    }
  952|  1.41k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 0, False: 1.41k]
  ------------------
  953|      0|                    if (Mutating)
  ------------------
  |  Branch (953:25): [Folded, False: 0]
  ------------------
  954|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  1.41k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [True: 1.41k, Folded]
  |  Branch (956:40): [True: 687, False: 723]
  |  Branch (956:52): [True: 409, False: 278]
  ------------------
  957|    409|                    auto newn = pos.node()->inner()[0];
  958|    409|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 409, False: 0]
  ------------------
  959|    409|                        newn->inc();
  960|    409|                    if (Mutating)
  ------------------
  |  Branch (960:25): [Folded, False: 409]
  ------------------
  961|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|    409|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  1.00k|                } else {
  964|  1.00k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 0, False: 1.00k]
  ------------------
  965|      0|                        pos.each_right(dec_visitor{}, idx + 1);
  966|      0|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  1.00k|                    } else {
  969|  1.00k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|  1.00k|                        if (Mutating)
  ------------------
  |  Branch (970:29): [Folded, False: 1.00k]
  ------------------
  971|      0|                            pos.visit(dec_visitor{});
  972|  1.00k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|  1.00k|                    }
  974|  1.00k|                }
  975|  1.92k|            }
  976|  1.92k|            IMMER_CATCH (...) {
  977|      0|                assert(!mutate);
  ------------------
  |  Branch (977:17): [True: 0, False: 0]
  ------------------
  978|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                if (next)
  ------------------
  |  Branch (979:21): [True: 0, False: 0]
  ------------------
  980|      0|                    dec_inner(next,
  981|      0|                              pos.shift() - B,
  982|      0|                              last + 1 - ts - pos.size_before(idx));
  983|      0|                dec_leaf(tail, ts);
  984|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  985|      0|            }
  986|  1.92k|        }
  987|  16.4k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  1.46k|    {
  992|  1.46k|        auto idx    = pos.index(last);
  993|  1.46k|        auto node   = pos.node();
  994|  1.46k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 1.46k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  1.46k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 1.46k, Folded]
  |  Branch (995:25): [True: 425, False: 1.03k]
  ------------------
  996|    425|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 425]
  ------------------
  997|    425|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|    425|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 425]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|    425|            return res;
 1001|  1.03k|        } else {
 1002|  1.03k|            using std::get;
 1003|  1.03k|            auto subs =
 1004|  1.03k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 1.03k]
  ------------------
 1005|  1.03k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  1.03k|            auto next = get<1>(subs);
 1007|  1.03k|            auto ts   = get<2>(subs);
 1008|  1.03k|            auto tail = get<3>(subs);
 1009|  1.03k|            IMMER_TRY {
  ------------------
  |  |   49|  1.03k|#define IMMER_TRY try
  ------------------
 1010|  1.03k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 221, False: 816]
  ------------------
 1011|    221|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 221]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    221|                    } else {
 1016|    221|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    221|                        newn->inner()[idx] = next;
 1018|    221|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 221]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    221|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    221|                    }
 1022|    816|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 816]
  ------------------
 1023|      0|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 0]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|    816|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 816, Folded]
  |  Branch (1026:40): [True: 553, False: 263]
  |  Branch (1026:52): [True: 206, False: 347]
  ------------------
 1027|    206|                    auto newn = pos.node()->inner()[0];
 1028|    206|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 206, False: 0]
  ------------------
 1029|    206|                        newn->inc();
 1030|    206|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 206]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    206|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    610|                } else {
 1034|    610|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 610]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    610|                    } else {
 1038|    610|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    610|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 610]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    610|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    610|                    }
 1043|    610|                }
 1044|  1.03k|            }
 1045|  1.03k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  1.03k|        }
 1055|  1.46k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  1.49k|    {
 1060|  1.49k|        auto old_tail_size = pos.count();
 1061|  1.49k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.49k|        auto node          = pos.node();
 1063|  1.49k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 1.49k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  1.49k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 728, False: 770]
  ------------------
 1065|    728|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 728, Folded]
  ------------------
 1066|    728|                node->inc();
 1067|    728|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    770|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 770]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    770|        } else {
 1073|    770|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    770|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 770]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    770|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    770|        }
 1078|  1.49k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  1.93k|    {
  992|  1.93k|        auto idx    = pos.index(last);
  993|  1.93k|        auto node   = pos.node();
  994|  1.93k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 1.93k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  1.93k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 1.93k, Folded]
  |  Branch (995:25): [True: 660, False: 1.27k]
  ------------------
  996|    660|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 660]
  ------------------
  997|    660|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|    660|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 660]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|    660|            return res;
 1001|  1.27k|        } else {
 1002|  1.27k|            using std::get;
 1003|  1.27k|            auto subs =
 1004|  1.27k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 1.27k]
  ------------------
 1005|  1.27k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  1.27k|            auto next = get<1>(subs);
 1007|  1.27k|            auto ts   = get<2>(subs);
 1008|  1.27k|            auto tail = get<3>(subs);
 1009|  1.27k|            IMMER_TRY {
  ------------------
  |  |   49|  1.27k|#define IMMER_TRY try
  ------------------
 1010|  1.27k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 257, False: 1.02k]
  ------------------
 1011|    257|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 257]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    257|                    } else {
 1016|    257|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    257|                        newn->inner()[idx] = next;
 1018|    257|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 257]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    257|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    257|                    }
 1022|  1.02k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 1.02k]
  ------------------
 1023|      0|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 0]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.02k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 1.02k, Folded]
  |  Branch (1026:40): [True: 689, False: 332]
  |  Branch (1026:52): [True: 220, False: 469]
  ------------------
 1027|    220|                    auto newn = pos.node()->inner()[0];
 1028|    220|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 220, False: 0]
  ------------------
 1029|    220|                        newn->inc();
 1030|    220|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 220]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    220|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    801|                } else {
 1034|    801|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 801]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    801|                    } else {
 1038|    801|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    801|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 801]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    801|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    801|                    }
 1043|    801|                }
 1044|  1.27k|            }
 1045|  1.27k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  1.27k|        }
 1055|  1.93k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  5.93k|    {
 1060|  5.93k|        auto old_tail_size = pos.count();
 1061|  5.93k|        auto new_tail_size = pos.index(last) + 1;
 1062|  5.93k|        auto node          = pos.node();
 1063|  5.93k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 5.93k, Folded]
  |  Branch (1063:42): [True: 1.16k, False: 4.76k]
  ------------------
 1064|  5.93k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.30k, False: 4.62k]
  ------------------
 1065|  1.30k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 1.30k]
  ------------------
 1066|      0|                node->inc();
 1067|  1.30k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  4.62k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 1.07k, False: 3.54k]
  ------------------
 1069|  1.07k|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|  1.07k|                              old_tail_size - new_tail_size);
 1071|  1.07k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  3.54k|        } else {
 1073|  3.54k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  3.54k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 3.54k, Folded]
  ------------------
 1075|  3.54k|                pos.visit(dec_visitor{});
 1076|  3.54k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  3.54k|        }
 1078|  5.93k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  4.82k|    {
  992|  4.82k|        auto idx    = pos.index(last);
  993|  4.82k|        auto node   = pos.node();
  994|  4.82k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 4.82k, Folded]
  |  Branch (994:35): [True: 2.62k, False: 2.20k]
  ------------------
  995|  4.82k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 4.82k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 0, Folded]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  4.82k|        } else {
 1002|  4.82k|            using std::get;
 1003|  4.82k|            auto subs =
 1004|  4.82k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 2.62k, False: 2.20k]
  ------------------
 1005|  4.82k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  4.82k|            auto next = get<1>(subs);
 1007|  4.82k|            auto ts   = get<2>(subs);
 1008|  4.82k|            auto tail = get<3>(subs);
 1009|  4.82k|            IMMER_TRY {
  ------------------
  |  |   49|  4.82k|#define IMMER_TRY try
  ------------------
 1010|  4.82k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 904, False: 3.92k]
  ------------------
 1011|    904|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 620, False: 284]
  ------------------
 1012|    620|                        node->inner()[idx] = next;
 1013|    620|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    620|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    620|                    } else {
 1016|    284|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    284|                        newn->inner()[idx] = next;
 1018|    284|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 284, Folded]
  ------------------
 1019|    284|                            pos.visit(dec_visitor{});
 1020|    284|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    284|                    }
 1022|  3.92k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.45k, False: 2.47k]
  ------------------
 1023|  1.45k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 1.45k, Folded]
  ------------------
 1024|  1.45k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.45k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  2.47k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 2.47k]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 0, Folded]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  2.47k|                } else {
 1034|  2.47k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 1.51k, False: 961]
  ------------------
 1035|  1.51k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  1.51k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.51k|                    } else {
 1038|    961|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    961|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 961, Folded]
  ------------------
 1040|    961|                            pos.visit(dec_visitor{});
 1041|    961|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    961|                    }
 1043|  2.47k|                }
 1044|  4.82k|            }
 1045|  4.82k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  4.82k|        }
 1055|  4.82k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  878|  3.40k|    {
  879|  3.40k|        using node_t = node_type<Pos>;
  880|  3.40k|        auto node    = p.node();
  881|  3.40k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 1.61k, False: 1.78k]
  ------------------
  882|  1.61k|            p.each_right(dec_t{}, idx);
  883|  1.61k|            node_t::delete_inner(node, p.count());
  884|  1.61k|        }
  885|  3.40k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  10.1k|    {
 1060|  10.1k|        auto old_tail_size = pos.count();
 1061|  10.1k|        auto new_tail_size = pos.index(last) + 1;
 1062|  10.1k|        auto node          = pos.node();
 1063|  10.1k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 10.1k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  10.1k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 2.79k, False: 7.33k]
  ------------------
 1065|  2.79k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 2.79k, Folded]
  ------------------
 1066|  2.79k|                node->inc();
 1067|  2.79k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  7.33k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 7.33k]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  7.33k|        } else {
 1073|  7.33k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  7.33k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 7.33k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  7.33k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  7.33k|        }
 1078|  10.1k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  3.44k|    {
  992|  3.44k|        auto idx    = pos.index(last);
  993|  3.44k|        auto node   = pos.node();
  994|  3.44k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 3.44k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  3.44k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 3.44k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 0]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  3.44k|        } else {
 1002|  3.44k|            using std::get;
 1003|  3.44k|            auto subs =
 1004|  3.44k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.44k]
  ------------------
 1005|  3.44k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  3.44k|            auto next = get<1>(subs);
 1007|  3.44k|            auto ts   = get<2>(subs);
 1008|  3.44k|            auto tail = get<3>(subs);
 1009|  3.44k|            IMMER_TRY {
  ------------------
  |  |   49|  3.44k|#define IMMER_TRY try
  ------------------
 1010|  3.44k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 302, False: 3.14k]
  ------------------
 1011|    302|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 302]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    302|                    } else {
 1016|    302|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    302|                        newn->inner()[idx] = next;
 1018|    302|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 302]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    302|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    302|                    }
 1022|  3.14k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.28k, False: 1.85k]
  ------------------
 1023|  1.28k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 1.28k]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.28k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.85k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 1.85k]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 0]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  1.85k|                } else {
 1034|  1.85k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 1.85k]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.85k|                    } else {
 1038|  1.85k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.85k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 1.85k]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|  1.85k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.85k|                    }
 1043|  1.85k|                }
 1044|  3.44k|            }
 1045|  3.44k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  3.44k|        }
 1055|  3.44k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|    427|    {
 1060|    427|        auto old_tail_size = pos.count();
 1061|    427|        auto new_tail_size = pos.index(last) + 1;
 1062|    427|        auto node          = pos.node();
 1063|    427|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 427]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|    427|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 197, False: 230]
  ------------------
 1065|    197|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 197, Folded]
  ------------------
 1066|    197|                node->inc();
 1067|    197|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    230|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 230]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    230|        } else {
 1073|    230|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    230|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 230]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    230|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    230|        }
 1078|    427|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  2.40k|    {
 1060|  2.40k|        auto old_tail_size = pos.count();
 1061|  2.40k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.40k|        auto node          = pos.node();
 1063|  2.40k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 2.40k, Folded]
  |  Branch (1063:42): [True: 371, False: 2.02k]
  ------------------
 1064|  2.40k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 251, False: 2.14k]
  ------------------
 1065|    251|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 251]
  ------------------
 1066|      0|                node->inc();
 1067|    251|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  2.14k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 353, False: 1.79k]
  ------------------
 1069|    353|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    353|                              old_tail_size - new_tail_size);
 1071|    353|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.79k|        } else {
 1073|  1.79k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.79k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 1.79k, Folded]
  ------------------
 1075|  1.79k|                pos.visit(dec_visitor{});
 1076|  1.79k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.79k|        }
 1078|  2.40k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_11regular_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  6.28k|    {
  992|  6.28k|        auto idx    = pos.index(last);
  993|  6.28k|        auto node   = pos.node();
  994|  6.28k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 6.28k, Folded]
  |  Branch (994:35): [True: 5.65k, False: 626]
  ------------------
  995|  6.28k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 6.28k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 0, Folded]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  6.28k|        } else {
 1002|  6.28k|            using std::get;
 1003|  6.28k|            auto subs =
 1004|  6.28k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 5.65k, False: 626]
  ------------------
 1005|  6.28k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  6.28k|            auto next = get<1>(subs);
 1007|  6.28k|            auto ts   = get<2>(subs);
 1008|  6.28k|            auto tail = get<3>(subs);
 1009|  6.28k|            IMMER_TRY {
  ------------------
  |  |   49|  6.28k|#define IMMER_TRY try
  ------------------
 1010|  6.28k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 1.46k, False: 4.81k]
  ------------------
 1011|  1.46k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 1.26k, False: 207]
  ------------------
 1012|  1.26k|                        node->inner()[idx] = next;
 1013|  1.26k|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|  1.26k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|  1.26k|                    } else {
 1016|    207|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    207|                        newn->inner()[idx] = next;
 1018|    207|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 207, Folded]
  ------------------
 1019|    207|                            pos.visit(dec_visitor{});
 1020|    207|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    207|                    }
 1022|  4.81k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 4.04k, False: 766]
  ------------------
 1023|  4.04k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 4.04k, Folded]
  ------------------
 1024|  4.04k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  4.04k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  4.04k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 766]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 0, Folded]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    766|                } else {
 1034|    766|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 555, False: 211]
  ------------------
 1035|    555|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|    555|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    555|                    } else {
 1038|    211|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    211|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 211, Folded]
  ------------------
 1040|    211|                            pos.visit(dec_visitor{});
 1041|    211|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    211|                    }
 1043|    766|                }
 1044|  6.28k|            }
 1045|  6.28k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  6.28k|        }
 1055|  6.28k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  878|  4.04k|    {
  879|  4.04k|        using node_t = node_type<Pos>;
  880|  4.04k|        auto node    = p.node();
  881|  4.04k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 3.83k, False: 208]
  ------------------
  882|  3.83k|            p.each_right(dec_t{}, idx);
  883|  3.83k|            node_t::delete_inner(node, p.count());
  884|  3.83k|        }
  885|  4.04k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  2.39k|    {
 1060|  2.39k|        auto old_tail_size = pos.count();
 1061|  2.39k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.39k|        auto node          = pos.node();
 1063|  2.39k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 2.39k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  2.39k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 691, False: 1.70k]
  ------------------
 1065|    691|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 691, Folded]
  ------------------
 1066|    691|                node->inc();
 1067|    691|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  1.70k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 1.70k]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.70k|        } else {
 1073|  1.70k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.70k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 1.70k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  1.70k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.70k|        }
 1078|  2.39k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_11regular_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  3.17k|    {
  992|  3.17k|        auto idx    = pos.index(last);
  993|  3.17k|        auto node   = pos.node();
  994|  3.17k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 3.17k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  3.17k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 3.17k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 0]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  3.17k|        } else {
 1002|  3.17k|            using std::get;
 1003|  3.17k|            auto subs =
 1004|  3.17k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.17k]
  ------------------
 1005|  3.17k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  3.17k|            auto next = get<1>(subs);
 1007|  3.17k|            auto ts   = get<2>(subs);
 1008|  3.17k|            auto tail = get<3>(subs);
 1009|  3.17k|            IMMER_TRY {
  ------------------
  |  |   49|  3.17k|#define IMMER_TRY try
  ------------------
 1010|  3.17k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 387, False: 2.79k]
  ------------------
 1011|    387|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 387]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    387|                    } else {
 1016|    387|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    387|                        newn->inner()[idx] = next;
 1018|    387|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 387]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    387|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    387|                    }
 1022|  2.79k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 2.07k, False: 718]
  ------------------
 1023|  2.07k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 2.07k]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  2.07k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  2.07k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 718]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 0]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    718|                } else {
 1034|    718|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 718]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    718|                    } else {
 1038|    718|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    718|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 718]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    718|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    718|                    }
 1043|    718|                }
 1044|  3.17k|            }
 1045|  3.17k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  3.17k|        }
 1055|  3.17k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  867|  36.8k|    {
  868|  36.8k|        using node_t = node_type<Pos>;
  869|  36.8k|        auto node    = p.node();
  870|  36.8k|        if (node->dec()) {
  ------------------
  |  Branch (870:13): [True: 31.1k, False: 5.64k]
  ------------------
  871|  31.1k|            p.each_right(dec_t{}, idx);
  872|  31.1k|            node_t::delete_inner_r(node, p.count());
  873|  31.1k|        }
  874|  36.8k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  3.98k|    {
 1060|  3.98k|        auto old_tail_size = pos.count();
 1061|  3.98k|        auto new_tail_size = pos.index(last) + 1;
 1062|  3.98k|        auto node          = pos.node();
 1063|  3.98k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 3.98k, Folded]
  |  Branch (1063:42): [True: 1.01k, False: 2.96k]
  ------------------
 1064|  3.98k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.36k, False: 2.62k]
  ------------------
 1065|  1.36k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 1.36k]
  ------------------
 1066|      0|                node->inc();
 1067|  1.36k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  2.62k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 932, False: 1.69k]
  ------------------
 1069|    932|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    932|                              old_tail_size - new_tail_size);
 1071|    932|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.69k|        } else {
 1073|  1.69k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.69k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 1.69k, Folded]
  ------------------
 1075|  1.69k|                pos.visit(dec_visitor{});
 1076|  1.69k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.69k|        }
 1078|  3.98k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  913|  11.6k|    {
  914|  11.6k|        auto idx    = pos.index(last);
  915|  11.6k|        auto node   = pos.node();
  916|  11.6k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [True: 11.6k, Folded]
  |  Branch (916:35): [True: 8.85k, False: 2.79k]
  ------------------
  917|  11.6k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [Folded, False: 11.6k]
  |  Branch (917:25): [True: 0, False: 0]
  ------------------
  918|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 0, False: 0]
  ------------------
  919|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|      0|            if (Mutating)
  ------------------
  |  Branch (920:17): [True: 0, Folded]
  ------------------
  921|      0|                pos.visit(dec_right_visitor{}, count_t{1});
  922|      0|            return res;
  923|  11.6k|        } else {
  924|  11.6k|            using std::get;
  925|  11.6k|            auto subs =
  926|  11.6k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 8.85k, False: 2.79k]
  ------------------
  927|  11.6k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  11.6k|            auto next = get<1>(subs);
  929|  11.6k|            auto ts   = get<2>(subs);
  930|  11.6k|            auto tail = get<3>(subs);
  931|  11.6k|            IMMER_TRY {
  ------------------
  |  |   49|  11.6k|#define IMMER_TRY try
  ------------------
  932|  11.6k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 6.21k, False: 5.43k]
  ------------------
  933|  6.21k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 4.65k, False: 1.55k]
  ------------------
  934|  4.65k|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|  4.65k|                        pos.each_right(dec_visitor{}, idx + 1);
  936|  4.65k|                        node->inner()[idx] = next;
  937|  4.65k|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|  4.65k|                        nodr->d.count      = idx + 1;
  939|  4.65k|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 4.65k, False: 0]
  ------------------
  940|  4.65k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  4.65k|                    } else {
  942|  1.55k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.55k|                        auto newr = newn->relaxed();
  944|  1.55k|                        newn->inner()[idx] = next;
  945|  1.55k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.55k|                        newr->d.count      = idx + 1;
  947|  1.55k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.55k, False: 0]
  ------------------
  948|  1.55k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [True: 1.55k, Folded]
  ------------------
  949|  1.55k|                            pos.visit(dec_visitor{});
  950|  1.55k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.55k|                    }
  952|  6.21k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 2.45k, False: 2.98k]
  ------------------
  953|  2.45k|                    if (Mutating)
  ------------------
  |  Branch (953:25): [True: 2.45k, Folded]
  ------------------
  954|  2.45k|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|  2.45k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  2.98k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [Folded, False: 2.98k]
  |  Branch (956:40): [True: 0, False: 0]
  |  Branch (956:52): [True: 0, False: 0]
  ------------------
  957|      0|                    auto newn = pos.node()->inner()[0];
  958|      0|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 0, False: 0]
  ------------------
  959|      0|                        newn->inc();
  960|      0|                    if (Mutating)
  ------------------
  |  Branch (960:25): [True: 0, Folded]
  ------------------
  961|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  2.98k|                } else {
  964|  2.98k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 2.42k, False: 554]
  ------------------
  965|  2.42k|                        pos.each_right(dec_visitor{}, idx + 1);
  966|  2.42k|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|  2.42k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  2.42k|                    } else {
  969|    554|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    554|                        if (Mutating)
  ------------------
  |  Branch (970:29): [True: 554, Folded]
  ------------------
  971|    554|                            pos.visit(dec_visitor{});
  972|    554|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    554|                    }
  974|  2.98k|                }
  975|  11.6k|            }
  976|  11.6k|            IMMER_CATCH (...) {
  977|      0|                assert(!mutate);
  ------------------
  |  Branch (977:17): [True: 0, False: 0]
  ------------------
  978|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                if (next)
  ------------------
  |  Branch (979:21): [True: 0, False: 0]
  ------------------
  980|      0|                    dec_inner(next,
  981|      0|                              pos.shift() - B,
  982|      0|                              last + 1 - ts - pos.size_before(idx));
  983|      0|                dec_leaf(tail, ts);
  984|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  985|      0|            }
  986|  11.6k|        }
  987|  11.6k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  7.73k|    {
  992|  7.73k|        auto idx    = pos.index(last);
  993|  7.73k|        auto node   = pos.node();
  994|  7.73k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 7.73k, Folded]
  |  Branch (994:35): [True: 6.70k, False: 1.02k]
  ------------------
  995|  7.73k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 7.73k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 0, Folded]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  7.73k|        } else {
 1002|  7.73k|            using std::get;
 1003|  7.73k|            auto subs =
 1004|  7.73k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 6.70k, False: 1.02k]
  ------------------
 1005|  7.73k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  7.73k|            auto next = get<1>(subs);
 1007|  7.73k|            auto ts   = get<2>(subs);
 1008|  7.73k|            auto tail = get<3>(subs);
 1009|  7.73k|            IMMER_TRY {
  ------------------
  |  |   49|  7.73k|#define IMMER_TRY try
  ------------------
 1010|  7.73k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 2.77k, False: 4.95k]
  ------------------
 1011|  2.77k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 2.47k, False: 302]
  ------------------
 1012|  2.47k|                        node->inner()[idx] = next;
 1013|  2.47k|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|  2.47k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|  2.47k|                    } else {
 1016|    302|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    302|                        newn->inner()[idx] = next;
 1018|    302|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 302, Folded]
  ------------------
 1019|    302|                            pos.visit(dec_visitor{});
 1020|    302|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    302|                    }
 1022|  4.95k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.05k, False: 3.89k]
  ------------------
 1023|  1.05k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 1.05k, Folded]
  ------------------
 1024|  1.05k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.05k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.89k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 3.89k]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 0, Folded]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  3.89k|                } else {
 1034|  3.89k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 3.50k, False: 388]
  ------------------
 1035|  3.50k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  3.50k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  3.50k|                    } else {
 1038|    388|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    388|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 388, Folded]
  ------------------
 1040|    388|                            pos.visit(dec_visitor{});
 1041|    388|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    388|                    }
 1043|  3.89k|                }
 1044|  7.73k|            }
 1045|  7.73k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  7.73k|        }
 1055|  7.73k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  878|  10.9k|    {
  879|  10.9k|        using node_t = node_type<Pos>;
  880|  10.9k|        auto node    = p.node();
  881|  10.9k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 7.70k, False: 3.24k]
  ------------------
  882|  7.70k|            p.each_right(dec_t{}, idx);
  883|  7.70k|            node_t::delete_inner(node, p.count());
  884|  7.70k|        }
  885|  10.9k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  4.99k|    {
 1060|  4.99k|        auto old_tail_size = pos.count();
 1061|  4.99k|        auto new_tail_size = pos.index(last) + 1;
 1062|  4.99k|        auto node          = pos.node();
 1063|  4.99k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 4.99k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  4.99k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.40k, False: 3.58k]
  ------------------
 1065|  1.40k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 1.40k, Folded]
  ------------------
 1066|  1.40k|                node->inc();
 1067|  1.40k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  3.58k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 3.58k]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  3.58k|        } else {
 1073|  3.58k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  3.58k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 3.58k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  3.58k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  3.58k|        }
 1078|  4.99k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  913|  7.00k|    {
  914|  7.00k|        auto idx    = pos.index(last);
  915|  7.00k|        auto node   = pos.node();
  916|  7.00k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [Folded, False: 7.00k]
  |  Branch (916:35): [True: 0, False: 0]
  ------------------
  917|  7.00k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [Folded, False: 7.00k]
  |  Branch (917:25): [True: 0, False: 0]
  ------------------
  918|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 0, False: 0]
  ------------------
  919|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|      0|            if (Mutating)
  ------------------
  |  Branch (920:17): [Folded, False: 0]
  ------------------
  921|      0|                pos.visit(dec_right_visitor{}, count_t{1});
  922|      0|            return res;
  923|  7.00k|        } else {
  924|  7.00k|            using std::get;
  925|  7.00k|            auto subs =
  926|  7.00k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 0, False: 7.00k]
  ------------------
  927|  7.00k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  7.00k|            auto next = get<1>(subs);
  929|  7.00k|            auto ts   = get<2>(subs);
  930|  7.00k|            auto tail = get<3>(subs);
  931|  7.00k|            IMMER_TRY {
  ------------------
  |  |   49|  7.00k|#define IMMER_TRY try
  ------------------
  932|  7.00k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 1.08k, False: 5.92k]
  ------------------
  933|  1.08k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 0, False: 1.08k]
  ------------------
  934|      0|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|      0|                        pos.each_right(dec_visitor{}, idx + 1);
  936|      0|                        node->inner()[idx] = next;
  937|      0|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|      0|                        nodr->d.count      = idx + 1;
  939|      0|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 0, False: 0]
  ------------------
  940|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  1.08k|                    } else {
  942|  1.08k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.08k|                        auto newr = newn->relaxed();
  944|  1.08k|                        newn->inner()[idx] = next;
  945|  1.08k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.08k|                        newr->d.count      = idx + 1;
  947|  1.08k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.08k, False: 0]
  ------------------
  948|  1.08k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [Folded, False: 1.08k]
  ------------------
  949|      0|                            pos.visit(dec_visitor{});
  950|  1.08k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.08k|                    }
  952|  5.92k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 4.19k, False: 1.72k]
  ------------------
  953|  4.19k|                    if (Mutating)
  ------------------
  |  Branch (953:25): [Folded, False: 4.19k]
  ------------------
  954|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|  4.19k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  4.19k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [Folded, False: 1.72k]
  |  Branch (956:40): [True: 0, False: 0]
  |  Branch (956:52): [True: 0, False: 0]
  ------------------
  957|      0|                    auto newn = pos.node()->inner()[0];
  958|      0|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 0, False: 0]
  ------------------
  959|      0|                        newn->inc();
  960|      0|                    if (Mutating)
  ------------------
  |  Branch (960:25): [Folded, False: 0]
  ------------------
  961|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  1.72k|                } else {
  964|  1.72k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 0, False: 1.72k]
  ------------------
  965|      0|                        pos.each_right(dec_visitor{}, idx + 1);
  966|      0|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  1.72k|                    } else {
  969|  1.72k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|  1.72k|                        if (Mutating)
  ------------------
  |  Branch (970:29): [Folded, False: 1.72k]
  ------------------
  971|      0|                            pos.visit(dec_visitor{});
  972|  1.72k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|  1.72k|                    }
  974|  1.72k|                }
  975|  7.00k|            }
  976|  7.00k|            IMMER_CATCH (...) {
  977|      0|                assert(!mutate);
  ------------------
  |  Branch (977:17): [True: 0, False: 0]
  ------------------
  978|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                if (next)
  ------------------
  |  Branch (979:21): [True: 0, False: 0]
  ------------------
  980|      0|                    dec_inner(next,
  981|      0|                              pos.shift() - B,
  982|      0|                              last + 1 - ts - pos.size_before(idx));
  983|      0|                dec_leaf(tail, ts);
  984|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  985|      0|            }
  986|  7.00k|        }
  987|  7.00k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  3.32k|    {
  992|  3.32k|        auto idx    = pos.index(last);
  993|  3.32k|        auto node   = pos.node();
  994|  3.32k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 3.32k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  3.32k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 3.32k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 0]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  3.32k|        } else {
 1002|  3.32k|            using std::get;
 1003|  3.32k|            auto subs =
 1004|  3.32k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.32k]
  ------------------
 1005|  3.32k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  3.32k|            auto next = get<1>(subs);
 1007|  3.32k|            auto ts   = get<2>(subs);
 1008|  3.32k|            auto tail = get<3>(subs);
 1009|  3.32k|            IMMER_TRY {
  ------------------
  |  |   49|  3.32k|#define IMMER_TRY try
  ------------------
 1010|  3.32k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 816, False: 2.50k]
  ------------------
 1011|    816|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 816]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    816|                    } else {
 1016|    816|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    816|                        newn->inner()[idx] = next;
 1018|    816|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 816]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    816|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    816|                    }
 1022|  2.50k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 702, False: 1.80k]
  ------------------
 1023|    702|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 702]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|    702|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.80k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 1.80k]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 0]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  1.80k|                } else {
 1034|  1.80k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 1.80k]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.80k|                    } else {
 1038|  1.80k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.80k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 1.80k]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|  1.80k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.80k|                    }
 1043|  1.80k|                }
 1044|  3.32k|            }
 1045|  3.32k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  3.32k|        }
 1055|  3.32k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  12.6k|    {
  992|  12.6k|        auto idx    = pos.index(last);
  993|  12.6k|        auto node   = pos.node();
  994|  12.6k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 12.6k, Folded]
  |  Branch (994:35): [True: 8.91k, False: 3.70k]
  ------------------
  995|  12.6k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 12.6k, Folded]
  |  Branch (995:25): [True: 7.57k, False: 5.04k]
  ------------------
  996|  7.57k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 5.42k, False: 2.14k]
  ------------------
  997|  7.57k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|  7.57k|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 7.57k, Folded]
  ------------------
  999|  7.57k|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|  7.57k|            return res;
 1001|  7.57k|        } else {
 1002|  5.04k|            using std::get;
 1003|  5.04k|            auto subs =
 1004|  5.04k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 3.48k, False: 1.55k]
  ------------------
 1005|  5.04k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  5.04k|            auto next = get<1>(subs);
 1007|  5.04k|            auto ts   = get<2>(subs);
 1008|  5.04k|            auto tail = get<3>(subs);
 1009|  5.04k|            IMMER_TRY {
  ------------------
  |  |   49|  5.04k|#define IMMER_TRY try
  ------------------
 1010|  5.04k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 1.04k, False: 3.99k]
  ------------------
 1011|  1.04k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 778, False: 271]
  ------------------
 1012|    778|                        node->inner()[idx] = next;
 1013|    778|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    778|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    778|                    } else {
 1016|    271|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    271|                        newn->inner()[idx] = next;
 1018|    271|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 271, Folded]
  ------------------
 1019|    271|                            pos.visit(dec_visitor{});
 1020|    271|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    271|                    }
 1022|  3.99k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 3.99k]
  ------------------
 1023|      0|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 0, Folded]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.99k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 3.99k, Folded]
  |  Branch (1026:40): [True: 3.50k, False: 493]
  |  Branch (1026:52): [True: 2.31k, False: 1.18k]
  ------------------
 1027|  2.31k|                    auto newn = pos.node()->inner()[0];
 1028|  2.31k|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 758, False: 1.56k]
  ------------------
 1029|    758|                        newn->inc();
 1030|  2.31k|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 2.31k, Folded]
  ------------------
 1031|  2.31k|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|  2.31k|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  2.31k|                } else {
 1034|  1.67k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 1.14k, False: 529]
  ------------------
 1035|  1.14k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  1.14k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.14k|                    } else {
 1038|    529|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    529|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 529, Folded]
  ------------------
 1040|    529|                            pos.visit(dec_visitor{});
 1041|    529|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    529|                    }
 1043|  1.67k|                }
 1044|  5.04k|            }
 1045|  5.04k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  5.04k|        }
 1055|  12.6k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  1.69k|    {
 1060|  1.69k|        auto old_tail_size = pos.count();
 1061|  1.69k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.69k|        auto node          = pos.node();
 1063|  1.69k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 1.69k, Folded]
  |  Branch (1063:42): [True: 630, False: 1.06k]
  ------------------
 1064|  1.69k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 704, False: 988]
  ------------------
 1065|    704|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 704]
  ------------------
 1066|      0|                node->inc();
 1067|    704|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    988|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 549, False: 439]
  ------------------
 1069|    549|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    549|                              old_tail_size - new_tail_size);
 1071|    549|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    549|        } else {
 1073|    439|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    439|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 439, Folded]
  ------------------
 1075|    439|                pos.visit(dec_visitor{});
 1076|    439|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    439|        }
 1078|  1.69k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  3.94k|    {
  992|  3.94k|        auto idx    = pos.index(last);
  993|  3.94k|        auto node   = pos.node();
  994|  3.94k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 3.94k, Folded]
  |  Branch (994:35): [True: 1.83k, False: 2.10k]
  ------------------
  995|  3.94k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 3.94k, Folded]
  |  Branch (995:25): [True: 1.49k, False: 2.44k]
  ------------------
  996|  1.49k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 865, False: 630]
  ------------------
  997|  1.49k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|  1.49k|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 1.49k, Folded]
  ------------------
  999|  1.49k|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|  1.49k|            return res;
 1001|  2.44k|        } else {
 1002|  2.44k|            using std::get;
 1003|  2.44k|            auto subs =
 1004|  2.44k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 971, False: 1.47k]
  ------------------
 1005|  2.44k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  2.44k|            auto next = get<1>(subs);
 1007|  2.44k|            auto ts   = get<2>(subs);
 1008|  2.44k|            auto tail = get<3>(subs);
 1009|  2.44k|            IMMER_TRY {
  ------------------
  |  |   49|  2.44k|#define IMMER_TRY try
  ------------------
 1010|  2.44k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 693, False: 1.75k]
  ------------------
 1011|    693|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 474, False: 219]
  ------------------
 1012|    474|                        node->inner()[idx] = next;
 1013|    474|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    474|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    474|                    } else {
 1016|    219|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    219|                        newn->inner()[idx] = next;
 1018|    219|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 219, Folded]
  ------------------
 1019|    219|                            pos.visit(dec_visitor{});
 1020|    219|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    219|                    }
 1022|  1.75k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 1.75k]
  ------------------
 1023|      0|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 0, Folded]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.75k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 1.75k, Folded]
  |  Branch (1026:40): [True: 1.25k, False: 502]
  |  Branch (1026:52): [True: 458, False: 795]
  ------------------
 1027|    458|                    auto newn = pos.node()->inner()[0];
 1028|    458|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 199, False: 259]
  ------------------
 1029|    199|                        newn->inc();
 1030|    458|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 458, Folded]
  ------------------
 1031|    458|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    458|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  1.29k|                } else {
 1034|  1.29k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 238, False: 1.05k]
  ------------------
 1035|    238|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|    238|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.05k|                    } else {
 1038|  1.05k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.05k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 1.05k, Folded]
  ------------------
 1040|  1.05k|                            pos.visit(dec_visitor{});
 1041|  1.05k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.05k|                    }
 1043|  1.29k|                }
 1044|  2.44k|            }
 1045|  2.44k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  2.44k|        }
 1055|  3.94k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|    657|    {
 1060|    657|        auto old_tail_size = pos.count();
 1061|    657|        auto new_tail_size = pos.index(last) + 1;
 1062|    657|        auto node          = pos.node();
 1063|    657|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 657, Folded]
  |  Branch (1063:42): [True: 201, False: 456]
  ------------------
 1064|    657|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 237, False: 420]
  ------------------
 1065|    237|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 237]
  ------------------
 1066|      0|                node->inc();
 1067|    237|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    420|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 194, False: 226]
  ------------------
 1069|    194|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    194|                              old_tail_size - new_tail_size);
 1071|    194|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    226|        } else {
 1073|    226|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    226|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 226, Folded]
  ------------------
 1075|    226|                pos.visit(dec_visitor{});
 1076|    226|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    226|        }
 1078|    657|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|    687|    {
 1378|    687|        auto node   = pos.node();
 1379|    687|        auto idx    = pos.index(first);
 1380|    687|        auto count  = pos.count();
 1381|    687|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [True: 0, Folded]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|    687|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 439, False: 248]
  ------------------
 1384|    687|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 439, False: 248]
  ------------------
 1385|    439|            auto data     = node->leaf();
 1386|    439|            auto newcount = count - idx;
 1387|    439|            std::move(data + idx, data + count, data);
 1388|    439|            detail::destroy_n(data + newcount, idx);
 1389|    439|            return std::make_tuple(0, node);
 1390|    439|        } else {
 1391|    248|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|    248|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 248, Folded]
  ------------------
 1393|    248|                pos.visit(dec_visitor{});
 1394|    248|            return std::make_tuple(0, newn);
 1395|    248|        }
 1396|    687|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1246|  37.0k|    {
 1247|  37.0k|        auto idx                = pos.subindex(first);
 1248|  37.0k|        auto count              = pos.count();
 1249|  37.0k|        auto node               = pos.node();
 1250|  37.0k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [True: 37.0k, Folded]
  |  Branch (1250:47): [True: 27.2k, False: 9.75k]
  ------------------
 1251|  37.0k|        auto left_size          = pos.size_before(idx);
 1252|  37.0k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  37.0k|        auto dropped_size       = first;
 1254|  37.0k|        auto child_dropped_size = dropped_size - left_size;
 1255|  37.0k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [True: 37.0k, Folded]
  |  Branch (1255:25): [True: 35.6k, False: 1.41k]
  |  Branch (1255:45): [True: 9.27k, False: 26.3k]
  ------------------
 1256|  9.27k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 5.83k, False: 3.44k]
  ------------------
 1257|  9.27k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|  9.27k|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 5.83k, False: 3.44k]
  ------------------
 1259|  5.83k|                pos.visit(dec_left_visitor{}, idx);
 1260|  3.44k|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [True: 3.44k, Folded]
  ------------------
 1261|  3.44k|                pos.visit(dec_visitor{});
 1262|  9.27k|            return r;
 1263|  27.7k|        } else {
 1264|  27.7k|            using std::get;
 1265|  27.7k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 21.4k, False: 6.30k]
  ------------------
 1266|  27.7k|                                   : node_t::make_inner_r_e(e);
 1267|  27.7k|            auto newr     = newn->relaxed();
 1268|  27.7k|            auto newcount = count - idx;
 1269|  27.7k|            auto new_child_size = child_size - child_dropped_size;
 1270|  27.7k|            IMMER_TRY {
  ------------------
  |  |   49|  27.7k|#define IMMER_TRY try
  ------------------
 1271|  27.7k|                auto subs =
 1272|  27.7k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 21.4k, False: 6.30k]
  ------------------
 1273|  27.7k|                           : pos.towards_sub_oh(
 1274|  6.30k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  27.7k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 21.4k, False: 6.30k]
  ------------------
 1276|  21.4k|                    pos.each_left(dec_visitor{}, idx);
 1277|  27.7k|                pos.copy_sizes(
 1278|  27.7k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  27.7k|                std::copy(node->inner() + idx + 1,
 1280|  27.7k|                          node->inner() + count,
 1281|  27.7k|                          newn->inner() + 1);
 1282|  27.7k|                newn->inner()[0] = get<1>(subs);
 1283|  27.7k|                newr->d.sizes[0] = new_child_size;
 1284|  27.7k|                newr->d.count    = newcount;
 1285|  27.7k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 27.7k, False: 0]
  ------------------
 1286|  27.7k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 6.30k, False: 21.4k]
  ------------------
 1287|  6.30k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  6.30k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [True: 6.30k, Folded]
  ------------------
 1289|  6.30k|                        pos.visit(dec_visitor{});
 1290|  6.30k|                }
 1291|  27.7k|                return std::make_tuple(pos.shift(), newn);
 1292|  27.7k|            }
 1293|  27.7k|            IMMER_CATCH (...) {
 1294|      0|                if (!mutate)
  ------------------
  |  Branch (1294:21): [True: 0, False: 0]
  ------------------
 1295|      0|                    node_t::delete_inner_r_e(newn);
 1296|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1297|      0|            }
 1298|  27.7k|        }
 1299|  37.0k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1246|  2.71k|    {
 1247|  2.71k|        auto idx                = pos.subindex(first);
 1248|  2.71k|        auto count              = pos.count();
 1249|  2.71k|        auto node               = pos.node();
 1250|  2.71k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [Folded, False: 2.71k]
  |  Branch (1250:47): [True: 0, False: 0]
  ------------------
 1251|  2.71k|        auto left_size          = pos.size_before(idx);
 1252|  2.71k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  2.71k|        auto dropped_size       = first;
 1254|  2.71k|        auto child_dropped_size = dropped_size - left_size;
 1255|  2.71k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [True: 2.71k, Folded]
  |  Branch (1255:25): [True: 1.43k, False: 1.27k]
  |  Branch (1255:45): [True: 1.02k, False: 414]
  ------------------
 1256|  1.02k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 0, False: 1.02k]
  ------------------
 1257|  1.02k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|  1.02k|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 0, False: 1.02k]
  ------------------
 1259|      0|                pos.visit(dec_left_visitor{}, idx);
 1260|  1.02k|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [Folded, False: 1.02k]
  ------------------
 1261|      0|                pos.visit(dec_visitor{});
 1262|  1.02k|            return r;
 1263|  1.68k|        } else {
 1264|  1.68k|            using std::get;
 1265|  1.68k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 0, False: 1.68k]
  ------------------
 1266|  1.68k|                                   : node_t::make_inner_r_e(e);
 1267|  1.68k|            auto newr     = newn->relaxed();
 1268|  1.68k|            auto newcount = count - idx;
 1269|  1.68k|            auto new_child_size = child_size - child_dropped_size;
 1270|  1.68k|            IMMER_TRY {
  ------------------
  |  |   49|  1.68k|#define IMMER_TRY try
  ------------------
 1271|  1.68k|                auto subs =
 1272|  1.68k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 0, False: 1.68k]
  ------------------
 1273|  1.68k|                           : pos.towards_sub_oh(
 1274|  1.68k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  1.68k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 0, False: 1.68k]
  ------------------
 1276|      0|                    pos.each_left(dec_visitor{}, idx);
 1277|  1.68k|                pos.copy_sizes(
 1278|  1.68k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  1.68k|                std::copy(node->inner() + idx + 1,
 1280|  1.68k|                          node->inner() + count,
 1281|  1.68k|                          newn->inner() + 1);
 1282|  1.68k|                newn->inner()[0] = get<1>(subs);
 1283|  1.68k|                newr->d.sizes[0] = new_child_size;
 1284|  1.68k|                newr->d.count    = newcount;
 1285|  1.68k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 1.68k, False: 0]
  ------------------
 1286|  1.68k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 1.68k, False: 0]
  ------------------
 1287|  1.68k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  1.68k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [Folded, False: 1.68k]
  ------------------
 1289|      0|                        pos.visit(dec_visitor{});
 1290|  1.68k|                }
 1291|  1.68k|                return std::make_tuple(pos.shift(), newn);
 1292|  1.68k|            }
 1293|  1.68k|            IMMER_CATCH (...) {
 1294|      0|                if (!mutate)
  ------------------
  |  Branch (1294:21): [True: 0, False: 0]
  ------------------
 1295|      0|                    node_t::delete_inner_r_e(newn);
 1296|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1297|      0|            }
 1298|  1.68k|        }
 1299|  2.71k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  2.84k|    {
 1304|  2.84k|        auto idx    = pos.subindex(first);
 1305|  2.84k|        auto count  = pos.count();
 1306|  2.84k|        auto node   = pos.node();
 1307|  2.84k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 2.84k]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|      0|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 0, False: 0]
  ------------------
 1312|  2.84k|        auto left_size          = pos.size_before(idx);
 1313|  2.84k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.84k|        auto dropped_size       = first;
 1315|  2.84k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.84k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 2.84k, Folded]
  |  Branch (1316:25): [True: 1.68k, False: 1.15k]
  |  Branch (1316:45): [True: 1.25k, False: 428]
  ------------------
 1317|  1.25k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 1.25k]
  ------------------
 1318|  1.25k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  1.25k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 1.25k]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.25k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 1.25k]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|  1.25k|            return r;
 1324|  1.58k|        } else {
 1325|  1.58k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  1.58k|            auto newcount = count - idx;
 1330|  1.58k|            auto newn =
 1331|  1.58k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 1.58k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  1.58k|                       : node_t::make_inner_r_e(e);
 1336|  1.58k|            auto newr = newn->relaxed();
 1337|  1.58k|            IMMER_TRY {
  ------------------
  |  |   49|  1.58k|#define IMMER_TRY try
  ------------------
 1338|  1.58k|                auto subs =
 1339|  1.58k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 1.58k]
  ------------------
 1340|  1.58k|                           : pos.towards_sub_oh(
 1341|  1.58k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.58k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 1.58k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.58k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.58k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.58k, False: 0]
  ------------------
 1346|  1.58k|                pos.copy_sizes(
 1347|  1.58k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.58k|                newr->d.count    = newcount;
 1349|  1.58k|                newn->inner()[0] = get<1>(subs);
 1350|  1.58k|                std::copy(node->inner() + idx + 1,
 1351|  1.58k|                          node->inner() + count,
 1352|  1.58k|                          newn->inner() + 1);
 1353|  1.58k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.58k, False: 0]
  ------------------
 1354|  1.58k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.58k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 1.58k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  1.58k|                }
 1358|  1.58k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.58k|            }
 1360|  1.58k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  1.58k|        }
 1373|  2.84k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  3.28k|    {
 1304|  3.28k|        auto idx    = pos.subindex(first);
 1305|  3.28k|        auto count  = pos.count();
 1306|  3.28k|        auto node   = pos.node();
 1307|  3.28k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 3.28k]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|      0|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 0, False: 0]
  ------------------
 1312|  3.28k|        auto left_size          = pos.size_before(idx);
 1313|  3.28k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.28k|        auto dropped_size       = first;
 1315|  3.28k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.28k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 3.28k, Folded]
  |  Branch (1316:25): [True: 579, False: 2.71k]
  |  Branch (1316:45): [True: 364, False: 215]
  ------------------
 1317|    364|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 364]
  ------------------
 1318|    364|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|    364|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 364]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|    364|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 364]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|    364|            return r;
 1324|  2.92k|        } else {
 1325|  2.92k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  2.92k|            auto newcount = count - idx;
 1330|  2.92k|            auto newn =
 1331|  2.92k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 2.92k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  2.92k|                       : node_t::make_inner_r_e(e);
 1336|  2.92k|            auto newr = newn->relaxed();
 1337|  2.92k|            IMMER_TRY {
  ------------------
  |  |   49|  2.92k|#define IMMER_TRY try
  ------------------
 1338|  2.92k|                auto subs =
 1339|  2.92k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 2.92k]
  ------------------
 1340|  2.92k|                           : pos.towards_sub_oh(
 1341|  2.92k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.92k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 2.92k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.92k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.92k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.92k, False: 0]
  ------------------
 1346|  2.92k|                pos.copy_sizes(
 1347|  2.92k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.92k|                newr->d.count    = newcount;
 1349|  2.92k|                newn->inner()[0] = get<1>(subs);
 1350|  2.92k|                std::copy(node->inner() + idx + 1,
 1351|  2.92k|                          node->inner() + count,
 1352|  2.92k|                          newn->inner() + 1);
 1353|  2.92k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 2.92k, False: 0]
  ------------------
 1354|  2.92k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  2.92k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 2.92k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  2.92k|                }
 1358|  2.92k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.92k|            }
 1360|  2.92k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  2.92k|        }
 1373|  3.28k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1209|    311|    {
 1210|    311|        using node_t = node_type<Pos>;
 1211|    311|        auto node    = p.node();
 1212|    311|        if (node->dec()) {
  ------------------
  |  Branch (1212:13): [True: 311, False: 0]
  ------------------
 1213|    311|            p.each_left(dec_t{}, idx);
 1214|    311|            node_t::delete_inner(node, p.count());
 1215|    311|        }
 1216|    311|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|  3.23k|    {
 1378|  3.23k|        auto node   = pos.node();
 1379|  3.23k|        auto idx    = pos.index(first);
 1380|  3.23k|        auto count  = pos.count();
 1381|  3.23k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [True: 0, Folded]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|  3.23k|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 613, False: 2.62k]
  ------------------
 1384|  3.23k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 613, False: 2.62k]
  ------------------
 1385|    613|            auto data     = node->leaf();
 1386|    613|            auto newcount = count - idx;
 1387|    613|            std::move(data + idx, data + count, data);
 1388|    613|            detail::destroy_n(data + newcount, idx);
 1389|    613|            return std::make_tuple(0, node);
 1390|  2.62k|        } else {
 1391|  2.62k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  2.62k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 2.62k, Folded]
  ------------------
 1393|  2.62k|                pos.visit(dec_visitor{});
 1394|  2.62k|            return std::make_tuple(0, newn);
 1395|  2.62k|        }
 1396|  3.23k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  2.24k|    {
 1304|  2.24k|        auto idx    = pos.subindex(first);
 1305|  2.24k|        auto count  = pos.count();
 1306|  2.24k|        auto node   = pos.node();
 1307|  2.24k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [True: 0, Folded]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|  2.24k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 980, False: 1.26k]
  ------------------
 1312|  2.24k|        auto left_size          = pos.size_before(idx);
 1313|  2.24k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.24k|        auto dropped_size       = first;
 1315|  2.24k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.24k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 2.24k]
  |  Branch (1316:25): [True: 0, False: 0]
  |  Branch (1316:45): [True: 0, False: 0]
  ------------------
 1317|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 0]
  ------------------
 1318|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|      0|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 0]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|      0|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 0, Folded]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|      0|            return r;
 1324|  2.24k|        } else {
 1325|  2.24k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  2.24k|            auto newcount = count - idx;
 1330|  2.24k|            auto newn =
 1331|  2.24k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 980, False: 1.26k]
  ------------------
 1332|    980|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|    980|                                                     norefs_tag{})) relaxed_t,
 1334|    980|                          node)
 1335|  2.24k|                       : node_t::make_inner_r_e(e);
 1336|  2.24k|            auto newr = newn->relaxed();
 1337|  2.24k|            IMMER_TRY {
  ------------------
  |  |   49|  2.24k|#define IMMER_TRY try
  ------------------
 1338|  2.24k|                auto subs =
 1339|  2.24k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 980, False: 1.26k]
  ------------------
 1340|  2.24k|                           : pos.towards_sub_oh(
 1341|  1.26k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.24k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 980, False: 1.26k]
  ------------------
 1343|    980|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.24k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.24k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.24k, False: 0]
  ------------------
 1346|  2.24k|                pos.copy_sizes(
 1347|  2.24k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.24k|                newr->d.count    = newcount;
 1349|  2.24k|                newn->inner()[0] = get<1>(subs);
 1350|  2.24k|                std::copy(node->inner() + idx + 1,
 1351|  2.24k|                          node->inner() + count,
 1352|  2.24k|                          newn->inner() + 1);
 1353|  2.24k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.26k, False: 980]
  ------------------
 1354|  1.26k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.26k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.26k, Folded]
  ------------------
 1356|  1.26k|                        pos.visit(dec_visitor{});
 1357|  1.26k|                }
 1358|  2.24k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.24k|            }
 1360|  2.24k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  2.24k|        }
 1373|  2.24k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|  10.5k|    {
 1378|  10.5k|        auto node   = pos.node();
 1379|  10.5k|        auto idx    = pos.index(first);
 1380|  10.5k|        auto count  = pos.count();
 1381|  10.5k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [Folded, False: 10.5k]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|      0|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 0, False: 0]
  ------------------
 1384|  10.5k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 0, False: 10.5k]
  ------------------
 1385|      0|            auto data     = node->leaf();
 1386|      0|            auto newcount = count - idx;
 1387|      0|            std::move(data + idx, data + count, data);
 1388|      0|            detail::destroy_n(data + newcount, idx);
 1389|      0|            return std::make_tuple(0, node);
 1390|  10.5k|        } else {
 1391|  10.5k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  10.5k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [Folded, False: 10.5k]
  ------------------
 1393|      0|                pos.visit(dec_visitor{});
 1394|  10.5k|            return std::make_tuple(0, newn);
 1395|  10.5k|        }
 1396|  10.5k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  3.39k|    {
 1304|  3.39k|        auto idx    = pos.subindex(first);
 1305|  3.39k|        auto count  = pos.count();
 1306|  3.39k|        auto node   = pos.node();
 1307|  3.39k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 3.39k]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|      0|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 0, False: 0]
  ------------------
 1312|  3.39k|        auto left_size          = pos.size_before(idx);
 1313|  3.39k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.39k|        auto dropped_size       = first;
 1315|  3.39k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.39k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 3.39k]
  |  Branch (1316:25): [True: 0, False: 0]
  |  Branch (1316:45): [True: 0, False: 0]
  ------------------
 1317|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 0]
  ------------------
 1318|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|      0|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 0]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|      0|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 0]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|      0|            return r;
 1324|  3.39k|        } else {
 1325|  3.39k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  3.39k|            auto newcount = count - idx;
 1330|  3.39k|            auto newn =
 1331|  3.39k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 3.39k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  3.39k|                       : node_t::make_inner_r_e(e);
 1336|  3.39k|            auto newr = newn->relaxed();
 1337|  3.39k|            IMMER_TRY {
  ------------------
  |  |   49|  3.39k|#define IMMER_TRY try
  ------------------
 1338|  3.39k|                auto subs =
 1339|  3.39k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 3.39k]
  ------------------
 1340|  3.39k|                           : pos.towards_sub_oh(
 1341|  3.39k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  3.39k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 3.39k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  3.39k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  3.39k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 3.39k, False: 0]
  ------------------
 1346|  3.39k|                pos.copy_sizes(
 1347|  3.39k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  3.39k|                newr->d.count    = newcount;
 1349|  3.39k|                newn->inner()[0] = get<1>(subs);
 1350|  3.39k|                std::copy(node->inner() + idx + 1,
 1351|  3.39k|                          node->inner() + count,
 1352|  3.39k|                          newn->inner() + 1);
 1353|  3.39k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 3.39k, False: 0]
  ------------------
 1354|  3.39k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  3.39k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 3.39k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  3.39k|                }
 1358|  3.39k|                return std::make_tuple(pos.shift(), newn);
 1359|  3.39k|            }
 1360|  3.39k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  3.39k|        }
 1373|  3.39k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1209|  4.45k|    {
 1210|  4.45k|        using node_t = node_type<Pos>;
 1211|  4.45k|        auto node    = p.node();
 1212|  4.45k|        if (node->dec()) {
  ------------------
  |  Branch (1212:13): [True: 4.45k, False: 0]
  ------------------
 1213|  4.45k|            p.each_left(dec_t{}, idx);
 1214|  4.45k|            node_t::delete_inner(node, p.count());
 1215|  4.45k|        }
 1216|  4.45k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|  12.5k|    {
 1378|  12.5k|        auto node   = pos.node();
 1379|  12.5k|        auto idx    = pos.index(first);
 1380|  12.5k|        auto count  = pos.count();
 1381|  12.5k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [True: 0, Folded]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|  12.5k|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 8.66k, False: 3.87k]
  ------------------
 1384|  12.5k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 8.66k, False: 3.87k]
  ------------------
 1385|  8.66k|            auto data     = node->leaf();
 1386|  8.66k|            auto newcount = count - idx;
 1387|  8.66k|            std::move(data + idx, data + count, data);
 1388|  8.66k|            detail::destroy_n(data + newcount, idx);
 1389|  8.66k|            return std::make_tuple(0, node);
 1390|  8.66k|        } else {
 1391|  3.87k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  3.87k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 3.87k, Folded]
  ------------------
 1393|  3.87k|                pos.visit(dec_visitor{});
 1394|  3.87k|            return std::make_tuple(0, newn);
 1395|  3.87k|        }
 1396|  12.5k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  1.45k|    {
 1304|  1.45k|        auto idx    = pos.subindex(first);
 1305|  1.45k|        auto count  = pos.count();
 1306|  1.45k|        auto node   = pos.node();
 1307|  1.45k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [True: 0, Folded]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|  1.45k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 460, False: 998]
  ------------------
 1312|  1.45k|        auto left_size          = pos.size_before(idx);
 1313|  1.45k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  1.45k|        auto dropped_size       = first;
 1315|  1.45k|        auto child_dropped_size = dropped_size - left_size;
 1316|  1.45k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 1.45k]
  |  Branch (1316:25): [True: 0, False: 0]
  |  Branch (1316:45): [True: 0, False: 0]
  ------------------
 1317|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 0]
  ------------------
 1318|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|      0|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 0]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|      0|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 0, Folded]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|      0|            return r;
 1324|  1.45k|        } else {
 1325|  1.45k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  1.45k|            auto newcount = count - idx;
 1330|  1.45k|            auto newn =
 1331|  1.45k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 460, False: 998]
  ------------------
 1332|    460|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|    460|                                                     norefs_tag{})) relaxed_t,
 1334|    460|                          node)
 1335|  1.45k|                       : node_t::make_inner_r_e(e);
 1336|  1.45k|            auto newr = newn->relaxed();
 1337|  1.45k|            IMMER_TRY {
  ------------------
  |  |   49|  1.45k|#define IMMER_TRY try
  ------------------
 1338|  1.45k|                auto subs =
 1339|  1.45k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 460, False: 998]
  ------------------
 1340|  1.45k|                           : pos.towards_sub_oh(
 1341|    998|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.45k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 460, False: 998]
  ------------------
 1343|    460|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.45k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.45k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.45k, False: 0]
  ------------------
 1346|  1.45k|                pos.copy_sizes(
 1347|  1.45k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.45k|                newr->d.count    = newcount;
 1349|  1.45k|                newn->inner()[0] = get<1>(subs);
 1350|  1.45k|                std::copy(node->inner() + idx + 1,
 1351|  1.45k|                          node->inner() + count,
 1352|  1.45k|                          newn->inner() + 1);
 1353|  1.45k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 998, False: 460]
  ------------------
 1354|    998|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|    998|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 998, Folded]
  ------------------
 1356|    998|                        pos.visit(dec_visitor{});
 1357|    998|                }
 1358|  1.45k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.45k|            }
 1360|  1.45k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  1.45k|        }
 1373|  1.45k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|  13.4k|    {
 1378|  13.4k|        auto node   = pos.node();
 1379|  13.4k|        auto idx    = pos.index(first);
 1380|  13.4k|        auto count  = pos.count();
 1381|  13.4k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [Folded, False: 13.4k]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|      0|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 0, False: 0]
  ------------------
 1384|  13.4k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 0, False: 13.4k]
  ------------------
 1385|      0|            auto data     = node->leaf();
 1386|      0|            auto newcount = count - idx;
 1387|      0|            std::move(data + idx, data + count, data);
 1388|      0|            detail::destroy_n(data + newcount, idx);
 1389|      0|            return std::make_tuple(0, node);
 1390|  13.4k|        } else {
 1391|  13.4k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  13.4k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [Folded, False: 13.4k]
  ------------------
 1393|      0|                pos.visit(dec_visitor{});
 1394|  13.4k|            return std::make_tuple(0, newn);
 1395|  13.4k|        }
 1396|  13.4k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  2.05k|    {
 1304|  2.05k|        auto idx    = pos.subindex(first);
 1305|  2.05k|        auto count  = pos.count();
 1306|  2.05k|        auto node   = pos.node();
 1307|  2.05k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 2.05k]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|      0|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 0, False: 0]
  ------------------
 1312|  2.05k|        auto left_size          = pos.size_before(idx);
 1313|  2.05k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.05k|        auto dropped_size       = first;
 1315|  2.05k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.05k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 2.05k]
  |  Branch (1316:25): [True: 0, False: 0]
  |  Branch (1316:45): [True: 0, False: 0]
  ------------------
 1317|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 0]
  ------------------
 1318|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|      0|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 0]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|      0|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 0]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|      0|            return r;
 1324|  2.05k|        } else {
 1325|  2.05k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  2.05k|            auto newcount = count - idx;
 1330|  2.05k|            auto newn =
 1331|  2.05k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 2.05k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  2.05k|                       : node_t::make_inner_r_e(e);
 1336|  2.05k|            auto newr = newn->relaxed();
 1337|  2.05k|            IMMER_TRY {
  ------------------
  |  |   49|  2.05k|#define IMMER_TRY try
  ------------------
 1338|  2.05k|                auto subs =
 1339|  2.05k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 2.05k]
  ------------------
 1340|  2.05k|                           : pos.towards_sub_oh(
 1341|  2.05k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.05k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 2.05k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.05k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.05k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.05k, False: 0]
  ------------------
 1346|  2.05k|                pos.copy_sizes(
 1347|  2.05k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.05k|                newr->d.count    = newcount;
 1349|  2.05k|                newn->inner()[0] = get<1>(subs);
 1350|  2.05k|                std::copy(node->inner() + idx + 1,
 1351|  2.05k|                          node->inner() + count,
 1352|  2.05k|                          newn->inner() + 1);
 1353|  2.05k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 2.05k, False: 0]
  ------------------
 1354|  2.05k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  2.05k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 2.05k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  2.05k|                }
 1358|  2.05k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.05k|            }
 1360|  2.05k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  2.05k|        }
 1373|  2.05k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1198|  5.83k|    {
 1199|  5.83k|        using node_t = node_type<Pos>;
 1200|  5.83k|        auto node    = p.node();
 1201|  5.83k|        if (node->dec()) {
  ------------------
  |  Branch (1201:13): [True: 5.83k, False: 0]
  ------------------
 1202|  5.83k|            p.each_left(dec_t{}, idx);
 1203|  5.83k|            node_t::delete_inner_r(node, p.count());
 1204|  5.83k|        }
 1205|  5.83k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1246|   187k|    {
 1247|   187k|        auto idx                = pos.subindex(first);
 1248|   187k|        auto count              = pos.count();
 1249|   187k|        auto node               = pos.node();
 1250|   187k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [True: 187k, Folded]
  |  Branch (1250:47): [True: 180k, False: 7.46k]
  ------------------
 1251|   187k|        auto left_size          = pos.size_before(idx);
 1252|   187k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|   187k|        auto dropped_size       = first;
 1254|   187k|        auto child_dropped_size = dropped_size - left_size;
 1255|   187k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [Folded, False: 187k]
  |  Branch (1255:25): [True: 0, False: 0]
  |  Branch (1255:45): [True: 0, False: 0]
  ------------------
 1256|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 0, False: 0]
  ------------------
 1257|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|      0|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 0, False: 0]
  ------------------
 1259|      0|                pos.visit(dec_left_visitor{}, idx);
 1260|      0|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [True: 0, Folded]
  ------------------
 1261|      0|                pos.visit(dec_visitor{});
 1262|      0|            return r;
 1263|   187k|        } else {
 1264|   187k|            using std::get;
 1265|   187k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 180k, False: 7.46k]
  ------------------
 1266|   187k|                                   : node_t::make_inner_r_e(e);
 1267|   187k|            auto newr     = newn->relaxed();
 1268|   187k|            auto newcount = count - idx;
 1269|   187k|            auto new_child_size = child_size - child_dropped_size;
 1270|   187k|            IMMER_TRY {
  ------------------
  |  |   49|   187k|#define IMMER_TRY try
  ------------------
 1271|   187k|                auto subs =
 1272|   187k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 180k, False: 7.46k]
  ------------------
 1273|   187k|                           : pos.towards_sub_oh(
 1274|  7.46k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|   187k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 180k, False: 7.46k]
  ------------------
 1276|   180k|                    pos.each_left(dec_visitor{}, idx);
 1277|   187k|                pos.copy_sizes(
 1278|   187k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|   187k|                std::copy(node->inner() + idx + 1,
 1280|   187k|                          node->inner() + count,
 1281|   187k|                          newn->inner() + 1);
 1282|   187k|                newn->inner()[0] = get<1>(subs);
 1283|   187k|                newr->d.sizes[0] = new_child_size;
 1284|   187k|                newr->d.count    = newcount;
 1285|   187k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 187k, False: 0]
  ------------------
 1286|   187k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 7.46k, False: 180k]
  ------------------
 1287|  7.46k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  7.46k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [True: 7.46k, Folded]
  ------------------
 1289|  7.46k|                        pos.visit(dec_visitor{});
 1290|  7.46k|                }
 1291|   187k|                return std::make_tuple(pos.shift(), newn);
 1292|   187k|            }
 1293|   187k|            IMMER_CATCH (...) {
 1294|      0|                if (!mutate)
  ------------------
  |  Branch (1294:21): [True: 0, False: 0]
  ------------------
 1295|      0|                    node_t::delete_inner_r_e(newn);
 1296|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1297|      0|            }
 1298|   187k|        }
 1299|   187k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1246|  52.3k|    {
 1247|  52.3k|        auto idx                = pos.subindex(first);
 1248|  52.3k|        auto count              = pos.count();
 1249|  52.3k|        auto node               = pos.node();
 1250|  52.3k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [Folded, False: 52.3k]
  |  Branch (1250:47): [True: 0, False: 0]
  ------------------
 1251|  52.3k|        auto left_size          = pos.size_before(idx);
 1252|  52.3k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  52.3k|        auto dropped_size       = first;
 1254|  52.3k|        auto child_dropped_size = dropped_size - left_size;
 1255|  52.3k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [Folded, False: 52.3k]
  |  Branch (1255:25): [True: 0, False: 0]
  |  Branch (1255:45): [True: 0, False: 0]
  ------------------
 1256|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 0, False: 0]
  ------------------
 1257|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|      0|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 0, False: 0]
  ------------------
 1259|      0|                pos.visit(dec_left_visitor{}, idx);
 1260|      0|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [Folded, False: 0]
  ------------------
 1261|      0|                pos.visit(dec_visitor{});
 1262|      0|            return r;
 1263|  52.3k|        } else {
 1264|  52.3k|            using std::get;
 1265|  52.3k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 0, False: 52.3k]
  ------------------
 1266|  52.3k|                                   : node_t::make_inner_r_e(e);
 1267|  52.3k|            auto newr     = newn->relaxed();
 1268|  52.3k|            auto newcount = count - idx;
 1269|  52.3k|            auto new_child_size = child_size - child_dropped_size;
 1270|  52.3k|            IMMER_TRY {
  ------------------
  |  |   49|  52.3k|#define IMMER_TRY try
  ------------------
 1271|  52.3k|                auto subs =
 1272|  52.3k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 0, False: 52.3k]
  ------------------
 1273|  52.3k|                           : pos.towards_sub_oh(
 1274|  52.3k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  52.3k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 0, False: 52.3k]
  ------------------
 1276|      0|                    pos.each_left(dec_visitor{}, idx);
 1277|  52.3k|                pos.copy_sizes(
 1278|  52.3k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  52.3k|                std::copy(node->inner() + idx + 1,
 1280|  52.3k|                          node->inner() + count,
 1281|  52.3k|                          newn->inner() + 1);
 1282|  52.3k|                newn->inner()[0] = get<1>(subs);
 1283|  52.3k|                newr->d.sizes[0] = new_child_size;
 1284|  52.3k|                newr->d.count    = newcount;
 1285|  52.3k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 52.3k, False: 0]
  ------------------
 1286|  52.3k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 52.3k, False: 0]
  ------------------
 1287|  52.3k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  52.3k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [Folded, False: 52.3k]
  ------------------
 1289|      0|                        pos.visit(dec_visitor{});
 1290|  52.3k|                }
 1291|  52.3k|                return std::make_tuple(pos.shift(), newn);
 1292|  52.3k|            }
 1293|  52.3k|            IMMER_CATCH (...) {
 1294|      0|                if (!mutate)
  ------------------
  |  Branch (1294:21): [True: 0, False: 0]
  ------------------
 1295|      0|                    node_t::delete_inner_r_e(newn);
 1296|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1297|      0|            }
 1298|  52.3k|        }
 1299|  52.3k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  9.65k|    {
 1304|  9.65k|        auto idx    = pos.subindex(first);
 1305|  9.65k|        auto count  = pos.count();
 1306|  9.65k|        auto node   = pos.node();
 1307|  9.65k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [True: 0, Folded]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|  9.65k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 7.36k, False: 2.28k]
  ------------------
 1312|  9.65k|        auto left_size          = pos.size_before(idx);
 1313|  9.65k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  9.65k|        auto dropped_size       = first;
 1315|  9.65k|        auto child_dropped_size = dropped_size - left_size;
 1316|  9.65k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 9.65k, Folded]
  |  Branch (1316:25): [True: 7.53k, False: 2.12k]
  |  Branch (1316:45): [True: 5.57k, False: 1.95k]
  ------------------
 1317|  5.57k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 4.45k, False: 1.12k]
  ------------------
 1318|  5.57k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  5.57k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 4.45k, False: 1.12k]
  ------------------
 1320|  4.45k|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.12k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 1.12k, Folded]
  ------------------
 1322|  1.12k|                pos.visit(dec_visitor{});
 1323|  5.57k|            return r;
 1324|  5.57k|        } else {
 1325|  4.07k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  4.07k|            auto newcount = count - idx;
 1330|  4.07k|            auto newn =
 1331|  4.07k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 2.91k, False: 1.16k]
  ------------------
 1332|  2.91k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  2.91k|                                                     norefs_tag{})) relaxed_t,
 1334|  2.91k|                          node)
 1335|  4.07k|                       : node_t::make_inner_r_e(e);
 1336|  4.07k|            auto newr = newn->relaxed();
 1337|  4.07k|            IMMER_TRY {
  ------------------
  |  |   49|  4.07k|#define IMMER_TRY try
  ------------------
 1338|  4.07k|                auto subs =
 1339|  4.07k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 2.91k, False: 1.16k]
  ------------------
 1340|  4.07k|                           : pos.towards_sub_oh(
 1341|  1.16k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  4.07k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 2.91k, False: 1.16k]
  ------------------
 1343|  2.91k|                    pos.each_left(dec_visitor{}, idx);
 1344|  4.07k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  4.07k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 4.07k, False: 0]
  ------------------
 1346|  4.07k|                pos.copy_sizes(
 1347|  4.07k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  4.07k|                newr->d.count    = newcount;
 1349|  4.07k|                newn->inner()[0] = get<1>(subs);
 1350|  4.07k|                std::copy(node->inner() + idx + 1,
 1351|  4.07k|                          node->inner() + count,
 1352|  4.07k|                          newn->inner() + 1);
 1353|  4.07k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.16k, False: 2.91k]
  ------------------
 1354|  1.16k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.16k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.16k, Folded]
  ------------------
 1356|  1.16k|                        pos.visit(dec_visitor{});
 1357|  1.16k|                }
 1358|  4.07k|                return std::make_tuple(pos.shift(), newn);
 1359|  4.07k|            }
 1360|  4.07k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  4.07k|        }
 1373|  9.65k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  3.67k|    {
 1304|  3.67k|        auto idx    = pos.subindex(first);
 1305|  3.67k|        auto count  = pos.count();
 1306|  3.67k|        auto node   = pos.node();
 1307|  3.67k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [True: 0, Folded]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|  3.67k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 1.43k, False: 2.24k]
  ------------------
 1312|  3.67k|        auto left_size          = pos.size_before(idx);
 1313|  3.67k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.67k|        auto dropped_size       = first;
 1315|  3.67k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.67k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 3.67k, Folded]
  |  Branch (1316:25): [True: 2.19k, False: 1.48k]
  |  Branch (1316:45): [True: 1.93k, False: 253]
  ------------------
 1317|  1.93k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 311, False: 1.62k]
  ------------------
 1318|  1.93k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  1.93k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 311, False: 1.62k]
  ------------------
 1320|    311|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.62k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 1.62k, Folded]
  ------------------
 1322|  1.62k|                pos.visit(dec_visitor{});
 1323|  1.93k|            return r;
 1324|  1.93k|        } else {
 1325|  1.73k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  1.73k|            auto newcount = count - idx;
 1330|  1.73k|            auto newn =
 1331|  1.73k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 1.12k, False: 612]
  ------------------
 1332|  1.12k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  1.12k|                                                     norefs_tag{})) relaxed_t,
 1334|  1.12k|                          node)
 1335|  1.73k|                       : node_t::make_inner_r_e(e);
 1336|  1.73k|            auto newr = newn->relaxed();
 1337|  1.73k|            IMMER_TRY {
  ------------------
  |  |   49|  1.73k|#define IMMER_TRY try
  ------------------
 1338|  1.73k|                auto subs =
 1339|  1.73k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 1.12k, False: 612]
  ------------------
 1340|  1.73k|                           : pos.towards_sub_oh(
 1341|    612|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.73k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 1.12k, False: 612]
  ------------------
 1343|  1.12k|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.73k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.73k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.73k, False: 0]
  ------------------
 1346|  1.73k|                pos.copy_sizes(
 1347|  1.73k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.73k|                newr->d.count    = newcount;
 1349|  1.73k|                newn->inner()[0] = get<1>(subs);
 1350|  1.73k|                std::copy(node->inner() + idx + 1,
 1351|  1.73k|                          node->inner() + count,
 1352|  1.73k|                          newn->inner() + 1);
 1353|  1.73k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 612, False: 1.12k]
  ------------------
 1354|    612|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|    612|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 612, Folded]
  ------------------
 1356|    612|                        pos.visit(dec_visitor{});
 1357|    612|                }
 1358|  1.73k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.73k|            }
 1360|  1.73k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  1.73k|        }
 1373|  3.67k|    }
_ZN5immer6detail4rbts14equals_visitor3rrb10visit_nodeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSE_Lj2ELj2EEESF_EEbOT_OT0_PT1_jm:
  349|  12.3k|        {
  350|  12.3k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 12.3k, False: 0]
  ------------------
  351|  12.3k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 11.2k, False: 1.08k]
  ------------------
  352|  12.3k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  11.2k|                                                 shiftl,
  354|  11.2k|                                                 sizel,
  355|  11.2k|                                                 this_t{},
  356|  11.2k|                                                 posr,
  357|  11.2k|                                                 first,
  358|  11.2k|                                                 size_t{})
  359|  12.3k|                       : posr.first_sub_inner(
  360|  1.08k|                             rrb{}, first, rootl, shiftl, sizel);
  361|  12.3k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESG_RNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  29.1k|    {
  383|  29.1k|        auto nl = posl.node();
  384|  29.1k|        auto nr = posr.node();
  385|  29.1k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 8.84k, False: 20.3k]
  ------------------
  386|  8.84k|            return true;
  387|  20.3k|        auto cl = posl.count();
  388|  20.3k|        auto cr = posr.count();
  389|  20.3k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 20.3k, False: 0]
  ------------------
  390|  20.3k|        auto sbr = size_t{};
  391|  20.3k|        auto i   = count_t{};
  392|  20.3k|        auto j   = count_t{};
  393|  61.6k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 51.0k, False: 10.5k]
  ------------------
  394|  51.0k|            auto sbl = posl.size_before(i);
  395|  80.2k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 64.8k, False: 15.4k]
  |  Branch (395:34): [True: 29.2k, False: 35.5k]
  ------------------
  396|  29.2k|                ;
  397|  51.0k|            auto res =
  398|  51.0k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 32.4k, False: 18.5k]
  ------------------
  399|  51.0k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  51.0k|                    : posl.nth_sub(i,
  401|  18.5k|                                   for_each_chunk_p_visitor{},
  402|  18.5k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  51.0k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 9.73k, False: 41.3k]
  ------------------
  404|  9.73k|                return false;
  405|  51.0k|        }
  406|  10.5k|        return true;
  407|  20.3k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  336|  9.20k|        {
  337|  9.20k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  9.20k|        }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESG_RNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  427|  9.93k|    {
  428|  9.93k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 4.75k, False: 5.17k]
  ------------------
  429|  4.75k|            return true;
  430|  5.17k|        auto cl = posl.count();
  431|  5.17k|        auto cr = posr.count();
  432|  5.17k|        auto mp = std::min(cl, cr);
  433|  5.17k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 3.49k, False: 1.68k]
  ------------------
  434|  5.17k|                          posl.node()->leaf() + mp,
  435|  5.17k|                          posr.node()->leaf()) &&
  436|  3.49k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 3.06k, False: 432]
  ------------------
  437|  3.49k|                          posl.node()->leaf() + posl.count(),
  438|  3.49k|                          first + (idx + mp));
  439|  9.93k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESH_RNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  21.0k|        {
  330|  21.0k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  21.0k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIX12is_relaxed_vIT0_EEbE4typeEOT_OSP_OT1_m:
  412|  4.67k|    {
  413|  4.67k|        return this_t::visit_relaxed(posl, posr, first, idx);
  414|  4.67k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  4.67k|    {
  383|  4.67k|        auto nl = posl.node();
  384|  4.67k|        auto nr = posr.node();
  385|  4.67k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 4.67k]
  ------------------
  386|      0|            return true;
  387|  4.67k|        auto cl = posl.count();
  388|  4.67k|        auto cr = posr.count();
  389|  4.67k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 4.67k, False: 0]
  ------------------
  390|  4.67k|        auto sbr = size_t{};
  391|  4.67k|        auto i   = count_t{};
  392|  4.67k|        auto j   = count_t{};
  393|  13.1k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 10.9k, False: 2.17k]
  ------------------
  394|  10.9k|            auto sbl = posl.size_before(i);
  395|  17.0k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 12.6k, False: 4.37k]
  |  Branch (395:34): [True: 6.02k, False: 6.61k]
  ------------------
  396|  6.02k|                ;
  397|  10.9k|            auto res =
  398|  10.9k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 6.76k, False: 4.22k]
  ------------------
  399|  10.9k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  10.9k|                    : posl.nth_sub(i,
  401|  4.22k|                                   for_each_chunk_p_visitor{},
  402|  4.22k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  10.9k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 2.50k, False: 8.48k]
  ------------------
  404|  2.50k|                return false;
  405|  10.9k|        }
  406|  2.17k|        return true;
  407|  4.67k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  336|  3.79k|        {
  337|  3.79k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  3.79k|        }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_12leaf_sub_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  427|  6.79k|    {
  428|  6.79k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 3.93k, False: 2.85k]
  ------------------
  429|  3.93k|            return true;
  430|  2.85k|        auto cl = posl.count();
  431|  2.85k|        auto cr = posr.count();
  432|  2.85k|        auto mp = std::min(cl, cr);
  433|  2.85k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 2.61k, False: 244]
  ------------------
  434|  2.85k|                          posl.node()->leaf() + mp,
  435|  2.85k|                          posr.node()->leaf()) &&
  436|  2.61k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 2.37k, False: 243]
  ------------------
  437|  2.61k|                          posl.node()->leaf() + posl.count(),
  438|  2.61k|                          first + (idx + mp));
  439|  6.79k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  2.22k|        {
  330|  2.22k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.22k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIX12is_relaxed_vIT0_EEbE4typeEOT_OSP_OT1_m:
  412|  2.71k|    {
  413|  2.71k|        return this_t::visit_relaxed(posl, posr, first, idx);
  414|  2.71k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  2.71k|    {
  383|  2.71k|        auto nl = posl.node();
  384|  2.71k|        auto nr = posr.node();
  385|  2.71k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.71k]
  ------------------
  386|      0|            return true;
  387|  2.71k|        auto cl = posl.count();
  388|  2.71k|        auto cr = posr.count();
  389|  2.71k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.71k, False: 0]
  ------------------
  390|  2.71k|        auto sbr = size_t{};
  391|  2.71k|        auto i   = count_t{};
  392|  2.71k|        auto j   = count_t{};
  393|  12.7k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 10.3k, False: 2.38k]
  ------------------
  394|  10.3k|            auto sbl = posl.size_before(i);
  395|  17.6k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 13.5k, False: 4.06k]
  |  Branch (395:34): [True: 7.31k, False: 6.25k]
  ------------------
  396|  7.31k|                ;
  397|  10.3k|            auto res =
  398|  10.3k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 5.72k, False: 4.60k]
  ------------------
  399|  10.3k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  10.3k|                    : posl.nth_sub(i,
  401|  4.60k|                                   for_each_chunk_p_visitor{},
  402|  4.60k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  10.3k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 333, False: 9.98k]
  ------------------
  404|    333|                return false;
  405|  10.3k|        }
  406|  2.38k|        return true;
  407|  2.71k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  336|  3.72k|        {
  337|  3.72k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  3.72k|        }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|    883|        {
  330|    883|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    883|        }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  1.11k|        {
  330|  1.11k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  1.11k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIXnt12is_relaxed_vIT0_EEbE4typeEOT_OSP_OT1_m:
  419|  1.85k|    {
  420|  1.85k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 1.85k, False: 0]
  ------------------
  421|  1.85k|                   ? this_t::visit_regular(posl, posr.node())
  422|  1.85k|                   : this_t::visit_regular(posr, posl.node());
  423|  1.85k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  10.4k|    {
  444|  10.4k|        auto node = pos.node();
  445|  10.4k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 6.85k, False: 3.56k]
  |  Branch (445:33): [True: 1.87k, False: 1.69k]
  ------------------
  446|  10.4k|    }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  450|  13.7k|    {
  451|  13.7k|        auto node = pos.node();
  452|  13.7k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 8.83k, False: 4.87k]
  |  Branch (452:33): [True: 2.97k, False: 1.90k]
  ------------------
  453|  4.87k|                                           node->leaf() + pos.count(),
  454|  4.87k|                                           other->leaf());
  455|  13.7k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  7.90k|    {
  444|  7.90k|        auto node = pos.node();
  445|  7.90k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 2.70k, False: 5.20k]
  |  Branch (445:33): [True: 2.78k, False: 2.42k]
  ------------------
  446|  7.90k|    }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  450|  3.05k|    {
  451|  3.05k|        auto node = pos.node();
  452|  3.05k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 1.51k, False: 1.54k]
  |  Branch (452:33): [True: 801, False: 741]
  ------------------
  453|  1.54k|                                           node->leaf() + pos.count(),
  454|  1.54k|                                           other->leaf());
  455|  3.05k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  4.11k|    {
  444|  4.11k|        auto node = pos.node();
  445|  4.11k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 469, False: 3.65k]
  |  Branch (445:33): [True: 2.42k, False: 1.22k]
  ------------------
  446|  4.11k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  112|   360k|    {
  113|   360k|        auto data = as_const(pos.node()->leaf());
  114|   360k|        return fn(data, data + pos.count());
  115|   360k|    }
_ZZN5immer6detail4rbts14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_ENUlSE_T0_E_clIPKiSK_EEDaSE_SG_:
  367|  1.39M|        return [iter](auto f, auto e) mutable {
  368|  1.39M|            if (f == &*iter) {
  ------------------
  |  Branch (368:17): [True: 195k, False: 1.19M]
  ------------------
  369|   195k|                iter += e - f;
  370|   195k|                return true;
  371|   195k|            }
  372|  5.50M|            for (; f != e; ++f, ++iter)
  ------------------
  |  Branch (372:20): [True: 4.30M, False: 1.19M]
  ------------------
  373|  4.30M|                if (*f != *iter)
  ------------------
  |  Branch (373:21): [True: 3.59k, False: 4.30M]
  ------------------
  374|  3.59k|                    return false;
  375|  1.19M|            return true;
  376|  1.19M|        };
_ZN5immer6detail4rbts18region_for_visitorIiE11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   53|  9.52M|    {
   54|  9.52M|        return pos.towards(this_t{}, idx);
   55|  9.52M|    }
_ZN5immer6detail4rbts18region_for_visitorIiE10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   59|  1.03M|    {
   60|  1.03M|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|  1.03M|    }
_ZN5immer6detail4rbts18region_for_visitorIiE11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   53|   386k|    {
   54|   386k|        return pos.towards(this_t{}, idx);
   55|   386k|    }
_ZN5immer6detail4rbts18region_for_visitorIiE10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   59|   363k|    {
   60|   363k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|   363k|    }
_ZN5immer6detail4rbts18region_for_visitorIiE11visit_innerIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   53|  1.03M|    {
   54|  1.03M|        return pos.towards(this_t{}, idx);
   55|  1.03M|    }
_ZN5immer6detail4rbts18region_for_visitorIiE10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   59|  23.6k|    {
   60|  23.6k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|  23.6k|    }
_ZN5immer6detail4rbts18region_for_visitorIiE11visit_innerIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   53|   114k|    {
   54|   114k|        return pos.towards(this_t{}, idx);
   55|   114k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor11visit_innerIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  106|  97.4k|    {
  107|  97.4k|        return pos.each_pred(this_t{}, fn);
  108|  97.4k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESH_RNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|    744|        {
  330|    744|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    744|        }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESG_RNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIXnt12is_relaxed_vIT0_EEbE4typeEOT_OSM_OT1_m:
  419|  6.82k|    {
  420|  6.82k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 6.82k, False: 0]
  ------------------
  421|  6.82k|                   ? this_t::visit_regular(posl, posr.node())
  422|  6.82k|                   : this_t::visit_regular(posr, posl.node());
  423|  6.82k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  112|  1.01M|    {
  113|  1.01M|        auto data = as_const(pos.node()->leaf());
  114|  1.01M|        return fn(data, data + pos.count());
  115|  1.01M|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  106|  20.2k|    {
  107|  20.2k|        return pos.each_pred(this_t{}, fn);
  108|  20.2k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  112|  18.8k|    {
  113|  18.8k|        auto data = as_const(pos.node()->leaf());
  114|  18.8k|        return fn(data, data + pos.count());
  115|  18.8k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor11visit_innerIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  106|  7.41k|    {
  107|  7.41k|        return pos.each_pred(this_t{}, fn);
  108|  7.41k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  2.53k|        {
  330|  2.53k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.53k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  2.42k|    {
  383|  2.42k|        auto nl = posl.node();
  384|  2.42k|        auto nr = posr.node();
  385|  2.42k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.42k]
  ------------------
  386|      0|            return true;
  387|  2.42k|        auto cl = posl.count();
  388|  2.42k|        auto cr = posr.count();
  389|  2.42k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.42k, False: 0]
  ------------------
  390|  2.42k|        auto sbr = size_t{};
  391|  2.42k|        auto i   = count_t{};
  392|  2.42k|        auto j   = count_t{};
  393|  8.07k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 6.43k, False: 1.64k]
  ------------------
  394|  6.43k|            auto sbl = posl.size_before(i);
  395|  9.94k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 7.83k, False: 2.10k]
  |  Branch (395:34): [True: 3.51k, False: 4.32k]
  ------------------
  396|  3.51k|                ;
  397|  6.43k|            auto res =
  398|  6.43k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 4.09k, False: 2.33k]
  ------------------
  399|  6.43k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  6.43k|                    : posl.nth_sub(i,
  401|  2.33k|                                   for_each_chunk_p_visitor{},
  402|  2.33k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  6.43k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 776, False: 5.65k]
  ------------------
  404|    776|                return false;
  405|  6.43k|        }
  406|  1.64k|        return true;
  407|  2.42k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  336|  4.68k|        {
  337|  4.68k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  4.68k|        }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_13full_leaf_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  427|  4.68k|    {
  428|  4.68k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 2.77k, False: 1.90k]
  ------------------
  429|  2.77k|            return true;
  430|  1.90k|        auto cl = posl.count();
  431|  1.90k|        auto cr = posr.count();
  432|  1.90k|        auto mp = std::min(cl, cr);
  433|  1.90k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 1.49k, False: 414]
  ------------------
  434|  1.90k|                          posl.node()->leaf() + mp,
  435|  1.90k|                          posr.node()->leaf()) &&
  436|  1.49k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 1.49k, False: 0]
  ------------------
  437|  1.49k|                          posl.node()->leaf() + posl.count(),
  438|  1.49k|                          first + (idx + mp));
  439|  4.68k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  2.68k|        {
  330|  2.68k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.68k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  1.59k|    {
  383|  1.59k|        auto nl = posl.node();
  384|  1.59k|        auto nr = posr.node();
  385|  1.59k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 1.59k]
  ------------------
  386|      0|            return true;
  387|  1.59k|        auto cl = posl.count();
  388|  1.59k|        auto cr = posr.count();
  389|  1.59k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 1.59k, False: 0]
  ------------------
  390|  1.59k|        auto sbr = size_t{};
  391|  1.59k|        auto i   = count_t{};
  392|  1.59k|        auto j   = count_t{};
  393|  7.01k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 5.80k, False: 1.20k]
  ------------------
  394|  5.80k|            auto sbl = posl.size_before(i);
  395|  9.96k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 8.79k, False: 1.17k]
  |  Branch (395:34): [True: 4.15k, False: 4.63k]
  ------------------
  396|  4.15k|                ;
  397|  5.80k|            auto res =
  398|  5.80k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 3.63k, False: 2.17k]
  ------------------
  399|  5.80k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  5.80k|                    : posl.nth_sub(i,
  401|  2.17k|                                   for_each_chunk_p_visitor{},
  402|  2.17k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  5.80k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 396, False: 5.41k]
  ------------------
  404|    396|                return false;
  405|  5.80k|        }
  406|  1.20k|        return true;
  407|  1.59k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIXnt12is_relaxed_vIT0_EEbE4typeEOT_OSP_OT1_m:
  419|  1.08k|    {
  420|  1.08k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 1.08k, False: 0]
  ------------------
  421|  1.08k|                   ? this_t::visit_regular(posl, posr.node())
  422|  1.08k|                   : this_t::visit_regular(posr, posl.node());
  423|  1.08k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  106|   599k|    {
  107|   599k|        return pos.each_pred(this_t{}, fn);
  108|   599k|    }
_ZN5immer6detail4rbts14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_:
  366|  31.9k|    {
  367|  31.9k|        return [iter](auto f, auto e) mutable {
  368|  31.9k|            if (f == &*iter) {
  369|  31.9k|                iter += e - f;
  370|  31.9k|                return true;
  371|  31.9k|            }
  372|  31.9k|            for (; f != e; ++f, ++iter)
  373|  31.9k|                if (*f != *iter)
  374|  31.9k|                    return false;
  375|  31.9k|            return true;
  376|  31.9k|        };
  377|  31.9k|    }
_ZN5immer6detail4rbts14equals_visitor3rrb10visit_nodeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEESF_EEbOT_OT0_PT1_jm:
  349|  1.41k|        {
  350|  1.41k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 1.41k, False: 0]
  ------------------
  351|  1.41k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 1.08k, False: 330]
  ------------------
  352|  1.41k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  1.08k|                                                 shiftl,
  354|  1.08k|                                                 sizel,
  355|  1.08k|                                                 this_t{},
  356|  1.08k|                                                 posr,
  357|  1.08k|                                                 first,
  358|  1.08k|                                                 size_t{})
  359|  1.41k|                       : posr.first_sub_inner(
  360|    330|                             rrb{}, first, rootl, shiftl, sizel);
  361|  1.41k|        }
_ZN5immer6detail4rbts14equals_visitor3rrb10visit_nodeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSE_Lj2ELj2EEESF_EEbOT_OT0_PT1_jm:
  349|  6.71k|        {
  350|  6.71k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 6.71k, False: 0]
  ------------------
  351|  6.71k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 6.71k, False: 0]
  ------------------
  352|  6.71k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  6.71k|                                                 shiftl,
  354|  6.71k|                                                 sizel,
  355|  6.71k|                                                 this_t{},
  356|  6.71k|                                                 posr,
  357|  6.71k|                                                 first,
  358|  6.71k|                                                 size_t{})
  359|  6.71k|                       : posr.first_sub_inner(
  360|      0|                             rrb{}, first, rootl, shiftl, sizel);
  361|  6.71k|        }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  450|  7.07k|    {
  451|  7.07k|        auto node = pos.node();
  452|  7.07k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 3.94k, False: 3.13k]
  |  Branch (452:33): [True: 1.17k, False: 1.96k]
  ------------------
  453|  3.13k|                                           node->leaf() + pos.count(),
  454|  3.13k|                                           other->leaf());
  455|  7.07k|    }

_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_11dec_visitorEJEEEDcPT_jmT0_DpOT1_:
 1838|  31.7M|{
 1839|  31.7M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 31.7M, False: 0]
  ------------------
 1840|  31.7M|    auto relaxed = node->relaxed();
 1841|  31.7M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 29.0M, False: 2.72M]
  ------------------
 1842|  29.0M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 29.0M, False: 0]
  ------------------
 1843|  29.0M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  29.0M|            .visit(v, std::forward<Args>(args)...);
 1845|  29.0M|    } else {
 1846|  2.72M|        return make_regular_sub_pos(node, shift, size)
 1847|  2.72M|            .visit(v, std::forward<Args>(args)...);
 1848|  2.72M|    }
 1849|  31.7M|}
_ZN5immer6detail4rbts16make_relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11relaxed_posIT_EEPSE_jPNSE_9relaxed_tE:
 1828|  99.0M|{
 1829|  99.0M|    assert(node);
  ------------------
  |  Branch (1829:5): [True: 99.0M, False: 0]
  ------------------
 1830|  99.0M|    assert(relaxed);
  ------------------
  |  Branch (1830:5): [True: 99.0M, False: 0]
  ------------------
 1831|  99.0M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1831:5): [True: 99.0M, False: 0]
  ------------------
 1832|  99.0M|    return {node, shift, relaxed};
 1833|  99.0M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1813|  37.1M|    {
 1814|  37.1M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  37.1M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
 1431|  60.5M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4eachINS1_11dec_visitorEJEEEvT_DpOT0_:
 1476|  12.1M|    {
 1477|  12.1M|        each_left(v, relaxed_->d.count, args...);
 1478|  12.1M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1623|  12.3M|    {
 1624|  12.3M|        auto p = node_->inner();
 1625|  12.3M|        auto s = size_t{};
 1626|  12.3M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 2.22M, False: 10.1M]
  ------------------
 1627|  9.74M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 7.51M, False: 2.22M]
  ------------------
 1628|  7.51M|                IMMER_PREFETCH(p + i + 1);
 1629|  7.51M|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|  7.51M|                    .visit(v, args...);
 1631|  7.51M|                s = relaxed_->d.sizes[i];
 1632|  7.51M|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 7.51M, False: 0]
  ------------------
 1633|  7.51M|            }
 1634|  10.1M|        } else {
 1635|  10.1M|            auto ss = shift_ - B;
 1636|  40.3M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 30.1M, False: 10.1M]
  ------------------
 1637|  30.1M|                visit_maybe_relaxed_sub(
 1638|  30.1M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  30.1M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 30.1M, False: 0]
  ------------------
 1641|  30.1M|            }
 1642|  10.1M|        }
 1643|  12.3M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
 1430|  57.4M|    count_t count() const { return relaxed_->d.count; }
_ZN5immer6detail4rbts20make_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_15regular_sub_posIT_EEPSE_jm:
 1044|  6.62M|{
 1045|  6.62M|    assert(node);
  ------------------
  |  Branch (1045:5): [True: 6.62M, False: 0]
  ------------------
 1046|  6.62M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1046:5): [True: 6.62M, False: 0]
  ------------------
 1047|  6.62M|    assert(size > 0);
  ------------------
  |  Branch (1047:5): [True: 6.62M, False: 0]
  ------------------
 1048|  6.62M|    assert(size <= (branches<NodeT::bits, size_t> << shift));
  ------------------
  |  Branch (1048:5): [True: 6.62M, False: 0]
  ------------------
 1049|  6.62M|    return {node, shift, size};
 1050|  6.62M|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1036|  2.73M|    {
 1037|  2.73M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.73M|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  785|  8.82M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4eachINS1_11dec_visitorEJEEEvT_DpOT0_:
  825|   620k|    {
  826|   620k|        return each_regular(*this, v, args...);
  827|   620k|    }
_ZN5immer6detail4rbts12each_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_DpOT1_:
  343|   620k|{
  344|   620k|    constexpr auto B  = bits<Pos>;
  345|   620k|    constexpr auto BL = bits_leaf<Pos>;
  346|   620k|    auto n            = p.node()->inner();
  347|   620k|    auto last         = p.count() - 1;
  348|   620k|    auto e            = n + last;
  349|   620k|    if (p.shift() == BL) {
  ------------------
  |  Branch (349:9): [True: 49.1k, False: 571k]
  ------------------
  350|  98.7k|        for (; n != e; ++n) {
  ------------------
  |  Branch (350:16): [True: 49.5k, False: 49.1k]
  ------------------
  351|  49.5k|            IMMER_PREFETCH(n + 1);
  352|  49.5k|            make_full_leaf_pos(*n).visit(v, args...);
  353|  49.5k|        }
  354|  49.1k|        make_leaf_pos(*n, p.size()).visit(v, args...);
  355|   571k|    } else {
  356|   571k|        auto ss = p.shift() - B;
  357|  1.32M|        for (; n != e; ++n)
  ------------------
  |  Branch (357:16): [True: 749k, False: 571k]
  ------------------
  358|   749k|            make_full_pos(*n, ss).visit(v, args...);
  359|   571k|        make_regular_pos(*n, ss, p.size()).visit(v, args...);
  360|   571k|    }
  361|   620k|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  787|  8.24M|    shift_t shift() const { return shift_; }
_ZN5immer6detail4rbts18make_full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13full_leaf_posIT_EEPSE_:
  214|  4.62M|{
  215|  4.62M|    assert(node);
  ------------------
  |  Branch (215:5): [True: 4.62M, False: 0]
  ------------------
  216|  4.62M|    return {node};
  217|  4.62M|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  207|  1.27M|    {
  208|  1.27M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.27M|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  199|  3.46M|    node_t* node() const { return node_; }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  198|  3.91M|    count_t count() const { return branches<BL>; }
_ZN5immer6detail4rbts13make_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_8leaf_posIT_EEPSE_m:
  119|  1.07M|{
  120|  1.07M|    assert(node);
  ------------------
  |  Branch (120:5): [True: 1.07M, False: 0]
  ------------------
  121|  1.07M|    assert(size > 0);
  ------------------
  |  Branch (121:5): [True: 1.07M, False: 0]
  ------------------
  122|  1.07M|    return {node, size};
  123|  1.07M|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  786|  4.60M|    size_t size() const { return size_; }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  112|   493k|    {
  113|   493k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|   493k|    }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  104|  1.08M|    node_t* node() const { return node_; }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  103|  1.13M|    count_t count() const { return index(size_ - 1) + 1; }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  107|  1.16M|    count_t index(size_t idx) const { return idx & mask<BL>; }
_ZN5immer6detail4rbts13make_full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_8full_posIT_EEPSE_j:
 1412|  6.65M|{
 1413|  6.65M|    assert(node);
  ------------------
  |  Branch (1413:5): [True: 6.65M, False: 0]
  ------------------
 1414|  6.65M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1414:5): [True: 6.65M, False: 0]
  ------------------
 1415|  6.65M|    return {node, shift};
 1416|  6.65M|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1405|  3.61M|    {
 1406|  3.61M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.61M|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
 1159|  4.54M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4eachINS1_11dec_visitorEJEEEvT_DpOT0_:
 1185|   247k|    {
 1186|   247k|        auto p = node_->inner();
 1187|   247k|        auto e = p + branches<B>;
 1188|   247k|        if (shift_ == BL) {
  ------------------
  |  Branch (1188:13): [True: 189k, False: 57.7k]
  ------------------
 1189|   947k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1189:20): [True: 758k, False: 189k]
  ------------------
 1190|   758k|                IMMER_PREFETCH(p + 1);
 1191|   758k|                make_full_leaf_pos(*p).visit(v, args...);
 1192|   758k|            }
 1193|   189k|        } else {
 1194|  57.7k|            auto ss = shift_ - B;
 1195|   288k|            for (; p != e; ++p)
  ------------------
  |  Branch (1195:20): [True: 230k, False: 57.7k]
  ------------------
 1196|   230k|                make_full_pos(*p, ss).visit(v, args...);
 1197|  57.7k|        }
 1198|   247k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
 1158|  2.00M|    count_t count() const { return branches<B>; }
_ZN5immer6detail4rbts16make_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11regular_posIT_EEPSE_jm:
  690|  5.95M|{
  691|  5.95M|    assert(node);
  ------------------
  |  Branch (691:5): [True: 5.95M, False: 0]
  ------------------
  692|  5.95M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (692:5): [True: 5.95M, False: 0]
  ------------------
  693|  5.95M|    assert(size > 0);
  ------------------
  |  Branch (693:5): [True: 5.95M, False: 0]
  ------------------
  694|  5.95M|    return {node, shift, size};
  695|  5.95M|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  336|  2.50M|    {
  337|  2.50M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.50M|    }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  231|  10.9M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4eachINS1_11dec_visitorEJEEEvT_DpOT0_:
  243|  2.36M|    {
  244|  2.36M|        return each_regular(*this, v, args...);
  245|  2.36M|    }
_ZN5immer6detail4rbts12each_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_DpOT1_:
  343|  2.36M|{
  344|  2.36M|    constexpr auto B  = bits<Pos>;
  345|  2.36M|    constexpr auto BL = bits_leaf<Pos>;
  346|  2.36M|    auto n            = p.node()->inner();
  347|  2.36M|    auto last         = p.count() - 1;
  348|  2.36M|    auto e            = n + last;
  349|  2.36M|    if (p.shift() == BL) {
  ------------------
  |  Branch (349:9): [True: 436k, False: 1.92M]
  ------------------
  350|   879k|        for (; n != e; ++n) {
  ------------------
  |  Branch (350:16): [True: 443k, False: 436k]
  ------------------
  351|   443k|            IMMER_PREFETCH(n + 1);
  352|   443k|            make_full_leaf_pos(*n).visit(v, args...);
  353|   443k|        }
  354|   436k|        make_leaf_pos(*n, p.size()).visit(v, args...);
  355|  1.92M|    } else {
  356|  1.92M|        auto ss = p.shift() - B;
  357|  4.54M|        for (; n != e; ++n)
  ------------------
  |  Branch (357:16): [True: 2.61M, False: 1.92M]
  ------------------
  358|  2.61M|            make_full_pos(*n, ss).visit(v, args...);
  359|  1.92M|        make_regular_pos(*n, ss, p.size()).visit(v, args...);
  360|  1.92M|    }
  361|  2.36M|}
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  233|  10.4M|    shift_t shift() const { return shift_; }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  232|  14.8M|    size_t size() const { return size_; }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  230|  7.58M|    count_t count() const { return index(size_ - 1) + 1; }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  234|  14.4M|    count_t index(size_t idx) const { return (idx >> shift_) & mask<B>; }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  784|  10.0M|    count_t count() const { return subindex(size_ - 1) + 1; }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
  789|  10.3M|    count_t subindex(size_t idx) const { return idx >> shift_; }
_ZN5immer6detail4rbts22make_empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_17empty_regular_posIT_EEPSE_:
   64|  1.73M|{
   65|  1.73M|    return {node};
   66|  1.73M|}
_ZN5immer6detail4rbts17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
   57|  1.73M|    {
   58|  1.73M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
   59|  1.73M|    }
_ZNK5immer6detail4rbts17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
   41|  1.73M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts17make_leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_12leaf_sub_posIT_EEPSE_j:
  151|  18.8M|{
  152|  18.8M|    assert(node);
  ------------------
  |  Branch (152:5): [True: 18.8M, False: 0]
  ------------------
  153|  18.8M|    assert(count <= branches<NodeT::bits_leaf>);
  ------------------
  |  Branch (153:5): [True: 18.8M, False: 0]
  ------------------
  154|  18.8M|    return {node, count};
  155|  18.8M|}
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  144|  10.7M|    {
  145|  10.7M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  10.7M|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  136|  16.4M|    node_t* node() const { return node_; }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  135|  8.91M|    count_t count() const { return count_; }
_ZN5immer6detail4rbts19make_empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14empty_leaf_posIT_EEPSE_:
   88|  1.64M|{
   89|  1.64M|    assert(node);
  ------------------
  |  Branch (89:5): [True: 1.64M, False: 0]
  ------------------
   90|  1.64M|    return {node};
   91|  1.64M|}
_ZN5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
   81|  1.64M|    {
   82|  1.64M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
   83|  1.64M|    }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
   75|  1.64M|    node_t* node() const { return node_; }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
   74|  8.08k|    count_t count() const { return 0; }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17push_tail_visitorISC_EEJRPSC_RjEEEDcT_DpOT0_:
 1813|   573k|    {
 1814|   573k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   573k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1433|  11.7M|    shift_t shift() const { return shift_; }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEj:
 1443|  6.03M|    {
 1444|  6.03M|        return size_sbh(offset, size_before(offset));
 1445|  6.03M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
 1448|  6.37M|    {
 1449|  6.37M|        assert(size_before_hint == size_before(offset));
  ------------------
  |  Branch (1449:9): [True: 6.37M, False: 0]
  ------------------
 1450|  6.37M|        return relaxed_->d.sizes[offset] - size_before_hint;
 1451|  6.37M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
 1438|  17.9M|    {
 1439|  17.9M|        return offset ? relaxed_->d.sizes[offset - 1] : 0;
  ------------------
  |  Branch (1439:16): [True: 11.4M, False: 6.41M]
  ------------------
 1440|  17.9M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11last_oh_cshINS1_17push_tail_visitorISC_EEJRPSC_RjEEEDcT_jmDpOT0_:
 1737|   558k|    {
 1738|   558k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 558k, False: 0]
  ------------------
 1739|   558k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 558k, False: 0]
  ------------------
 1740|   558k|        auto child   = node_->inner()[offset_hint];
 1741|   558k|        auto is_leaf = shift_ == BL;
 1742|   558k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 558k]
  ------------------
 1743|   558k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|   558k|                   : visit_maybe_relaxed_sub(
 1745|   558k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|   558k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_17push_tail_visitorISC_EEJRPSC_RjEEEDcPT_jmT0_DpOT1_:
 1838|   558k|{
 1839|   558k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 558k, False: 0]
  ------------------
 1840|   558k|    auto relaxed = node->relaxed();
 1841|   558k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 322k, False: 236k]
  ------------------
 1842|   322k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 322k, False: 0]
  ------------------
 1843|   322k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   322k|            .visit(v, std::forward<Args>(args)...);
 1845|   322k|    } else {
 1846|   236k|        return make_regular_sub_pos(node, shift, size)
 1847|   236k|            .visit(v, std::forward<Args>(args)...);
 1848|   236k|    }
 1849|   558k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17push_tail_visitorISC_EEJRPSC_RjEEEDcT_DpOT0_:
 1036|   236k|    {
 1037|   236k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   236k|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  788|  2.49M|    count_t index(size_t idx) const { return (idx >> shift_) & mask<B>; }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_17push_tail_visitorISC_EEJRPSC_EEEDcT_jDpOT0_:
  952|   535k|    {
  953|   535k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|   535k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_17push_tail_visitorISD_EEJRPSD_EEEDcOT_T0_jDpOT1_:
  677|   535k|{
  678|   535k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 535k, False: 0]
  ------------------
  679|   535k|    constexpr auto B  = bits<Pos>;
  680|   535k|    constexpr auto BL = bits_leaf<Pos>;
  681|   535k|    auto child        = p.node()->inner()[offset_hint];
  682|   535k|    auto is_leaf      = p.shift() == BL;
  683|   535k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 535k]
  ------------------
  684|   535k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   535k|                         .visit(v, args...);
  686|   535k|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17push_tail_visitorISC_EEJRPSC_EEEDcT_DpOT0_:
  336|  2.32M|    {
  337|  2.32M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.32M|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_17push_tail_visitorISC_EEJRPSC_EEEDcT_jDpOT0_:
  330|  1.79M|    {
  331|  1.79M|        return last_oh_regular(*this, v, offset_hint, args...);
  332|  1.79M|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_17push_tail_visitorISD_EEJRPSD_EEEDcOT_T0_jDpOT1_:
  677|  1.79M|{
  678|  1.79M|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.79M, False: 0]
  ------------------
  679|  1.79M|    constexpr auto B  = bits<Pos>;
  680|  1.79M|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.79M|    auto child        = p.node()->inner()[offset_hint];
  682|  1.79M|    auto is_leaf      = p.shift() == BL;
  683|  1.79M|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.79M]
  ------------------
  684|  1.79M|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.79M|                         .visit(v, args...);
  686|  1.79M|}
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
 1432|  21.9M|    size_t size() const { return relaxed_->d.sizes[relaxed_->d.count - 1]; }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17push_tail_visitorISC_EEJRPSC_EEEDcT_DpOT0_:
 1036|   323k|    {
 1037|   323k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   323k|    }
flex-vector.cpp:_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_DpOT0_:
  144|  40.3k|    {
  145|  40.3k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  40.3k|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  139|  1.20M|    count_t index(size_t idx) const { return idx & mask<BL>; }
flex-vector.cpp:_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSJ_E_EEEDcPSJ_jmT0_DpOT1_:
 1838|   324k|{
 1839|   324k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 324k, False: 0]
  ------------------
 1840|   324k|    auto relaxed = node->relaxed();
 1841|   324k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 299k, False: 24.5k]
  ------------------
 1842|   299k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 299k, False: 0]
  ------------------
 1843|   299k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   299k|            .visit(v, std::forward<Args>(args)...);
 1845|   299k|    } else {
 1846|  24.5k|        return make_regular_sub_pos(node, shift, size)
 1847|  24.5k|            .visit(v, std::forward<Args>(args)...);
 1848|  24.5k|    }
 1849|   324k|}
flex-vector.cpp:_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
 1813|   299k|    {
 1814|   299k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   299k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
 1454|  31.2M|    {
 1455|  31.2M|        auto offset = idx >> shift_;
 1456|  42.4M|        while (relaxed_->d.sizes[offset] <= idx)
  ------------------
  |  Branch (1456:16): [True: 11.2M, False: 31.2M]
  ------------------
 1457|  11.2M|            ++offset;
 1458|  31.2M|        return offset;
 1459|  31.2M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7relaxedEv:
 1435|   299k|    relaxed_t* relaxed() const { return relaxed_; }
flex-vector.cpp:_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjDpOT0_:
 1686|   299k|    {
 1687|   299k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 299k, False: 0]
  ------------------
 1688|   299k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 55.6k, False: 244k]
  ------------------
 1689|   299k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|   299k|    }
flex-vector.cpp:_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjmDpOT0_:
 1698|   299k|    {
 1699|   299k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|   299k|    }
flex-vector.cpp:_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjmDpOT0_:
 1717|   299k|    {
 1718|   299k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 299k, False: 0]
  ------------------
 1719|   299k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 55.6k, False: 244k]
  |  Branch (1719:9): [True: 299k, False: 0]
  ------------------
 1720|   299k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|   299k|        auto child     = node_->inner()[offset_hint];
 1722|   299k|        auto is_leaf   = shift_ == BL;
 1723|   299k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|   299k|        auto next_idx  = idx - left_size_hint;
 1725|   299k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 47.1k, False: 252k]
  ------------------
 1726|   299k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  47.1k|                         .visit(v, next_idx, args...)
 1728|   299k|                   : visit_maybe_relaxed_sub(
 1729|   252k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|   299k|    }
flex-vector.cpp:_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
  144|  47.1k|    {
  145|  47.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  47.1k|    }
flex-vector.cpp:_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
 1036|  24.5k|    {
 1037|  24.5k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  24.5k|    }
flex-vector.cpp:_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjjDpOT0_:
  938|  24.5k|    {
  939|  24.5k|        return towards_oh_ch_regular(
  940|  24.5k|            *this, v, idx, offset_hint, count(), args...);
  941|  24.5k|    }
flex-vector.cpp:_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14update_visitorISD_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcOSL_T0_mjjDpOT1_:
  632|  24.5k|{
  633|  24.5k|    constexpr auto B  = bits<Pos>;
  634|  24.5k|    constexpr auto BL = bits_leaf<Pos>;
  635|  24.5k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 24.5k, False: 0]
  ------------------
  636|  24.5k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 24.5k, False: 0]
  ------------------
  637|  24.5k|    auto is_leaf = p.shift() == BL;
  638|  24.5k|    auto child   = p.node()->inner()[offset_hint];
  639|  24.5k|    auto is_full = offset_hint + 1 != count_hint;
  640|  24.5k|    return is_full
  ------------------
  |  Branch (640:12): [True: 17.8k, False: 6.71k]
  ------------------
  641|  24.5k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 6.85k, False: 11.0k]
  ------------------
  642|  17.8k|                          : make_full_pos(child, p.shift() - B)
  643|  11.0k|                                .visit(v, idx, args...))
  644|  24.5k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 2.31k, False: 4.40k]
  ------------------
  645|  6.71k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  6.71k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  4.40k|                            .visit(v, idx, args...));
  648|  24.5k|}
flex-vector.cpp:_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
  207|  21.5k|    {
  208|  21.5k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  21.5k|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  202|   442k|    count_t index(size_t idx) const { return idx & mask<BL>; }
flex-vector.cpp:_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
 1405|  17.8k|    {
 1406|  17.8k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  17.8k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
 1162|  2.17M|    count_t index(size_t idx) const { return (idx >> shift_) & mask<B>; }
flex-vector.cpp:_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjjDpOT0_:
 1329|  17.8k|    {
 1330|  17.8k|        return towards_oh(v, idx, offset_hint, args...);
 1331|  17.8k|    }
flex-vector.cpp:_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjDpOT0_:
 1336|  17.8k|    {
 1337|  17.8k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 17.8k, False: 0]
  ------------------
 1338|  17.8k|        auto is_leaf = shift_ == BL;
 1339|  17.8k|        auto child   = node_->inner()[offset_hint];
 1340|  17.8k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 11.8k, False: 5.96k]
  ------------------
 1341|  17.8k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  17.8k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  17.8k|    }
flex-vector.cpp:_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
  112|  3.01k|    {
  113|  3.01k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  3.01k|    }
flex-vector.cpp:_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
  336|  4.81k|    {
  337|  4.81k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  4.81k|    }
flex-vector.cpp:_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjjDpOT0_:
  316|  4.81k|    {
  317|  4.81k|        return towards_oh_ch_regular(
  318|  4.81k|            *this, v, idx, offset_hint, count(), args...);
  319|  4.81k|    }
flex-vector.cpp:_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14update_visitorISD_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcOSL_T0_mjjDpOT1_:
  632|  4.81k|{
  633|  4.81k|    constexpr auto B  = bits<Pos>;
  634|  4.81k|    constexpr auto BL = bits_leaf<Pos>;
  635|  4.81k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 4.81k, False: 0]
  ------------------
  636|  4.81k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 4.81k, False: 0]
  ------------------
  637|  4.81k|    auto is_leaf = p.shift() == BL;
  638|  4.81k|    auto child   = p.node()->inner()[offset_hint];
  639|  4.81k|    auto is_full = offset_hint + 1 != count_hint;
  640|  4.81k|    return is_full
  ------------------
  |  Branch (640:12): [True: 3.70k, False: 1.11k]
  ------------------
  641|  4.81k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.86k, False: 841]
  ------------------
  642|  3.70k|                          : make_full_pos(child, p.shift() - B)
  643|    841|                                .visit(v, idx, args...))
  644|  4.81k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 699, False: 412]
  ------------------
  645|  1.11k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.11k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    412|                            .visit(v, idx, args...));
  648|  4.81k|}
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  45.4k|{
 1839|  45.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 45.4k, False: 0]
  ------------------
 1840|  45.4k|    auto relaxed = node->relaxed();
 1841|  45.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 38.5k, False: 6.84k]
  ------------------
 1842|  38.5k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 38.5k, False: 0]
  ------------------
 1843|  38.5k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  38.5k|            .visit(v, std::forward<Args>(args)...);
 1845|  38.5k|    } else {
 1846|  6.84k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.84k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.84k|    }
 1849|  45.4k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1813|  38.5k|    {
 1814|  38.5k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  38.5k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
 1686|  28.9k|    {
 1687|  28.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 28.9k, False: 0]
  ------------------
 1688|  28.9k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 28.9k]
  ------------------
 1689|  28.9k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  28.9k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjmDpOT0_:
 1698|  28.9k|    {
 1699|  28.9k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  28.9k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjmDpOT0_:
 1717|  28.9k|    {
 1718|  28.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 28.9k, False: 0]
  ------------------
 1719|  28.9k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 28.9k]
  |  Branch (1719:9): [True: 28.9k, False: 0]
  ------------------
 1720|  28.9k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  28.9k|        auto child     = node_->inner()[offset_hint];
 1722|  28.9k|        auto is_leaf   = shift_ == BL;
 1723|  28.9k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  28.9k|        auto next_idx  = idx - left_size_hint;
 1725|  28.9k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 2.06k, False: 26.8k]
  ------------------
 1726|  28.9k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  2.06k|                         .visit(v, next_idx, args...)
 1728|  28.9k|                   : visit_maybe_relaxed_sub(
 1729|  26.8k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  28.9k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
  144|  2.06k|    {
  145|  2.06k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.06k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
 1686|  21.7k|    {
 1687|  21.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 21.7k, False: 0]
  ------------------
 1688|  21.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 14.4k, False: 7.27k]
  ------------------
 1689|  21.7k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  21.7k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjmDpOT0_:
 1698|  21.7k|    {
 1699|  21.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  21.7k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjmDpOT0_:
 1717|  21.7k|    {
 1718|  21.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 21.7k, False: 0]
  ------------------
 1719|  21.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 14.4k, False: 7.27k]
  |  Branch (1719:9): [True: 21.7k, False: 0]
  ------------------
 1720|  21.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  21.7k|        auto child     = node_->inner()[offset_hint];
 1722|  21.7k|        auto is_leaf   = shift_ == BL;
 1723|  21.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  21.7k|        auto next_idx  = idx - left_size_hint;
 1725|  21.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 5.47k, False: 16.2k]
  ------------------
 1726|  21.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  5.47k|                         .visit(v, next_idx, args...)
 1728|  21.7k|                   : visit_maybe_relaxed_sub(
 1729|  16.2k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  21.7k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  144|  5.47k|    {
  145|  5.47k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.47k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  16.2k|{
 1839|  16.2k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 16.2k, False: 0]
  ------------------
 1840|  16.2k|    auto relaxed = node->relaxed();
 1841|  16.2k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 12.0k, False: 4.19k]
  ------------------
 1842|  12.0k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 12.0k, False: 0]
  ------------------
 1843|  12.0k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  12.0k|            .visit(v, std::forward<Args>(args)...);
 1845|  12.0k|    } else {
 1846|  4.19k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.19k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.19k|    }
 1849|  16.2k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1813|  12.0k|    {
 1814|  12.0k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  12.0k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1036|  4.19k|    {
 1037|  4.19k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.19k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
  927|  7.40k|    {
  928|  7.40k|        return towards_oh_ch_regular(
  929|  7.40k|            *this, v, idx, offset_hint, count(), args...);
  930|  7.40k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_19slice_right_visitorISD_Lb0EEEJEEEDcOT_T0_mjjDpOT1_:
  632|  7.40k|{
  633|  7.40k|    constexpr auto B  = bits<Pos>;
  634|  7.40k|    constexpr auto BL = bits_leaf<Pos>;
  635|  7.40k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 7.40k, False: 0]
  ------------------
  636|  7.40k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 7.40k, False: 0]
  ------------------
  637|  7.40k|    auto is_leaf = p.shift() == BL;
  638|  7.40k|    auto child   = p.node()->inner()[offset_hint];
  639|  7.40k|    auto is_full = offset_hint + 1 != count_hint;
  640|  7.40k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.83k, False: 4.57k]
  ------------------
  641|  7.40k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.73k, False: 1.10k]
  ------------------
  642|  2.83k|                          : make_full_pos(child, p.shift() - B)
  643|  1.10k|                                .visit(v, idx, args...))
  644|  7.40k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.02k, False: 3.55k]
  ------------------
  645|  4.57k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  4.57k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  3.55k|                            .visit(v, idx, args...));
  648|  7.40k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  207|  6.57k|    {
  208|  6.57k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  6.57k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1405|  2.90k|    {
 1406|  2.90k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.90k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
 1336|  4.41k|    {
 1337|  4.41k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 4.41k, False: 0]
  ------------------
 1338|  4.41k|        auto is_leaf = shift_ == BL;
 1339|  4.41k|        auto child   = node_->inner()[offset_hint];
 1340|  4.41k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 3.16k, False: 1.25k]
  ------------------
 1341|  4.41k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  4.41k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  4.41k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1161|   200k|    shift_t shift() const { return shift_; }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  112|  2.34k|    {
  113|  2.34k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.34k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  336|  5.00k|    {
  337|  5.00k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  5.00k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
  305|  5.00k|    {
  306|  5.00k|        return towards_oh_ch_regular(
  307|  5.00k|            *this, v, idx, offset_hint, count(), args...);
  308|  5.00k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_19slice_right_visitorISD_Lb0EEEJEEEDcOT_T0_mjjDpOT1_:
  632|  5.00k|{
  633|  5.00k|    constexpr auto B  = bits<Pos>;
  634|  5.00k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.00k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.00k, False: 0]
  ------------------
  636|  5.00k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.00k, False: 0]
  ------------------
  637|  5.00k|    auto is_leaf = p.shift() == BL;
  638|  5.00k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.00k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.00k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.22k, False: 2.77k]
  ------------------
  641|  5.00k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.68k, False: 547]
  ------------------
  642|  2.22k|                          : make_full_pos(child, p.shift() - B)
  643|    547|                                .visit(v, idx, args...))
  644|  5.00k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.32k, False: 1.45k]
  ------------------
  645|  2.77k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.77k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.45k|                            .visit(v, idx, args...));
  648|  5.00k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1036|  6.84k|    {
 1037|  6.84k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.84k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
  927|  3.63k|    {
  928|  3.63k|        return towards_oh_ch_regular(
  929|  3.63k|            *this, v, idx, offset_hint, count(), args...);
  930|  3.63k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_19slice_right_visitorISD_Lb1EEEJEEEDcOT_T0_mjjDpOT1_:
  632|  3.63k|{
  633|  3.63k|    constexpr auto B  = bits<Pos>;
  634|  3.63k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.63k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.63k, False: 0]
  ------------------
  636|  3.63k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.63k, False: 0]
  ------------------
  637|  3.63k|    auto is_leaf = p.shift() == BL;
  638|  3.63k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.63k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.63k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.97k, False: 664]
  ------------------
  641|  3.63k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 826, False: 2.14k]
  ------------------
  642|  2.97k|                          : make_full_pos(child, p.shift() - B)
  643|  2.14k|                                .visit(v, idx, args...))
  644|  3.63k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 664, False: 0]
  ------------------
  645|    664|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    664|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  3.63k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
  207|  1.45k|    {
  208|  1.45k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.45k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1405|  2.72k|    {
 1406|  2.72k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.72k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
 1336|  1.20k|    {
 1337|  1.20k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.20k, False: 0]
  ------------------
 1338|  1.20k|        auto is_leaf = shift_ == BL;
 1339|  1.20k|        auto child   = node_->inner()[offset_hint];
 1340|  1.20k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 627, False: 581]
  ------------------
 1341|  1.20k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.20k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.20k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
  112|    664|    {
  113|    664|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    664|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_18slice_left_visitorISC_Lb1EEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  23.2k|{
 1839|  23.2k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 23.2k, False: 0]
  ------------------
 1840|  23.2k|    auto relaxed = node->relaxed();
 1841|  23.2k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 15.5k, False: 7.69k]
  ------------------
 1842|  15.5k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 15.5k, False: 0]
  ------------------
 1843|  15.5k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  15.5k|            .visit(v, std::forward<Args>(args)...);
 1845|  15.5k|    } else {
 1846|  7.69k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.69k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.69k|    }
 1849|  23.2k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1813|  15.5k|    {
 1814|  15.5k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  15.5k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
 1434|  9.87M|    count_t subindex(size_t idx) const { return index(idx); }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
 1705|  4.66k|    {
 1706|  4.66k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.66k, False: 0]
  ------------------
 1707|  4.66k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 3.92k, False: 741]
  ------------------
 1708|  4.66k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.66k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_18slice_left_visitorISC_Lb1EEEJEEEDcT_mjmDpOT0_:
 1717|  4.66k|    {
 1718|  4.66k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.66k, False: 0]
  ------------------
 1719|  4.66k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 3.92k, False: 741]
  |  Branch (1719:9): [True: 4.66k, False: 0]
  ------------------
 1720|  4.66k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.66k|        auto child     = node_->inner()[offset_hint];
 1722|  4.66k|        auto is_leaf   = shift_ == BL;
 1723|  4.66k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.66k|        auto next_idx  = idx - left_size_hint;
 1725|  4.66k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.66k]
  ------------------
 1726|  4.66k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.66k|                   : visit_maybe_relaxed_sub(
 1729|  4.66k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.66k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
 1705|  57.1k|    {
 1706|  57.1k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 57.1k, False: 0]
  ------------------
 1707|  57.1k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 15.9k, False: 41.1k]
  ------------------
 1708|  57.1k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  57.1k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_18slice_left_visitorISC_Lb0EEEJEEEDcT_mjmDpOT0_:
 1717|  57.1k|    {
 1718|  57.1k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 57.1k, False: 0]
  ------------------
 1719|  57.1k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 15.9k, False: 41.1k]
  |  Branch (1719:9): [True: 57.1k, False: 0]
  ------------------
 1720|  57.1k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  57.1k|        auto child     = node_->inner()[offset_hint];
 1722|  57.1k|        auto is_leaf   = shift_ == BL;
 1723|  57.1k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  57.1k|        auto next_idx  = idx - left_size_hint;
 1725|  57.1k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 8.68k, False: 48.5k]
  ------------------
 1726|  57.1k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  8.68k|                         .visit(v, next_idx, args...)
 1728|  57.1k|                   : visit_maybe_relaxed_sub(
 1729|  48.5k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  57.1k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  144|  8.68k|    {
  145|  8.68k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  8.68k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  48.5k|{
 1839|  48.5k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 48.5k, False: 0]
  ------------------
 1840|  48.5k|    auto relaxed = node->relaxed();
 1841|  48.5k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 46.2k, False: 2.21k]
  ------------------
 1842|  46.2k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 46.2k, False: 0]
  ------------------
 1843|  46.2k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  46.2k|            .visit(v, std::forward<Args>(args)...);
 1845|  46.2k|    } else {
 1846|  2.21k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.21k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.21k|    }
 1849|  48.5k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1813|  46.2k|    {
 1814|  46.2k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  46.2k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1036|  2.21k|    {
 1037|  2.21k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.21k|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
  791|   216k|    {
  792|   216k|        return size_t{offset} << shift_;
  793|   216k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
  803|  28.2k|    {
  804|  28.2k|        assert(size_before_hint == size_before(offset));
  ------------------
  |  Branch (804:9): [True: 28.2k, False: 0]
  ------------------
  805|  28.2k|        return offset == subindex(size_ - 1) ? size_ - size_before_hint
  ------------------
  |  Branch (805:16): [True: 15.8k, False: 12.3k]
  ------------------
  806|  28.2k|                                             : size_t{1} << shift_;
  807|  28.2k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
  946|  8.51k|    {
  947|  8.51k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  8.51k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_18slice_left_visitorISD_Lb0EEEJEEEDcOT_T0_mjDpOT1_:
  653|  8.51k|{
  654|  8.51k|    constexpr auto B  = bits<Pos>;
  655|  8.51k|    constexpr auto BL = bits_leaf<Pos>;
  656|  8.51k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 8.51k, False: 0]
  ------------------
  657|  8.51k|    auto is_leaf = p.shift() == BL;
  658|  8.51k|    auto child   = p.node()->inner()[offset_hint];
  659|  8.51k|    auto lsize   = offset_hint << p.shift();
  660|  8.51k|    auto size    = p.this_size();
  661|  8.51k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  8.51k|    return is_full
  ------------------
  |  Branch (662:12): [True: 8.51k, False: 0]
  ------------------
  663|  8.51k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 4.51k, False: 4.00k]
  ------------------
  664|  8.51k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  8.51k|                      : make_full_pos(child, p.shift() - B)
  666|  4.00k|                            .visit(v, idx - lsize, args...))
  667|  8.51k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 0]
  ------------------
  668|      0|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|      0|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|      0|                            .visit(v, idx - lsize, args...));
  672|  8.51k|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9this_sizeEv:
  794|  28.2k|    size_t this_size() const { return size_; }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJmEEEDcT_DpOT0_:
  207|  9.91k|    {
  208|  9.91k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  9.91k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJmEEEDcT_DpOT0_:
 1405|  6.28k|    {
 1406|  6.28k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  6.28k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
 1163|  20.5k|    count_t subindex(size_t idx) const { return idx >> shift_; }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
 1170|  39.7k|    {
 1171|  39.7k|        return size_t{offset} << shift_;
 1172|  39.7k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
 1166|  20.5k|    {
 1167|  20.5k|        return size_t{1} << shift_;
 1168|  20.5k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
 1348|  7.68k|    {
 1349|  7.68k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 7.68k, False: 0]
  ------------------
 1350|  7.68k|        auto is_leaf = shift_ == BL;
 1351|  7.68k|        auto child   = node_->inner()[offset_hint];
 1352|  7.68k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  7.68k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 5.40k, False: 2.28k]
  ------------------
 1354|  7.68k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  7.68k|                   : make_full_pos(child, shift_ - B)
 1356|  2.28k|                         .visit(v, idx - lsize, args...);
 1357|  7.68k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
 1175|  17.9k|    {
 1176|  17.9k|        auto e = sizes + n;
 1177|  44.8k|        for (; sizes != e; ++sizes) {
  ------------------
  |  Branch (1177:16): [True: 26.9k, False: 17.9k]
  ------------------
 1178|  26.9k|            init = *sizes = init + (size_t{1} << shift_);
 1179|       |            assert(init);
  ------------------
  |  Branch (1179:13): [True: 26.9k, False: 0]
  ------------------
 1180|  26.9k|        }
 1181|  17.9k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
 1160|   852k|    size_t size() const { return branches<B, size_t> << shift_; }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
  810|   266k|    {
  811|   266k|        if (n) {
  ------------------
  |  Branch (811:13): [True: 261k, False: 5.28k]
  ------------------
  812|   261k|            auto last = offset + n - 1;
  813|   261k|            auto e    = sizes + n - 1;
  814|   519k|            for (; sizes != e; ++sizes) {
  ------------------
  |  Branch (814:20): [True: 258k, False: 261k]
  ------------------
  815|   258k|                init = *sizes = init + (size_t{1} << shift_);
  816|   258k|                assert(init);
  ------------------
  |  Branch (816:17): [True: 258k, False: 0]
  ------------------
  817|   258k|            }
  818|   261k|            *sizes = init + size(last);
  819|       |            assert(*sizes);
  ------------------
  |  Branch (819:13): [True: 261k, False: 0]
  ------------------
  820|   261k|        }
  821|   266k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEj:
  797|   276k|    {
  798|   276k|        return offset == subindex(size_ - 1) ? size_ - size_before(offset)
  ------------------
  |  Branch (798:16): [True: 141k, False: 135k]
  ------------------
  799|   276k|                                             : size_t{1} << shift_;
  800|   276k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
 1462|  5.00M|    {
 1463|  5.00M|        auto e     = sizes + n;
 1464|  5.00M|        auto prev  = size_before(offset);
 1465|  5.00M|        auto these = relaxed_->d.sizes + offset;
 1466|  14.3M|        for (; sizes != e; ++sizes, ++these) {
  ------------------
  |  Branch (1466:16): [True: 9.32M, False: 5.00M]
  ------------------
 1467|  9.32M|            auto this_size = *these;
 1468|  9.32M|            init = *sizes = init + (this_size - prev);
 1469|  9.32M|            assert(init);
  ------------------
  |  Branch (1469:13): [True: 9.32M, False: 0]
  ------------------
 1470|  9.32M|            prev = this_size;
 1471|  9.32M|        }
 1472|  5.00M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1036|  7.69k|    {
 1037|  7.69k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.69k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
  946|  3.77k|    {
  947|  3.77k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.77k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_18slice_left_visitorISD_Lb1EEEJEEEDcOT_T0_mjDpOT1_:
  653|  3.77k|{
  654|  3.77k|    constexpr auto B  = bits<Pos>;
  655|  3.77k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.77k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.77k, False: 0]
  ------------------
  657|  3.77k|    auto is_leaf = p.shift() == BL;
  658|  3.77k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.77k|    auto lsize   = offset_hint << p.shift();
  660|  3.77k|    auto size    = p.this_size();
  661|  3.77k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.77k|    return is_full
  ------------------
  |  Branch (662:12): [True: 1.39k, False: 2.37k]
  ------------------
  663|  3.77k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 1.39k]
  ------------------
  664|  1.39k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  1.39k|                      : make_full_pos(child, p.shift() - B)
  666|  1.39k|                            .visit(v, idx - lsize, args...))
  667|  3.77k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 2.37k]
  ------------------
  668|  2.37k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  2.37k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  2.37k|                            .visit(v, idx - lsize, args...));
  672|  3.77k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJmEEEDcT_DpOT0_:
 1405|  1.71k|    {
 1406|  1.71k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.71k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
 1348|    313|    {
 1349|    313|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 313, False: 0]
  ------------------
 1350|    313|        auto is_leaf = shift_ == BL;
 1351|    313|        auto child   = node_->inner()[offset_hint];
 1352|    313|        auto lsize   = size_t{offset_hint} << shift_;
 1353|    313|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 313]
  ------------------
 1354|    313|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|    313|                   : make_full_pos(child, shift_ - B)
 1356|    313|                         .visit(v, idx - lsize, args...);
 1357|    313|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJmEEEDcT_DpOT0_:
 1036|  2.37k|    {
 1037|  2.37k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.37k|    }
_ZN5immer6detail4rbts30make_singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaPT_j:
  766|  8.08k|{
  767|  8.08k|    assert(leaf);
  ------------------
  |  Branch (767:5): [True: 8.08k, False: 0]
  ------------------
  768|  8.08k|    IMMER_ASSERT_TAGGED(leaf->kind() == NodeT::kind_t::leaf);
  ------------------
  |  |   68|  8.08k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (768:5): [True: 8.08k, False: 0]
  ------------------
  769|  8.08k|    assert(count > 0);
  ------------------
  |  Branch (769:5): [True: 8.08k, False: 0]
  ------------------
  770|  8.08k|    return singleton_regular_sub_pos<NodeT>{leaf, count};
  771|  8.08k|}
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_25concat_trees_left_visitorISC_EEJNS1_14empty_leaf_posISC_EERPSC_RjRmEEEDcT_DpOT0_:
  759|  8.08k|    {
  760|  8.08k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  761|  8.08k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_26concat_trees_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  8.08k|{
 1839|  8.08k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 8.08k, False: 0]
  ------------------
 1840|  8.08k|    auto relaxed = node->relaxed();
 1841|  8.08k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 5.71k, False: 2.37k]
  ------------------
 1842|  5.71k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 5.71k, False: 0]
  ------------------
 1843|  5.71k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  5.71k|            .visit(v, std::forward<Args>(args)...);
 1845|  5.71k|    } else {
 1846|  2.37k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.37k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.37k|    }
 1849|  8.08k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1813|  5.71k|    {
 1814|  5.71k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  5.71k|    }
_ZNK5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  735|  27.4k|    shift_t shift() const { return BL; }
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  744|  8.08k|    {
  745|  8.08k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
  144|  2.43M|    {
  145|  2.43M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.43M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
 1813|  21.2M|    {
 1814|  21.2M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  21.2M|    }
_ZN5immer6detail4rbts12null_sub_pos14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  707|  2.40M|    {
  708|  2.40M|    }
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
  744|  8.08k|    {
  745|  8.08k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
  144|  2.43M|    {
  145|  2.43M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.43M|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  137|  2.43M|    size_t size() const { return count_; }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
 1813|  21.2M|    {
 1814|  21.2M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  21.2M|    }
_ZN5immer6detail4rbts12null_sub_pos14each_right_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEEvT_DpOT0_:
  707|  2.40M|    {
  708|  2.40M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1762|  18.2k|    {
 1763|  18.2k|        auto child      = node_->inner()[0];
 1764|  18.2k|        auto child_size = relaxed_->d.sizes[0];
 1765|  18.2k|        auto is_leaf    = shift_ == BL;
 1766|  18.2k|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 18.2k, False: 0]
  ------------------
 1767|  18.2k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 18.2k]
  ------------------
 1768|  18.2k|                       : visit_maybe_relaxed_sub(
 1769|  18.2k|                             child, shift_ - B, child_size, v, args...);
 1770|  18.2k|    }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
   76|  8.08k|    shift_t shift() const { return 0; }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  138|  1.97M|    shift_t shift() const { return 0; }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  18.2k|{
 1839|  18.2k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 18.2k, False: 0]
  ------------------
 1840|  18.2k|    auto relaxed = node->relaxed();
 1841|  18.2k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 17.8k, False: 386]
  ------------------
 1842|  17.8k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 17.8k, False: 0]
  ------------------
 1843|  17.8k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  17.8k|            .visit(v, std::forward<Args>(args)...);
 1845|  17.8k|    } else {
 1846|    386|        return make_regular_sub_pos(node, shift, size)
 1847|    386|            .visit(v, std::forward<Args>(args)...);
 1848|    386|    }
 1849|  18.2k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1813|  17.8k|    {
 1814|  17.8k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  17.8k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1036|    386|    {
 1037|    386|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    386|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
  970|    741|    {
  971|    741|        auto is_leaf = shift_ == BL;
  972|    741|        auto child   = node_->inner()[0];
  973|    741|        auto is_full = size_ >= (size_t{1} << shift_);
  974|    741|        return is_full
  ------------------
  |  Branch (974:16): [True: 741, False: 0]
  ------------------
  975|    741|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 741]
  ------------------
  976|    741|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|    741|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|    741|                   : (is_leaf
  ------------------
  |  Branch (978:23): [True: 0, False: 0]
  ------------------
  979|      0|                          ? make_leaf_sub_pos(child, size_).visit(v, args...)
  980|      0|                          : make_regular_sub_pos(child, shift_ - B, size_)
  981|      0|                                .visit(v, args...));
  982|    741|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  201|   161k|    shift_t shift() const { return 0; }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1405|  1.16k|    {
 1406|  1.16k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.16k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1361|    425|    {
 1362|    425|        auto is_leaf = shift_ == BL;
 1363|    425|        auto child   = node_->inner()[0];
 1364|    425|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 425]
  ------------------
 1365|    425|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|    425|    }
_ZN5immer6detail4rbts12null_sub_pos13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  711|   114k|    {
  712|   114k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
 1304|   154k|    {
 1305|   154k|        each_i(v, 1, branches<B>, args...);
 1306|   154k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6each_iINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jjDpOT0_:
 1263|   154k|    {
 1264|   154k|        auto p = node_->inner() + i;
 1265|   154k|        auto e = node_->inner() + n;
 1266|   154k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 75.6k, False: 78.6k]
  ------------------
 1267|   302k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 226k, False: 75.6k]
  ------------------
 1268|   226k|                IMMER_PREFETCH(p + 1);
 1269|   226k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|   226k|            }
 1271|  78.6k|        } else {
 1272|  78.6k|            auto ss = shift_ - B;
 1273|   314k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 235k, False: 78.6k]
  ------------------
 1274|   235k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  78.6k|        }
 1276|   154k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
  207|  1.18M|    {
  208|  1.18M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.18M|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
 1405|   844k|    {
 1406|   844k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   844k|    }
_ZN5immer6detail4rbts12null_sub_pos13each_left_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEEvT_DpOT0_:
  711|   114k|    {
  712|   114k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
 1304|   154k|    {
 1305|   154k|        each_i(v, 1, branches<B>, args...);
 1306|   154k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6each_iINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jjDpOT0_:
 1263|   154k|    {
 1264|   154k|        auto p = node_->inner() + i;
 1265|   154k|        auto e = node_->inner() + n;
 1266|   154k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 75.6k, False: 78.6k]
  ------------------
 1267|   302k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 226k, False: 75.6k]
  ------------------
 1268|   226k|                IMMER_PREFETCH(p + 1);
 1269|   226k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|   226k|            }
 1271|  78.6k|        } else {
 1272|  78.6k|            auto ss = shift_ - B;
 1273|   314k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 235k, False: 78.6k]
  ------------------
 1274|   235k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  78.6k|        }
 1276|   154k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
  207|  1.18M|    {
  208|  1.18M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.18M|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  200|  1.18M|    size_t size() const { return branches<BL>; }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
 1405|   844k|    {
 1406|   844k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   844k|    }
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  753|    741|    {
  754|    741|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|    741|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  144|    741|    {
  145|    741|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    741|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1370|    741|    {
 1371|    741|        assert(shift_ == BL);
  ------------------
  |  Branch (1371:9): [True: 741, False: 0]
  ------------------
 1372|    741|        auto child = node_->inner()[0];
 1373|    741|        return make_full_leaf_pos(child).visit(v, args...);
 1374|    741|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
  207|  2.76k|    {
  208|  2.76k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  2.76k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  906|   161k|    {
  907|   161k|        if (count() > 1)
  ------------------
  |  Branch (907:13): [True: 151k, False: 10.1k]
  ------------------
  908|   151k|            each_right_sub_(v, 1, args...);
  909|   161k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE15each_right_sub_INS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jDpOT0_:
  879|   151k|    {
  880|   151k|        auto last  = count() - 1;
  881|   151k|        auto lsize = size_ - (last << shift_);
  882|   151k|        auto n     = node()->inner() + i;
  883|   151k|        auto e     = node()->inner() + last;
  884|   151k|        if (shift() == BL) {
  ------------------
  |  Branch (884:13): [True: 76.0k, False: 75.6k]
  ------------------
  885|   224k|            for (; n != e; ++n) {
  ------------------
  |  Branch (885:20): [True: 148k, False: 76.0k]
  ------------------
  886|   148k|                IMMER_PREFETCH(n + 1);
  887|   148k|                make_full_leaf_pos(*n).visit(v, args...);
  888|   148k|            }
  889|  76.0k|            make_leaf_sub_pos(*n, lsize).visit(v, args...);
  890|  76.0k|        } else {
  891|  75.6k|            auto ss = shift_ - B;
  892|   202k|            for (; n != e; ++n)
  ------------------
  |  Branch (892:20): [True: 127k, False: 75.6k]
  ------------------
  893|   127k|                make_full_pos(*n, ss).visit(v, args...);
  894|  75.6k|            make_regular_sub_pos(*n, ss, lsize).visit(v, args...);
  895|  75.6k|        }
  896|   151k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
 1036|   738k|    {
 1037|   738k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   738k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
  906|   161k|    {
  907|   161k|        if (count() > 1)
  ------------------
  |  Branch (907:13): [True: 151k, False: 10.1k]
  ------------------
  908|   151k|            each_right_sub_(v, 1, args...);
  909|   161k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE15each_right_sub_INS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jDpOT0_:
  879|   151k|    {
  880|   151k|        auto last  = count() - 1;
  881|   151k|        auto lsize = size_ - (last << shift_);
  882|   151k|        auto n     = node()->inner() + i;
  883|   151k|        auto e     = node()->inner() + last;
  884|   151k|        if (shift() == BL) {
  ------------------
  |  Branch (884:13): [True: 76.0k, False: 75.6k]
  ------------------
  885|   224k|            for (; n != e; ++n) {
  ------------------
  |  Branch (885:20): [True: 148k, False: 76.0k]
  ------------------
  886|   148k|                IMMER_PREFETCH(n + 1);
  887|   148k|                make_full_leaf_pos(*n).visit(v, args...);
  888|   148k|            }
  889|  76.0k|            make_leaf_sub_pos(*n, lsize).visit(v, args...);
  890|  76.0k|        } else {
  891|  75.6k|            auto ss = shift_ - B;
  892|   202k|            for (; n != e; ++n)
  ------------------
  |  Branch (892:20): [True: 127k, False: 75.6k]
  ------------------
  893|   127k|                make_full_pos(*n, ss).visit(v, args...);
  894|  75.6k|            make_regular_sub_pos(*n, ss, lsize).visit(v, args...);
  895|  75.6k|        }
  896|   151k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
 1036|   738k|    {
 1037|   738k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   738k|    }
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
  753|  2.02k|    {
  754|  2.02k|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|  2.02k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
  144|  2.02k|    {
  145|  2.02k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.02k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
  986|  2.02k|    {
  987|  2.02k|        assert(shift_ == BL);
  ------------------
  |  Branch (987:9): [True: 2.02k, False: 0]
  ------------------
  988|  2.02k|        auto child   = node_->inner()[0];
  989|  2.02k|        auto is_full = size_ >= branches<BL>;
  990|  2.02k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (990:16): [True: 2.02k, False: 0]
  ------------------
  991|  2.02k|                       : make_leaf_sub_pos(child, size_).visit(v, args...);
  992|  2.02k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRSD_RNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
  144|  5.32k|    {
  145|  5.32k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.32k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
 1647|  3.01M|    {
 1648|  3.01M|        each_right(v, 1, std::forward<Args>(args)...);
 1649|  3.01M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jDpOT0_:
 1653|  3.01M|    {
 1654|  3.01M|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 3.01M, False: 0]
  ------------------
 1655|  3.01M|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 3.01M, False: 0]
  ------------------
 1656|  3.01M|        auto s = relaxed_->d.sizes[start - 1];
 1657|  3.01M|        auto p = node_->inner();
 1658|  3.01M|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 373k, False: 2.64M]
  ------------------
 1659|   989k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 616k, False: 373k]
  ------------------
 1660|   616k|                IMMER_PREFETCH(p + i + 1);
 1661|   616k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|   616k|                    .visit(v, args...);
 1663|   616k|                s = relaxed_->d.sizes[i];
 1664|   616k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 616k, False: 0]
  ------------------
 1665|   616k|            }
 1666|  2.64M|        } else {
 1667|  2.64M|            auto ss = shift_ - B;
 1668|  9.37M|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 6.72M, False: 2.64M]
  ------------------
 1669|  6.72M|                visit_maybe_relaxed_sub(
 1670|  6.72M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  6.72M|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 6.72M, False: 0]
  ------------------
 1673|  6.72M|            }
 1674|  2.64M|        }
 1675|  3.01M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcPT_jmT0_DpOT1_:
 1838|  13.8M|{
 1839|  13.8M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 13.8M, False: 0]
  ------------------
 1840|  13.8M|    auto relaxed = node->relaxed();
 1841|  13.8M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 13.2M, False: 663k]
  ------------------
 1842|  13.2M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 13.2M, False: 0]
  ------------------
 1843|  13.2M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  13.2M|            .visit(v, std::forward<Args>(args)...);
 1845|  13.2M|    } else {
 1846|   663k|        return make_regular_sub_pos(node, shift, size)
 1847|   663k|            .visit(v, std::forward<Args>(args)...);
 1848|   663k|    }
 1849|  13.8M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
 1647|  3.01M|    {
 1648|  3.01M|        each_right(v, 1, std::forward<Args>(args)...);
 1649|  3.01M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jDpOT0_:
 1653|  3.01M|    {
 1654|  3.01M|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 3.01M, False: 0]
  ------------------
 1655|  3.01M|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 3.01M, False: 0]
  ------------------
 1656|  3.01M|        auto s = relaxed_->d.sizes[start - 1];
 1657|  3.01M|        auto p = node_->inner();
 1658|  3.01M|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 373k, False: 2.64M]
  ------------------
 1659|   989k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 616k, False: 373k]
  ------------------
 1660|   616k|                IMMER_PREFETCH(p + i + 1);
 1661|   616k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|   616k|                    .visit(v, args...);
 1663|   616k|                s = relaxed_->d.sizes[i];
 1664|   616k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 616k, False: 0]
  ------------------
 1665|   616k|            }
 1666|  2.64M|        } else {
 1667|  2.64M|            auto ss = shift_ - B;
 1668|  9.37M|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 6.72M, False: 2.64M]
  ------------------
 1669|  6.72M|                visit_maybe_relaxed_sub(
 1670|  6.72M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  6.72M|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 6.72M, False: 0]
  ------------------
 1673|  6.72M|            }
 1674|  2.64M|        }
 1675|  3.01M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  13.8M|{
 1839|  13.8M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 13.8M, False: 0]
  ------------------
 1840|  13.8M|    auto relaxed = node->relaxed();
 1841|  13.8M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 13.2M, False: 663k]
  ------------------
 1842|  13.2M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 13.2M, False: 0]
  ------------------
 1843|  13.2M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  13.2M|            .visit(v, std::forward<Args>(args)...);
 1845|  13.2M|    } else {
 1846|   663k|        return make_regular_sub_pos(node, shift, size)
 1847|   663k|            .visit(v, std::forward<Args>(args)...);
 1848|   663k|    }
 1849|  13.8M|}
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  753|  5.32k|    {
  754|  5.32k|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|  5.32k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  144|  5.32k|    {
  145|  5.32k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.32k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1774|  5.32k|    {
 1775|  5.32k|        assert(shift_ == BL);
  ------------------
  |  Branch (1775:9): [True: 5.32k, False: 0]
  ------------------
 1776|  5.32k|        auto child      = node_->inner()[0];
 1777|  5.32k|        auto child_size = relaxed_->d.sizes[0];
 1778|  5.32k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1779|  5.32k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  2.37k|    {
 1037|  2.37k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.37k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_25concat_trees_left_visitorISC_EEJNS1_8leaf_posISC_EERPSC_RjRmEEEDcPT_jmT0_DpOT1_:
 1838|   527k|{
 1839|   527k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 527k, False: 0]
  ------------------
 1840|   527k|    auto relaxed = node->relaxed();
 1841|   527k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 512k, False: 14.8k]
  ------------------
 1842|   512k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 512k, False: 0]
  ------------------
 1843|   512k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   512k|            .visit(v, std::forward<Args>(args)...);
 1845|   512k|    } else {
 1846|  14.8k|        return make_regular_sub_pos(node, shift, size)
 1847|  14.8k|            .visit(v, std::forward<Args>(args)...);
 1848|  14.8k|    }
 1849|   527k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_25concat_trees_left_visitorISC_EEJNS1_8leaf_posISC_EERPSC_RjRmEEEDcT_DpOT0_:
 1813|   512k|    {
 1814|   512k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   512k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_26concat_trees_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|   512k|{
 1839|   512k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 512k, False: 0]
  ------------------
 1840|   512k|    auto relaxed = node->relaxed();
 1841|   512k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 496k, False: 15.7k]
  ------------------
 1842|   496k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 496k, False: 0]
  ------------------
 1843|   496k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   496k|            .visit(v, std::forward<Args>(args)...);
 1845|   496k|    } else {
 1846|  15.7k|        return make_regular_sub_pos(node, shift, size)
 1847|  15.7k|            .visit(v, std::forward<Args>(args)...);
 1848|  15.7k|    }
 1849|   512k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1813|   496k|    {
 1814|   496k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   496k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1750|  2.33M|    {
 1751|  2.33M|        auto offset     = relaxed_->d.count - 1;
 1752|  2.33M|        auto child      = node_->inner()[offset];
 1753|  2.33M|        auto child_size = size(offset);
 1754|  2.33M|        auto is_leaf    = shift_ == BL;
 1755|  2.33M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 0, False: 2.33M]
  ------------------
 1756|  2.33M|                       : visit_maybe_relaxed_sub(
 1757|  2.33M|                             child, shift_ - B, child_size, v, args...);
 1758|  2.33M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  2.33M|{
 1839|  2.33M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.33M, False: 0]
  ------------------
 1840|  2.33M|    auto relaxed = node->relaxed();
 1841|  2.33M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.33M, False: 2.54k]
  ------------------
 1842|  2.33M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.33M, False: 0]
  ------------------
 1843|  2.33M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.33M|            .visit(v, std::forward<Args>(args)...);
 1845|  2.33M|    } else {
 1846|  2.54k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.54k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.54k|    }
 1849|  2.33M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1813|  2.33M|    {
 1814|  2.33M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.33M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
 1036|  6.51k|    {
 1037|  6.51k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.51k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  958|  3.96k|    {
  959|  3.96k|        auto offset  = count() - 1;
  960|  3.96k|        auto child   = node_->inner()[offset];
  961|  3.96k|        auto is_leaf = shift_ == BL;
  962|  3.96k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|  3.96k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 0, False: 3.96k]
  ------------------
  964|  3.96k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  3.96k|                             .visit(v, args...);
  966|  3.96k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  913|   961k|    {
  914|   961k|        each_left(v, count() - 1, args...);
  915|   961k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jDpOT0_:
  873|   961k|    {
  874|   961k|        return each_left_regular(*this, v, last, args...);
  875|   961k|    }
_ZN5immer6detail4rbts17each_left_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvOT_T0_jDpOT1_:
  575|   961k|{
  576|   961k|    constexpr auto B  = bits<Pos>;
  577|   961k|    constexpr auto BL = bits_leaf<Pos>;
  578|   961k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 961k, False: 0]
  ------------------
  579|   961k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 449k, False: 512k]
  ------------------
  580|   449k|        auto n = p.node()->inner();
  581|   449k|        auto e = n + last;
  582|  1.25M|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 807k, False: 449k]
  ------------------
  583|   807k|            IMMER_PREFETCH(n + 1);
  584|   807k|            make_full_leaf_pos(*n).visit(v, args...);
  585|   807k|        }
  586|   512k|    } else {
  587|   512k|        auto n  = p.node()->inner();
  588|   512k|        auto e  = n + last;
  589|   512k|        auto ss = p.shift() - B;
  590|   994k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 481k, False: 512k]
  ------------------
  591|   481k|            make_full_pos(*n, ss).visit(v, args...);
  592|   512k|    }
  593|   961k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
  913|   961k|    {
  914|   961k|        each_left(v, count() - 1, args...);
  915|   961k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jDpOT0_:
  873|   961k|    {
  874|   961k|        return each_left_regular(*this, v, last, args...);
  875|   961k|    }
_ZN5immer6detail4rbts17each_left_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_merger_visitorEJRNS1_13concat_mergerISD_EEEEEvOT_T0_jDpOT1_:
  575|   961k|{
  576|   961k|    constexpr auto B  = bits<Pos>;
  577|   961k|    constexpr auto BL = bits_leaf<Pos>;
  578|   961k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 961k, False: 0]
  ------------------
  579|   961k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 449k, False: 512k]
  ------------------
  580|   449k|        auto n = p.node()->inner();
  581|   449k|        auto e = n + last;
  582|  1.25M|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 807k, False: 449k]
  ------------------
  583|   807k|            IMMER_PREFETCH(n + 1);
  584|   807k|            make_full_leaf_pos(*n).visit(v, args...);
  585|   807k|        }
  586|   512k|    } else {
  587|   512k|        auto n  = p.node()->inner();
  588|   512k|        auto e  = n + last;
  589|   512k|        auto ss = p.shift() - B;
  590|   994k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 481k, False: 512k]
  ------------------
  591|   481k|            make_full_pos(*n, ss).visit(v, args...);
  592|   512k|    }
  593|   961k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1762|   801k|    {
 1763|   801k|        auto child      = node_->inner()[0];
 1764|   801k|        auto child_size = relaxed_->d.sizes[0];
 1765|   801k|        auto is_leaf    = shift_ == BL;
 1766|   801k|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 801k, False: 0]
  ------------------
 1767|   801k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 801k]
  ------------------
 1768|   801k|                       : visit_maybe_relaxed_sub(
 1769|   801k|                             child, shift_ - B, child_size, v, args...);
 1770|   801k|    }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  106|   527k|    shift_t shift() const { return 0; }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|   801k|{
 1839|   801k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 801k, False: 0]
  ------------------
 1840|   801k|    auto relaxed = node->relaxed();
 1841|   801k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 668k, False: 132k]
  ------------------
 1842|   668k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 668k, False: 0]
  ------------------
 1843|   668k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   668k|            .visit(v, std::forward<Args>(args)...);
 1845|   668k|    } else {
 1846|   132k|        return make_regular_sub_pos(node, shift, size)
 1847|   132k|            .visit(v, std::forward<Args>(args)...);
 1848|   132k|    }
 1849|   801k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1813|   668k|    {
 1814|   668k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   668k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|   132k|    {
 1037|   132k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   132k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
  958|    932|    {
  959|    932|        auto offset  = count() - 1;
  960|    932|        auto child   = node_->inner()[offset];
  961|    932|        auto is_leaf = shift_ == BL;
  962|    932|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|    932|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 0, False: 932]
  ------------------
  964|    932|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|    932|                             .visit(v, args...);
  966|    932|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1036|  1.34k|    {
 1037|  1.34k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.34k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  970|  72.6k|    {
  971|  72.6k|        auto is_leaf = shift_ == BL;
  972|  72.6k|        auto child   = node_->inner()[0];
  973|  72.6k|        auto is_full = size_ >= (size_t{1} << shift_);
  974|  72.6k|        return is_full
  ------------------
  |  Branch (974:16): [True: 72.6k, False: 0]
  ------------------
  975|  72.6k|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 72.6k]
  ------------------
  976|  72.6k|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|  72.6k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|  72.6k|                   : (is_leaf
  ------------------
  |  Branch (978:23): [True: 0, False: 0]
  ------------------
  979|      0|                          ? make_leaf_sub_pos(child, size_).visit(v, args...)
  980|      0|                          : make_regular_sub_pos(child, shift_ - B, size_)
  981|      0|                                .visit(v, args...));
  982|  72.6k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1405|   150k|    {
 1406|   150k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   150k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1361|  77.5k|    {
 1362|  77.5k|        auto is_leaf = shift_ == BL;
 1363|  77.5k|        auto child   = node_->inner()[0];
 1364|  77.5k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 77.5k]
  ------------------
 1365|  77.5k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|  77.5k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  958|   149k|    {
  959|   149k|        auto offset  = count() - 1;
  960|   149k|        auto child   = node_->inner()[offset];
  961|   149k|        auto is_leaf = shift_ == BL;
  962|   149k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   149k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 73.8k, False: 75.9k]
  ------------------
  964|   149k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  75.9k|                             .visit(v, args...);
  966|   149k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  144|  74.8k|    {
  145|  74.8k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  74.8k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1370|  74.8k|    {
 1371|  74.8k|        assert(shift_ == BL);
  ------------------
  |  Branch (1371:9): [True: 74.8k, False: 0]
  ------------------
 1372|  74.8k|        auto child = node_->inner()[0];
 1373|  74.8k|        return make_full_leaf_pos(child).visit(v, args...);
 1374|  74.8k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  207|   159k|    {
  208|   159k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   159k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
 1036|  77.1k|    {
 1037|  77.1k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  77.1k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
  958|   140k|    {
  959|   140k|        auto offset  = count() - 1;
  960|   140k|        auto child   = node_->inner()[offset];
  961|   140k|        auto is_leaf = shift_ == BL;
  962|   140k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   140k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 79.0k, False: 61.7k]
  ------------------
  964|   140k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  61.7k|                             .visit(v, args...);
  966|   140k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
  144|  84.1k|    {
  145|  84.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  84.1k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  986|  84.1k|    {
  987|  84.1k|        assert(shift_ == BL);
  ------------------
  |  Branch (987:9): [True: 84.1k, False: 0]
  ------------------
  988|  84.1k|        auto child   = node_->inner()[0];
  989|  84.1k|        auto is_full = size_ >= branches<BL>;
  990|  84.1k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (990:16): [True: 84.1k, False: 0]
  ------------------
  991|  84.1k|                       : make_leaf_sub_pos(child, size_).visit(v, args...);
  992|  84.1k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  144|   368k|    {
  145|   368k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   368k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1036|  72.0k|    {
 1037|  72.0k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  72.0k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  958|   666k|    {
  959|   666k|        auto offset  = count() - 1;
  960|   666k|        auto child   = node_->inner()[offset];
  961|   666k|        auto is_leaf = shift_ == BL;
  962|   666k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   666k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 296k, False: 370k]
  ------------------
  964|   666k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|   370k|                             .visit(v, args...);
  966|   666k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  144|   368k|    {
  145|   368k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   368k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1774|   368k|    {
 1775|   368k|        assert(shift_ == BL);
  ------------------
  |  Branch (1775:9): [True: 368k, False: 0]
  ------------------
 1776|   368k|        auto child      = node_->inner()[0];
 1777|   368k|        auto child_size = relaxed_->d.sizes[0];
 1778|   368k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1779|   368k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
 1036|   790k|    {
 1037|   790k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   790k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
 1617|  4.65M|    {
 1618|  4.65M|        each_left(v, relaxed_->d.count - 1, args...);
 1619|  4.65M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jDpOT0_:
 1623|  4.65M|    {
 1624|  4.65M|        auto p = node_->inner();
 1625|  4.65M|        auto s = size_t{};
 1626|  4.65M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 78.0k, False: 4.57M]
  ------------------
 1627|   222k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 144k, False: 78.0k]
  ------------------
 1628|   144k|                IMMER_PREFETCH(p + i + 1);
 1629|   144k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|   144k|                    .visit(v, args...);
 1631|   144k|                s = relaxed_->d.sizes[i];
 1632|   144k|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 144k, False: 0]
  ------------------
 1633|   144k|            }
 1634|  4.57M|        } else {
 1635|  4.57M|            auto ss = shift_ - B;
 1636|  11.7M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 7.14M, False: 4.57M]
  ------------------
 1637|  7.14M|                visit_maybe_relaxed_sub(
 1638|  7.14M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  7.14M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 7.14M, False: 0]
  ------------------
 1641|  7.14M|            }
 1642|  4.57M|        }
 1643|  4.65M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
 1617|  4.65M|    {
 1618|  4.65M|        each_left(v, relaxed_->d.count - 1, args...);
 1619|  4.65M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jDpOT0_:
 1623|  4.65M|    {
 1624|  4.65M|        auto p = node_->inner();
 1625|  4.65M|        auto s = size_t{};
 1626|  4.65M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 78.0k, False: 4.57M]
  ------------------
 1627|   222k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 144k, False: 78.0k]
  ------------------
 1628|   144k|                IMMER_PREFETCH(p + i + 1);
 1629|   144k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|   144k|                    .visit(v, args...);
 1631|   144k|                s = relaxed_->d.sizes[i];
 1632|   144k|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 144k, False: 0]
  ------------------
 1633|   144k|            }
 1634|  4.57M|        } else {
 1635|  4.57M|            auto ss = shift_ - B;
 1636|  11.7M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 7.14M, False: 4.57M]
  ------------------
 1637|  7.14M|                visit_maybe_relaxed_sub(
 1638|  7.14M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  7.14M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 7.14M, False: 0]
  ------------------
 1641|  7.14M|            }
 1642|  4.57M|        }
 1643|  4.65M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1762|  1.82M|    {
 1763|  1.82M|        auto child      = node_->inner()[0];
 1764|  1.82M|        auto child_size = relaxed_->d.sizes[0];
 1765|  1.82M|        auto is_leaf    = shift_ == BL;
 1766|  1.82M|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 1.82M, False: 0]
  ------------------
 1767|  1.82M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 1.82M]
  ------------------
 1768|  1.82M|                       : visit_maybe_relaxed_sub(
 1769|  1.82M|                             child, shift_ - B, child_size, v, args...);
 1770|  1.82M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  1.82M|{
 1839|  1.82M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.82M, False: 0]
  ------------------
 1840|  1.82M|    auto relaxed = node->relaxed();
 1841|  1.82M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.82M, False: 2.20k]
  ------------------
 1842|  1.82M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.82M, False: 0]
  ------------------
 1843|  1.82M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.82M|            .visit(v, std::forward<Args>(args)...);
 1845|  1.82M|    } else {
 1846|  2.20k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.20k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.20k|    }
 1849|  1.82M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1813|  1.82M|    {
 1814|  1.82M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.82M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  2.20k|    {
 1037|  2.20k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.20k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
 1750|  60.3k|    {
 1751|  60.3k|        auto offset     = relaxed_->d.count - 1;
 1752|  60.3k|        auto child      = node_->inner()[offset];
 1753|  60.3k|        auto child_size = size(offset);
 1754|  60.3k|        auto is_leaf    = shift_ == BL;
 1755|  60.3k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 0, False: 60.3k]
  ------------------
 1756|  60.3k|                       : visit_maybe_relaxed_sub(
 1757|  60.3k|                             child, shift_ - B, child_size, v, args...);
 1758|  60.3k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  60.3k|{
 1839|  60.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 60.3k, False: 0]
  ------------------
 1840|  60.3k|    auto relaxed = node->relaxed();
 1841|  60.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 59.9k, False: 413]
  ------------------
 1842|  59.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 59.9k, False: 0]
  ------------------
 1843|  59.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  59.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  59.9k|    } else {
 1846|    413|        return make_regular_sub_pos(node, shift, size)
 1847|    413|            .visit(v, std::forward<Args>(args)...);
 1848|    413|    }
 1849|  60.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
 1813|  59.9k|    {
 1814|  59.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  59.9k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  970|  2.24k|    {
  971|  2.24k|        auto is_leaf = shift_ == BL;
  972|  2.24k|        auto child   = node_->inner()[0];
  973|  2.24k|        auto is_full = size_ >= (size_t{1} << shift_);
  974|  2.24k|        return is_full
  ------------------
  |  Branch (974:16): [True: 2.24k, False: 0]
  ------------------
  975|  2.24k|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 2.24k]
  ------------------
  976|  2.24k|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|  2.24k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|  2.24k|                   : (is_leaf
  ------------------
  |  Branch (978:23): [True: 0, False: 0]
  ------------------
  979|      0|                          ? make_leaf_sub_pos(child, size_).visit(v, args...)
  980|      0|                          : make_regular_sub_pos(child, shift_ - B, size_)
  981|      0|                                .visit(v, args...));
  982|  2.24k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1405|  2.93k|    {
 1406|  2.93k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.93k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1361|    690|    {
 1362|    690|        auto is_leaf = shift_ == BL;
 1363|    690|        auto child   = node_->inner()[0];
 1364|    690|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 690]
  ------------------
 1365|    690|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|    690|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
 1750|  2.67k|    {
 1751|  2.67k|        auto offset     = relaxed_->d.count - 1;
 1752|  2.67k|        auto child      = node_->inner()[offset];
 1753|  2.67k|        auto child_size = size(offset);
 1754|  2.67k|        auto is_leaf    = shift_ == BL;
 1755|  2.67k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 1.04k, False: 1.62k]
  ------------------
 1756|  2.67k|                       : visit_maybe_relaxed_sub(
 1757|  1.62k|                             child, shift_ - B, child_size, v, args...);
 1758|  2.67k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  1.62k|{
 1839|  1.62k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.62k, False: 0]
  ------------------
 1840|  1.62k|    auto relaxed = node->relaxed();
 1841|  1.62k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 429, False: 1.19k]
  ------------------
 1842|    429|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 429, False: 0]
  ------------------
 1843|    429|        return make_relaxed_pos(node, shift, relaxed)
 1844|    429|            .visit(v, std::forward<Args>(args)...);
 1845|  1.19k|    } else {
 1846|  1.19k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.19k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.19k|    }
 1849|  1.62k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
 1813|    429|    {
 1814|    429|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    429|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
 1750|  16.8k|    {
 1751|  16.8k|        auto offset     = relaxed_->d.count - 1;
 1752|  16.8k|        auto child      = node_->inner()[offset];
 1753|  16.8k|        auto child_size = size(offset);
 1754|  16.8k|        auto is_leaf    = shift_ == BL;
 1755|  16.8k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 5.07k, False: 11.7k]
  ------------------
 1756|  16.8k|                       : visit_maybe_relaxed_sub(
 1757|  11.7k|                             child, shift_ - B, child_size, v, args...);
 1758|  16.8k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  11.7k|{
 1839|  11.7k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 11.7k, False: 0]
  ------------------
 1840|  11.7k|    auto relaxed = node->relaxed();
 1841|  11.7k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.52k, False: 10.2k]
  ------------------
 1842|  1.52k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.52k, False: 0]
  ------------------
 1843|  1.52k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.52k|            .visit(v, std::forward<Args>(args)...);
 1845|  10.2k|    } else {
 1846|  10.2k|        return make_regular_sub_pos(node, shift, size)
 1847|  10.2k|            .visit(v, std::forward<Args>(args)...);
 1848|  10.2k|    }
 1849|  11.7k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
 1813|  1.52k|    {
 1814|  1.52k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.52k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1750|  2.23M|    {
 1751|  2.23M|        auto offset     = relaxed_->d.count - 1;
 1752|  2.23M|        auto child      = node_->inner()[offset];
 1753|  2.23M|        auto child_size = size(offset);
 1754|  2.23M|        auto is_leaf    = shift_ == BL;
 1755|  2.23M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 71.9k, False: 2.16M]
  ------------------
 1756|  2.23M|                       : visit_maybe_relaxed_sub(
 1757|  2.16M|                             child, shift_ - B, child_size, v, args...);
 1758|  2.23M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  2.16M|{
 1839|  2.16M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.16M, False: 0]
  ------------------
 1840|  2.16M|    auto relaxed = node->relaxed();
 1841|  2.16M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.74M, False: 419k]
  ------------------
 1842|  1.74M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.74M, False: 0]
  ------------------
 1843|  1.74M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.74M|            .visit(v, std::forward<Args>(args)...);
 1845|  1.74M|    } else {
 1846|   419k|        return make_regular_sub_pos(node, shift, size)
 1847|   419k|            .visit(v, std::forward<Args>(args)...);
 1848|   419k|    }
 1849|  2.16M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1813|  1.74M|    {
 1814|  1.74M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.74M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  15.7k|    {
 1037|  15.7k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  15.7k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_25concat_trees_left_visitorISC_EEJNS1_8leaf_posISC_EERPSC_RjRmEEEDcT_DpOT0_:
 1036|  14.8k|    {
 1037|  14.8k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  14.8k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_26concat_trees_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  14.8k|{
 1839|  14.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 14.8k, False: 0]
  ------------------
 1840|  14.8k|    auto relaxed = node->relaxed();
 1841|  14.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 6.61k, False: 8.27k]
  ------------------
 1842|  6.61k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 6.61k, False: 0]
  ------------------
 1843|  6.61k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  6.61k|            .visit(v, std::forward<Args>(args)...);
 1845|  8.27k|    } else {
 1846|  8.27k|        return make_regular_sub_pos(node, shift, size)
 1847|  8.27k|            .visit(v, std::forward<Args>(args)...);
 1848|  8.27k|    }
 1849|  14.8k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1813|  6.61k|    {
 1814|  6.61k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  6.61k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  8.27k|    {
 1037|  8.27k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  8.27k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_DpOT0_:
 1813|  63.0k|    {
 1814|  63.0k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  63.0k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11last_oh_cshINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_jmDpOT0_:
 1737|  57.6k|    {
 1738|  57.6k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 57.6k, False: 0]
  ------------------
 1739|  57.6k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 57.6k, False: 0]
  ------------------
 1740|  57.6k|        auto child   = node_->inner()[offset_hint];
 1741|  57.6k|        auto is_leaf = shift_ == BL;
 1742|  57.6k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 57.6k]
  ------------------
 1743|  57.6k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|  57.6k|                   : visit_maybe_relaxed_sub(
 1745|  57.6k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|  57.6k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcPT_jmT0_DpOT1_:
 1838|  57.6k|{
 1839|  57.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 57.6k, False: 0]
  ------------------
 1840|  57.6k|    auto relaxed = node->relaxed();
 1841|  57.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 9.46k, False: 48.1k]
  ------------------
 1842|  9.46k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 9.46k, False: 0]
  ------------------
 1843|  9.46k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  9.46k|            .visit(v, std::forward<Args>(args)...);
 1845|  48.1k|    } else {
 1846|  48.1k|        return make_regular_sub_pos(node, shift, size)
 1847|  48.1k|            .visit(v, std::forward<Args>(args)...);
 1848|  48.1k|    }
 1849|  57.6k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_DpOT0_:
 1036|  48.1k|    {
 1037|  48.1k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  48.1k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  952|   208k|    {
  953|   208k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|   208k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21push_tail_mut_visitorISD_Lb1EEEJRNSB_5applyIS8_E4type4editERPSD_EEEDcOT_T0_jDpOT1_:
  677|   208k|{
  678|   208k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 208k, False: 0]
  ------------------
  679|   208k|    constexpr auto B  = bits<Pos>;
  680|   208k|    constexpr auto BL = bits_leaf<Pos>;
  681|   208k|    auto child        = p.node()->inner()[offset_hint];
  682|   208k|    auto is_leaf      = p.shift() == BL;
  683|   208k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 208k]
  ------------------
  684|   208k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   208k|                         .visit(v, args...);
  686|   208k|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_DpOT0_:
  336|   970k|    {
  337|   970k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|   970k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  330|   761k|    {
  331|   761k|        return last_oh_regular(*this, v, offset_hint, args...);
  332|   761k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21push_tail_mut_visitorISD_Lb1EEEJRNSB_5applyIS8_E4type4editERPSD_EEEDcOT_T0_jDpOT1_:
  677|   761k|{
  678|   761k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 761k, False: 0]
  ------------------
  679|   761k|    constexpr auto B  = bits<Pos>;
  680|   761k|    constexpr auto BL = bits_leaf<Pos>;
  681|   761k|    auto child        = p.node()->inner()[offset_hint];
  682|   761k|    auto is_leaf      = p.shift() == BL;
  683|   761k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 761k]
  ------------------
  684|   761k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   761k|                         .visit(v, args...);
  686|   761k|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  330|  1.62k|    {
  331|  1.62k|        return last_oh_regular(*this, v, offset_hint, args...);
  332|  1.62k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21push_tail_mut_visitorISD_Lb0EEEJRNSB_5applyIS8_E4type4editERPSD_EEEDcOT_T0_jDpOT1_:
  677|  1.62k|{
  678|  1.62k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.62k, False: 0]
  ------------------
  679|  1.62k|    constexpr auto B  = bits<Pos>;
  680|  1.62k|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.62k|    auto child        = p.node()->inner()[offset_hint];
  682|  1.62k|    auto is_leaf      = p.shift() == BL;
  683|  1.62k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.62k]
  ------------------
  684|  1.62k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.62k|                         .visit(v, args...);
  686|  1.62k|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_DpOT0_:
  336|  3.10k|    {
  337|  3.10k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.10k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  952|  1.47k|    {
  953|  1.47k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|  1.47k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21push_tail_mut_visitorISD_Lb0EEEJRNSB_5applyIS8_E4type4editERPSD_EEEDcOT_T0_jDpOT1_:
  677|  1.47k|{
  678|  1.47k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.47k, False: 0]
  ------------------
  679|  1.47k|    constexpr auto B  = bits<Pos>;
  680|  1.47k|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.47k|    auto child        = p.node()->inner()[offset_hint];
  682|  1.47k|    auto is_leaf      = p.shift() == BL;
  683|  1.47k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.47k]
  ------------------
  684|  1.47k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.47k|                         .visit(v, args...);
  686|  1.47k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11last_oh_cshINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_jmDpOT0_:
 1737|  8.40k|    {
 1738|  8.40k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 8.40k, False: 0]
  ------------------
 1739|  8.40k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 8.40k, False: 0]
  ------------------
 1740|  8.40k|        auto child   = node_->inner()[offset_hint];
 1741|  8.40k|        auto is_leaf = shift_ == BL;
 1742|  8.40k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 8.40k]
  ------------------
 1743|  8.40k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|  8.40k|                   : visit_maybe_relaxed_sub(
 1745|  8.40k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|  8.40k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcPT_jmT0_DpOT1_:
 1838|  8.40k|{
 1839|  8.40k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 8.40k, False: 0]
  ------------------
 1840|  8.40k|    auto relaxed = node->relaxed();
 1841|  8.40k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 7.29k, False: 1.11k]
  ------------------
 1842|  7.29k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 7.29k, False: 0]
  ------------------
 1843|  7.29k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  7.29k|            .visit(v, std::forward<Args>(args)...);
 1845|  7.29k|    } else {
 1846|  1.11k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.11k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.11k|    }
 1849|  8.40k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_DpOT0_:
 1813|  7.29k|    {
 1814|  7.29k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  7.29k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_DpOT0_:
 1036|  1.11k|    {
 1037|  1.11k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.11k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_DpOT0_:
 1036|   166k|    {
 1037|   166k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   166k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editEPPSC_EEEDcPT_jmT0_DpOT1_:
 1838|  44.3k|{
 1839|  44.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 44.3k, False: 0]
  ------------------
 1840|  44.3k|    auto relaxed = node->relaxed();
 1841|  44.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 40.2k, False: 4.14k]
  ------------------
 1842|  40.2k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 40.2k, False: 0]
  ------------------
 1843|  40.2k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  40.2k|            .visit(v, std::forward<Args>(args)...);
 1845|  40.2k|    } else {
 1846|  4.14k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.14k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.14k|    }
 1849|  44.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_DpOT0_:
 1813|  40.2k|    {
 1814|  40.2k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  40.2k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_mjDpOT0_:
 1686|  96.9k|    {
 1687|  96.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 96.9k, False: 0]
  ------------------
 1688|  96.9k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 38.3k, False: 58.6k]
  ------------------
 1689|  96.9k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  96.9k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_mjmDpOT0_:
 1698|  96.9k|    {
 1699|  96.9k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  96.9k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_mjmDpOT0_:
 1717|  96.9k|    {
 1718|  96.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 96.9k, False: 0]
  ------------------
 1719|  96.9k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 38.3k, False: 58.6k]
  |  Branch (1719:9): [True: 96.9k, False: 0]
  ------------------
 1720|  96.9k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  96.9k|        auto child     = node_->inner()[offset_hint];
 1722|  96.9k|        auto is_leaf   = shift_ == BL;
 1723|  96.9k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  96.9k|        auto next_idx  = idx - left_size_hint;
 1725|  96.9k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 36.6k, False: 60.3k]
  ------------------
 1726|  96.9k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  36.6k|                         .visit(v, next_idx, args...)
 1728|  96.9k|                   : visit_maybe_relaxed_sub(
 1729|  60.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  96.9k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
  144|  36.6k|    {
  145|  36.6k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  36.6k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcPT_jmT0_DpOT1_:
 1838|  60.3k|{
 1839|  60.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 60.3k, False: 0]
  ------------------
 1840|  60.3k|    auto relaxed = node->relaxed();
 1841|  60.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 56.7k, False: 3.62k]
  ------------------
 1842|  56.7k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 56.7k, False: 0]
  ------------------
 1843|  56.7k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  56.7k|            .visit(v, std::forward<Args>(args)...);
 1845|  56.7k|    } else {
 1846|  3.62k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.62k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.62k|    }
 1849|  60.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
 1813|  56.7k|    {
 1814|  56.7k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  56.7k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
 1036|  3.62k|    {
 1037|  3.62k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.62k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_mjjDpOT0_:
  938|  7.77k|    {
  939|  7.77k|        return towards_oh_ch_regular(
  940|  7.77k|            *this, v, idx, offset_hint, count(), args...);
  941|  7.77k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_15get_mut_visitorISD_EEJRNSB_5applyIS8_E4type4editERPPSD_EEEDcOT_T0_mjjDpOT1_:
  632|  7.77k|{
  633|  7.77k|    constexpr auto B  = bits<Pos>;
  634|  7.77k|    constexpr auto BL = bits_leaf<Pos>;
  635|  7.77k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 7.77k, False: 0]
  ------------------
  636|  7.77k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 7.77k, False: 0]
  ------------------
  637|  7.77k|    auto is_leaf = p.shift() == BL;
  638|  7.77k|    auto child   = p.node()->inner()[offset_hint];
  639|  7.77k|    auto is_full = offset_hint + 1 != count_hint;
  640|  7.77k|    return is_full
  ------------------
  |  Branch (640:12): [True: 5.84k, False: 1.92k]
  ------------------
  641|  7.77k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.68k, False: 4.16k]
  ------------------
  642|  5.84k|                          : make_full_pos(child, p.shift() - B)
  643|  4.16k|                                .visit(v, idx, args...))
  644|  7.77k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 588, False: 1.34k]
  ------------------
  645|  1.92k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.92k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.34k|                            .visit(v, idx, args...));
  648|  7.77k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
  207|  6.60k|    {
  208|  6.60k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  6.60k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
 1405|  5.48k|    {
 1406|  5.48k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  5.48k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_mjjDpOT0_:
 1329|  5.48k|    {
 1330|  5.48k|        return towards_oh(v, idx, offset_hint, args...);
 1331|  5.48k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_mjDpOT0_:
 1336|  5.48k|    {
 1337|  5.48k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 5.48k, False: 0]
  ------------------
 1338|  5.48k|        auto is_leaf = shift_ == BL;
 1339|  5.48k|        auto child   = node_->inner()[offset_hint];
 1340|  5.48k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 4.43k, False: 1.04k]
  ------------------
 1341|  5.48k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  5.48k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  5.48k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
  112|  1.17k|    {
  113|  1.17k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  1.17k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
  336|  1.89k|    {
  337|  1.89k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  1.89k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_mjjDpOT0_:
  316|  1.89k|    {
  317|  1.89k|        return towards_oh_ch_regular(
  318|  1.89k|            *this, v, idx, offset_hint, count(), args...);
  319|  1.89k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_15get_mut_visitorISD_EEJRNSB_5applyIS8_E4type4editERPPSD_EEEDcOT_T0_mjjDpOT1_:
  632|  1.89k|{
  633|  1.89k|    constexpr auto B  = bits<Pos>;
  634|  1.89k|    constexpr auto BL = bits_leaf<Pos>;
  635|  1.89k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 1.89k, False: 0]
  ------------------
  636|  1.89k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 1.89k, False: 0]
  ------------------
  637|  1.89k|    auto is_leaf = p.shift() == BL;
  638|  1.89k|    auto child   = p.node()->inner()[offset_hint];
  639|  1.89k|    auto is_full = offset_hint + 1 != count_hint;
  640|  1.89k|    return is_full
  ------------------
  |  Branch (640:12): [True: 758, False: 1.13k]
  ------------------
  641|  1.89k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 483, False: 275]
  ------------------
  642|    758|                          : make_full_pos(child, p.shift() - B)
  643|    275|                                .visit(v, idx, args...))
  644|  1.89k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 582, False: 554]
  ------------------
  645|  1.13k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.13k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    554|                            .visit(v, idx, args...));
  648|  1.89k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_DpOT0_:
 1036|  4.14k|    {
 1037|  4.14k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.14k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  62.1k|{
 1839|  62.1k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 62.1k, False: 0]
  ------------------
 1840|  62.1k|    auto relaxed = node->relaxed();
 1841|  62.1k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 49.5k, False: 12.6k]
  ------------------
 1842|  49.5k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 49.5k, False: 0]
  ------------------
 1843|  49.5k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  49.5k|            .visit(v, std::forward<Args>(args)...);
 1845|  49.5k|    } else {
 1846|  12.6k|        return make_regular_sub_pos(node, shift, size)
 1847|  12.6k|            .visit(v, std::forward<Args>(args)...);
 1848|  12.6k|    }
 1849|  62.1k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  49.5k|    {
 1814|  49.5k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  49.5k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1686|  27.2k|    {
 1687|  27.2k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 27.2k, False: 0]
  ------------------
 1688|  27.2k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 27.2k]
  ------------------
 1689|  27.2k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  27.2k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1698|  27.2k|    {
 1699|  27.2k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  27.2k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  27.2k|    {
 1718|  27.2k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 27.2k, False: 0]
  ------------------
 1719|  27.2k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 27.2k]
  |  Branch (1719:9): [True: 27.2k, False: 0]
  ------------------
 1720|  27.2k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  27.2k|        auto child     = node_->inner()[offset_hint];
 1722|  27.2k|        auto is_leaf   = shift_ == BL;
 1723|  27.2k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  27.2k|        auto next_idx  = idx - left_size_hint;
 1725|  27.2k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 1.06k, False: 26.2k]
  ------------------
 1726|  27.2k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  1.06k|                         .visit(v, next_idx, args...)
 1728|  27.2k|                   : visit_maybe_relaxed_sub(
 1729|  26.2k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  27.2k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  1.06k|    {
  145|  1.06k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.06k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1686|  18.6k|    {
 1687|  18.6k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 18.6k, False: 0]
  ------------------
 1688|  18.6k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 18.6k]
  ------------------
 1689|  18.6k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  18.6k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1698|  18.6k|    {
 1699|  18.6k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  18.6k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  18.6k|    {
 1718|  18.6k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 18.6k, False: 0]
  ------------------
 1719|  18.6k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 18.6k]
  |  Branch (1719:9): [True: 18.6k, False: 0]
  ------------------
 1720|  18.6k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  18.6k|        auto child     = node_->inner()[offset_hint];
 1722|  18.6k|        auto is_leaf   = shift_ == BL;
 1723|  18.6k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  18.6k|        auto next_idx  = idx - left_size_hint;
 1725|  18.6k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 777, False: 17.8k]
  ------------------
 1726|  18.6k|                   ? make_leaf_sub_pos(child, next_size)
 1727|    777|                         .visit(v, next_idx, args...)
 1728|  18.6k|                   : visit_maybe_relaxed_sub(
 1729|  17.8k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  18.6k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|    777|    {
  145|    777|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    777|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  17.8k|{
 1839|  17.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 17.8k, False: 0]
  ------------------
 1840|  17.8k|    auto relaxed = node->relaxed();
 1841|  17.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 16.4k, False: 1.46k]
  ------------------
 1842|  16.4k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 16.4k, False: 0]
  ------------------
 1843|  16.4k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  16.4k|            .visit(v, std::forward<Args>(args)...);
 1845|  16.4k|    } else {
 1846|  1.46k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.46k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.46k|    }
 1849|  17.8k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  16.4k|    {
 1814|  16.4k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  16.4k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.46k|    {
 1037|  1.46k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.46k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  927|  2.57k|    {
  928|  2.57k|        return towards_oh_ch_regular(
  929|  2.57k|            *this, v, idx, offset_hint, count(), args...);
  930|  2.57k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb1ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  2.57k|{
  633|  2.57k|    constexpr auto B  = bits<Pos>;
  634|  2.57k|    constexpr auto BL = bits_leaf<Pos>;
  635|  2.57k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 2.57k, False: 0]
  ------------------
  636|  2.57k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 2.57k, False: 0]
  ------------------
  637|  2.57k|    auto is_leaf = p.shift() == BL;
  638|  2.57k|    auto child   = p.node()->inner()[offset_hint];
  639|  2.57k|    auto is_full = offset_hint + 1 != count_hint;
  640|  2.57k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.14k, False: 427]
  ------------------
  641|  2.57k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 723, False: 1.42k]
  ------------------
  642|  2.14k|                          : make_full_pos(child, p.shift() - B)
  643|  1.42k|                                .visit(v, idx, args...))
  644|  2.57k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 427, False: 0]
  ------------------
  645|    427|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    427|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  2.57k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  1.49k|    {
  208|  1.49k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.49k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  1.93k|    {
 1406|  1.93k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.93k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1336|  1.29k|    {
 1337|  1.29k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.29k, False: 0]
  ------------------
 1338|  1.29k|        auto is_leaf = shift_ == BL;
 1339|  1.29k|        auto child   = node_->inner()[offset_hint];
 1340|  1.29k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 775, False: 515]
  ------------------
 1341|  1.29k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.29k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.29k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1336|  3.59k|    {
 1337|  3.59k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 3.59k, False: 0]
  ------------------
 1338|  3.59k|        auto is_leaf = shift_ == BL;
 1339|  3.59k|        auto child   = node_->inner()[offset_hint];
 1340|  3.59k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 2.11k, False: 1.48k]
  ------------------
 1341|  3.59k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  3.59k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  3.59k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  5.93k|    {
  208|  5.93k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.93k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  4.82k|    {
 1406|  4.82k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  4.82k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1405|  3.40k|    {
 1406|  3.40k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.40k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1336|  8.40k|    {
 1337|  8.40k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 8.40k, False: 0]
  ------------------
 1338|  8.40k|        auto is_leaf = shift_ == BL;
 1339|  8.40k|        auto child   = node_->inner()[offset_hint];
 1340|  8.40k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 6.88k, False: 1.52k]
  ------------------
 1341|  8.40k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  8.40k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  8.40k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  10.1k|    {
  208|  10.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  10.1k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  3.44k|    {
 1406|  3.44k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.44k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1310|  4.46k|    {
 1311|  4.46k|        each_i(v, start, branches<B>, args...);
 1312|  4.46k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6each_iINS1_11dec_visitorEJEEEvT_jjDpOT0_:
 1263|  6.87k|    {
 1264|  6.87k|        auto p = node_->inner() + i;
 1265|  6.87k|        auto e = node_->inner() + n;
 1266|  6.87k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 3.83k, False: 3.03k]
  ------------------
 1267|  11.3k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 7.51k, False: 3.83k]
  ------------------
 1268|  7.51k|                IMMER_PREFETCH(p + 1);
 1269|  7.51k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|  7.51k|            }
 1271|  3.83k|        } else {
 1272|  3.03k|            auto ss = shift_ - B;
 1273|  9.06k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 6.03k, False: 3.03k]
  ------------------
 1274|  6.03k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  3.03k|        }
 1276|  6.87k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  112|    427|    {
  113|    427|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    427|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  305|  5.65k|    {
  306|  5.65k|        return towards_oh_ch_regular(
  307|  5.65k|            *this, v, idx, offset_hint, count(), args...);
  308|  5.65k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb0ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  5.65k|{
  633|  5.65k|    constexpr auto B  = bits<Pos>;
  634|  5.65k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.65k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.65k, False: 0]
  ------------------
  636|  5.65k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.65k, False: 0]
  ------------------
  637|  5.65k|    auto is_leaf = p.shift() == BL;
  638|  5.65k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.65k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.65k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.79k, False: 2.85k]
  ------------------
  641|  5.65k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.66k, False: 1.13k]
  ------------------
  642|  2.79k|                          : make_full_pos(child, p.shift() - B)
  643|  1.13k|                                .visit(v, idx, args...))
  644|  5.65k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.25k, False: 1.60k]
  ------------------
  645|  2.85k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.85k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.60k|                            .visit(v, idx, args...));
  648|  5.65k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  112|  2.40k|    {
  113|  2.40k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.40k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  336|  6.28k|    {
  337|  6.28k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  6.28k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
  336|  4.04k|    {
  337|  4.04k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  4.04k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  305|  3.80k|    {
  306|  3.80k|        return towards_oh_ch_regular(
  307|  3.80k|            *this, v, idx, offset_hint, count(), args...);
  308|  3.80k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb0ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  3.80k|{
  633|  3.80k|    constexpr auto B  = bits<Pos>;
  634|  3.80k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.80k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.80k, False: 0]
  ------------------
  636|  3.80k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.80k, False: 0]
  ------------------
  637|  3.80k|    auto is_leaf = p.shift() == BL;
  638|  3.80k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.80k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.80k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.09k, False: 2.70k]
  ------------------
  641|  3.80k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 662, False: 432]
  ------------------
  642|  1.09k|                          : make_full_pos(child, p.shift() - B)
  643|    432|                                .visit(v, idx, args...))
  644|  3.80k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.72k, False: 980]
  ------------------
  645|  2.70k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.70k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    980|                            .visit(v, idx, args...));
  648|  3.80k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  112|  2.39k|    {
  113|  2.39k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.39k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  336|  3.17k|    {
  337|  3.17k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.17k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
  285|  5.65k|    {
  286|  5.65k|        return each_right_regular(*this, v, start, args...);
  287|  5.65k|    }
_ZN5immer6detail4rbts18each_right_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_jDpOT1_:
  597|  5.65k|{
  598|  5.65k|    constexpr auto B  = bits<Pos>;
  599|  5.65k|    constexpr auto BL = bits_leaf<Pos>;
  600|       |
  601|  5.65k|    if (p.shift() == BL) {
  ------------------
  |  Branch (601:9): [True: 2.91k, False: 2.73k]
  ------------------
  602|  2.91k|        auto n    = p.node()->inner() + start;
  603|  2.91k|        auto last = p.count() - 1;
  604|  2.91k|        auto e    = p.node()->inner() + last;
  605|  2.91k|        if (n <= e) {
  ------------------
  |  Branch (605:13): [True: 1.66k, False: 1.25k]
  ------------------
  606|  2.92k|            for (; n != e; ++n) {
  ------------------
  |  Branch (606:20): [True: 1.25k, False: 1.66k]
  ------------------
  607|  1.25k|                IMMER_PREFETCH(n + 1);
  608|  1.25k|                make_full_leaf_pos(*n).visit(v, args...);
  609|  1.25k|            }
  610|  1.66k|            make_leaf_pos(*n, p.size()).visit(v, args...);
  611|  1.66k|        }
  612|  2.91k|    } else {
  613|  2.73k|        auto n    = p.node()->inner() + start;
  614|  2.73k|        auto last = p.count() - 1;
  615|  2.73k|        auto e    = p.node()->inner() + last;
  616|  2.73k|        auto ss   = p.shift() - B;
  617|  2.73k|        if (n <= e) {
  ------------------
  |  Branch (617:13): [True: 1.13k, False: 1.60k]
  ------------------
  618|  2.34k|            for (; n != e; ++n)
  ------------------
  |  Branch (618:20): [True: 1.21k, False: 1.13k]
  ------------------
  619|  1.21k|                make_full_pos(*n, ss).visit(v, args...);
  620|  1.13k|            make_regular_pos(*n, ss, p.size()).visit(v, args...);
  621|  1.13k|        }
  622|  2.73k|    }
  623|  5.65k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  927|  10.1k|    {
  928|  10.1k|        return towards_oh_ch_regular(
  929|  10.1k|            *this, v, idx, offset_hint, count(), args...);
  930|  10.1k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb0ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  10.1k|{
  633|  10.1k|    constexpr auto B  = bits<Pos>;
  634|  10.1k|    constexpr auto BL = bits_leaf<Pos>;
  635|  10.1k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 10.1k, False: 0]
  ------------------
  636|  10.1k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 10.1k, False: 0]
  ------------------
  637|  10.1k|    auto is_leaf = p.shift() == BL;
  638|  10.1k|    auto child   = p.node()->inner()[offset_hint];
  639|  10.1k|    auto is_full = offset_hint + 1 != count_hint;
  640|  10.1k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.36k, False: 5.82k]
  ------------------
  641|  10.1k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.15k, False: 2.21k]
  ------------------
  642|  4.36k|                          : make_full_pos(child, p.shift() - B)
  643|  2.21k|                                .visit(v, idx, args...))
  644|  10.1k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.14k, False: 4.67k]
  ------------------
  645|  5.82k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  5.82k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  4.67k|                            .visit(v, idx, args...));
  648|  10.1k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  927|  6.94k|    {
  928|  6.94k|        return towards_oh_ch_regular(
  929|  6.94k|            *this, v, idx, offset_hint, count(), args...);
  930|  6.94k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb0ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  6.94k|{
  633|  6.94k|    constexpr auto B  = bits<Pos>;
  634|  6.94k|    constexpr auto BL = bits_leaf<Pos>;
  635|  6.94k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 6.94k, False: 0]
  ------------------
  636|  6.94k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 6.94k, False: 0]
  ------------------
  637|  6.94k|    auto is_leaf = p.shift() == BL;
  638|  6.94k|    auto child   = p.node()->inner()[offset_hint];
  639|  6.94k|    auto is_full = offset_hint + 1 != count_hint;
  640|  6.94k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.08k, False: 2.86k]
  ------------------
  641|  6.94k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.58k, False: 1.49k]
  ------------------
  642|  4.08k|                          : make_full_pos(child, p.shift() - B)
  643|  1.49k|                                .visit(v, idx, args...))
  644|  6.94k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 667, False: 2.19k]
  ------------------
  645|  2.86k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.86k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  2.19k|                            .visit(v, idx, args...));
  648|  6.94k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
  867|  15.6k|    {
  868|  15.6k|        return each_right_regular(*this, v, start, args...);
  869|  15.6k|    }
_ZN5immer6detail4rbts18each_right_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_jDpOT1_:
  597|  15.6k|{
  598|  15.6k|    constexpr auto B  = bits<Pos>;
  599|  15.6k|    constexpr auto BL = bits_leaf<Pos>;
  600|       |
  601|  15.6k|    if (p.shift() == BL) {
  ------------------
  |  Branch (601:9): [True: 5.20k, False: 10.4k]
  ------------------
  602|  5.20k|        auto n    = p.node()->inner() + start;
  603|  5.20k|        auto last = p.count() - 1;
  604|  5.20k|        auto e    = p.node()->inner() + last;
  605|  5.20k|        if (n <= e) {
  ------------------
  |  Branch (605:13): [True: 3.40k, False: 1.80k]
  ------------------
  606|  6.09k|            for (; n != e; ++n) {
  ------------------
  |  Branch (606:20): [True: 2.69k, False: 3.40k]
  ------------------
  607|  2.69k|                IMMER_PREFETCH(n + 1);
  608|  2.69k|                make_full_leaf_pos(*n).visit(v, args...);
  609|  2.69k|            }
  610|  3.40k|            make_leaf_pos(*n, p.size()).visit(v, args...);
  611|  3.40k|        }
  612|  10.4k|    } else {
  613|  10.4k|        auto n    = p.node()->inner() + start;
  614|  10.4k|        auto last = p.count() - 1;
  615|  10.4k|        auto e    = p.node()->inner() + last;
  616|  10.4k|        auto ss   = p.shift() - B;
  617|  10.4k|        if (n <= e) {
  ------------------
  |  Branch (617:13): [True: 5.73k, False: 4.67k]
  ------------------
  618|  8.80k|            for (; n != e; ++n)
  ------------------
  |  Branch (618:20): [True: 3.07k, False: 5.73k]
  ------------------
  619|  3.07k|                make_full_pos(*n, ss).visit(v, args...);
  620|  5.73k|            make_regular_pos(*n, ss, p.size()).visit(v, args...);
  621|  5.73k|        }
  622|  10.4k|    }
  623|  15.6k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1813|  36.8k|    {
 1814|  36.8k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  36.8k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1686|  23.3k|    {
 1687|  23.3k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 23.3k, False: 0]
  ------------------
 1688|  23.3k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 18.4k, False: 4.86k]
  ------------------
 1689|  23.3k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  23.3k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1698|  23.3k|    {
 1699|  23.3k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  23.3k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  23.3k|    {
 1718|  23.3k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 23.3k, False: 0]
  ------------------
 1719|  23.3k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 18.4k, False: 4.86k]
  |  Branch (1719:9): [True: 23.3k, False: 0]
  ------------------
 1720|  23.3k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  23.3k|        auto child     = node_->inner()[offset_hint];
 1722|  23.3k|        auto is_leaf   = shift_ == BL;
 1723|  23.3k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  23.3k|        auto next_idx  = idx - left_size_hint;
 1725|  23.3k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 3.98k, False: 19.3k]
  ------------------
 1726|  23.3k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  3.98k|                         .visit(v, next_idx, args...)
 1728|  23.3k|                   : visit_maybe_relaxed_sub(
 1729|  19.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  23.3k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  3.98k|    {
  145|  3.98k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.98k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  19.3k|{
 1839|  19.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 19.3k, False: 0]
  ------------------
 1840|  19.3k|    auto relaxed = node->relaxed();
 1841|  19.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 11.6k, False: 7.73k]
  ------------------
 1842|  11.6k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 11.6k, False: 0]
  ------------------
 1843|  11.6k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  11.6k|            .visit(v, std::forward<Args>(args)...);
 1845|  11.6k|    } else {
 1846|  7.73k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.73k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.73k|    }
 1849|  19.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  11.6k|    {
 1814|  11.6k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  11.6k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  7.73k|    {
 1037|  7.73k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.73k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1036|  10.9k|    {
 1037|  10.9k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  10.9k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1686|  15.3k|    {
 1687|  15.3k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 15.3k, False: 0]
  ------------------
 1688|  15.3k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 8.69k, False: 6.62k]
  ------------------
 1689|  15.3k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  15.3k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1698|  15.3k|    {
 1699|  15.3k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  15.3k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  15.3k|    {
 1718|  15.3k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 15.3k, False: 0]
  ------------------
 1719|  15.3k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 8.69k, False: 6.62k]
  |  Branch (1719:9): [True: 15.3k, False: 0]
  ------------------
 1720|  15.3k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  15.3k|        auto child     = node_->inner()[offset_hint];
 1722|  15.3k|        auto is_leaf   = shift_ == BL;
 1723|  15.3k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  15.3k|        auto next_idx  = idx - left_size_hint;
 1725|  15.3k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 4.99k, False: 10.3k]
  ------------------
 1726|  15.3k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  4.99k|                         .visit(v, next_idx, args...)
 1728|  15.3k|                   : visit_maybe_relaxed_sub(
 1729|  10.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  15.3k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  4.99k|    {
  145|  4.99k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  4.99k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  10.3k|{
 1839|  10.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 10.3k, False: 0]
  ------------------
 1840|  10.3k|    auto relaxed = node->relaxed();
 1841|  10.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 7.00k, False: 3.32k]
  ------------------
 1842|  7.00k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 7.00k, False: 0]
  ------------------
 1843|  7.00k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  7.00k|            .visit(v, std::forward<Args>(args)...);
 1845|  7.00k|    } else {
 1846|  3.32k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.32k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.32k|    }
 1849|  10.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  7.00k|    {
 1814|  7.00k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  7.00k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  3.32k|    {
 1037|  3.32k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.32k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1653|  50.6k|    {
 1654|  50.6k|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 50.6k, False: 0]
  ------------------
 1655|  50.6k|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 50.6k, False: 0]
  ------------------
 1656|  50.6k|        auto s = relaxed_->d.sizes[start - 1];
 1657|  50.6k|        auto p = node_->inner();
 1658|  50.6k|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 5.04k, False: 45.6k]
  ------------------
 1659|  12.9k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 7.94k, False: 5.04k]
  ------------------
 1660|  7.94k|                IMMER_PREFETCH(p + i + 1);
 1661|  7.94k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|  7.94k|                    .visit(v, args...);
 1663|  7.94k|                s = relaxed_->d.sizes[i];
 1664|  7.94k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 7.94k, False: 0]
  ------------------
 1665|  7.94k|            }
 1666|  45.6k|        } else {
 1667|  45.6k|            auto ss = shift_ - B;
 1668|   136k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 90.6k, False: 45.6k]
  ------------------
 1669|  90.6k|                visit_maybe_relaxed_sub(
 1670|  90.6k|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  90.6k|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 90.6k, False: 0]
  ------------------
 1673|  90.6k|            }
 1674|  45.6k|        }
 1675|  50.6k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  12.6k|    {
 1037|  12.6k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  12.6k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  927|  5.42k|    {
  928|  5.42k|        return towards_oh_ch_regular(
  929|  5.42k|            *this, v, idx, offset_hint, count(), args...);
  930|  5.42k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb1ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  5.42k|{
  633|  5.42k|    constexpr auto B  = bits<Pos>;
  634|  5.42k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.42k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.42k, False: 0]
  ------------------
  636|  5.42k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.42k, False: 0]
  ------------------
  637|  5.42k|    auto is_leaf = p.shift() == BL;
  638|  5.42k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.42k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.42k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.77k, False: 657]
  ------------------
  641|  5.42k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.24k, False: 3.52k]
  ------------------
  642|  4.77k|                          : make_full_pos(child, p.shift() - B)
  643|  3.52k|                                .visit(v, idx, args...))
  644|  5.42k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 657, False: 0]
  ------------------
  645|    657|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    657|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  5.42k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  1.69k|    {
  208|  1.69k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.69k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  3.94k|    {
 1406|  3.94k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.94k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1336|    865|    {
 1337|    865|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 865, False: 0]
  ------------------
 1338|    865|        auto is_leaf = shift_ == BL;
 1339|    865|        auto child   = node_->inner()[offset_hint];
 1340|    865|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 446, False: 419]
  ------------------
 1341|    865|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|    865|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|    865|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  112|    657|    {
  113|    657|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    657|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|    687|    {
  145|    687|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    687|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  45.6k|{
 1839|  45.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 45.6k, False: 0]
  ------------------
 1840|  45.6k|    auto relaxed = node->relaxed();
 1841|  45.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 37.0k, False: 8.56k]
  ------------------
 1842|  37.0k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 37.0k, False: 0]
  ------------------
 1843|  37.0k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  37.0k|            .visit(v, std::forward<Args>(args)...);
 1845|  37.0k|    } else {
 1846|  8.56k|        return make_regular_sub_pos(node, shift, size)
 1847|  8.56k|            .visit(v, std::forward<Args>(args)...);
 1848|  8.56k|    }
 1849|  45.6k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  37.0k|    {
 1814|  37.0k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  37.0k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1705|  5.83k|    {
 1706|  5.83k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 5.83k, False: 0]
  ------------------
 1707|  5.83k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 5.09k, False: 740]
  ------------------
 1708|  5.83k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  5.83k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  5.83k|    {
 1718|  5.83k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 5.83k, False: 0]
  ------------------
 1719|  5.83k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 5.09k, False: 740]
  |  Branch (1719:9): [True: 5.83k, False: 0]
  ------------------
 1720|  5.83k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  5.83k|        auto child     = node_->inner()[offset_hint];
 1722|  5.83k|        auto is_leaf   = shift_ == BL;
 1723|  5.83k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  5.83k|        auto next_idx  = idx - left_size_hint;
 1725|  5.83k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 5.83k]
  ------------------
 1726|  5.83k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  5.83k|                   : visit_maybe_relaxed_sub(
 1729|  5.83k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  5.83k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1705|  4.46k|    {
 1706|  4.46k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.46k, False: 0]
  ------------------
 1707|  4.46k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 3.82k, False: 643]
  ------------------
 1708|  4.46k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.46k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  4.46k|    {
 1718|  4.46k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.46k, False: 0]
  ------------------
 1719|  4.46k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 3.82k, False: 643]
  |  Branch (1719:9): [True: 4.46k, False: 0]
  ------------------
 1720|  4.46k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.46k|        auto child     = node_->inner()[offset_hint];
 1722|  4.46k|        auto is_leaf   = shift_ == BL;
 1723|  4.46k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.46k|        auto next_idx  = idx - left_size_hint;
 1725|  4.46k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.46k]
  ------------------
 1726|  4.46k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.46k|                   : visit_maybe_relaxed_sub(
 1729|  4.46k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.46k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  4.46k|{
 1839|  4.46k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 4.46k, False: 0]
  ------------------
 1840|  4.46k|    auto relaxed = node->relaxed();
 1841|  4.46k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.71k, False: 1.75k]
  ------------------
 1842|  2.71k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.71k, False: 0]
  ------------------
 1843|  2.71k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.71k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.71k|    } else {
 1846|  1.75k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.75k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.75k|    }
 1849|  4.46k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  2.71k|    {
 1814|  2.71k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.71k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.75k|    {
 1037|  1.75k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.75k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  2.37k|    {
  947|  2.37k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  2.37k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_22slice_left_mut_visitorISD_Lb1ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  2.37k|{
  654|  2.37k|    constexpr auto B  = bits<Pos>;
  655|  2.37k|    constexpr auto BL = bits_leaf<Pos>;
  656|  2.37k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 2.37k, False: 0]
  ------------------
  657|  2.37k|    auto is_leaf = p.shift() == BL;
  658|  2.37k|    auto child   = p.node()->inner()[offset_hint];
  659|  2.37k|    auto lsize   = offset_hint << p.shift();
  660|  2.37k|    auto size    = p.this_size();
  661|  2.37k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  2.37k|    return is_full
  ------------------
  |  Branch (662:12): [True: 1.29k, False: 1.08k]
  ------------------
  663|  2.37k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 1.29k]
  ------------------
  664|  1.29k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  1.29k|                      : make_full_pos(child, p.shift() - B)
  666|  1.29k|                            .visit(v, idx - lsize, args...))
  667|  2.37k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 1.08k]
  ------------------
  668|  1.08k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  1.08k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  1.08k|                            .visit(v, idx - lsize, args...));
  672|  2.37k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  3.28k|    {
 1406|  3.28k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.28k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|  1.99k|    {
 1349|  1.99k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 1.99k, False: 0]
  ------------------
 1350|  1.99k|        auto is_leaf = shift_ == BL;
 1351|  1.99k|        auto child   = node_->inner()[offset_hint];
 1352|  1.99k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  1.99k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 1.99k]
  ------------------
 1354|  1.99k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  1.99k|                   : make_full_pos(child, shift_ - B)
 1356|  1.99k|                         .visit(v, idx - lsize, args...);
 1357|  1.99k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1405|    311|    {
 1406|    311|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|    311|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|  2.10k|    {
 1349|  2.10k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 2.10k, False: 0]
  ------------------
 1350|  2.10k|        auto is_leaf = shift_ == BL;
 1351|  2.10k|        auto child   = node_->inner()[offset_hint];
 1352|  2.10k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  2.10k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 1.27k, False: 828]
  ------------------
 1354|  2.10k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  2.10k|                   : make_full_pos(child, shift_ - B)
 1356|    828|                         .visit(v, idx - lsize, args...);
 1357|  2.10k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  3.23k|    {
  208|  3.23k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  3.23k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  2.24k|    {
 1406|  2.24k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.24k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|  8.19k|    {
 1349|  8.19k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 8.19k, False: 0]
  ------------------
 1350|  8.19k|        auto is_leaf = shift_ == BL;
 1351|  8.19k|        auto child   = node_->inner()[offset_hint];
 1352|  8.19k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  8.19k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 6.61k, False: 1.57k]
  ------------------
 1354|  8.19k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  8.19k|                   : make_full_pos(child, shift_ - B)
 1356|  1.57k|                         .visit(v, idx - lsize, args...);
 1357|  8.19k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  10.5k|    {
  208|  10.5k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  10.5k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  3.39k|    {
 1406|  3.39k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.39k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1316|  2.41k|    {
 1317|  2.41k|        each_i(v, 0, last, args...);
 1318|  2.41k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.08k|    {
 1037|  1.08k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.08k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1036|  4.45k|    {
 1037|  4.45k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.45k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  3.37k|    {
  947|  3.37k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.37k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_22slice_left_mut_visitorISD_Lb0ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  3.37k|{
  654|  3.37k|    constexpr auto B  = bits<Pos>;
  655|  3.37k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.37k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.37k, False: 0]
  ------------------
  657|  3.37k|    auto is_leaf = p.shift() == BL;
  658|  3.37k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.37k|    auto lsize   = offset_hint << p.shift();
  660|  3.37k|    auto size    = p.this_size();
  661|  3.37k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.37k|    return is_full
  ------------------
  |  Branch (662:12): [True: 3.37k, False: 0]
  ------------------
  663|  3.37k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 1.96k, False: 1.41k]
  ------------------
  664|  3.37k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  3.37k|                      : make_full_pos(child, p.shift() - B)
  666|  1.41k|                            .visit(v, idx - lsize, args...))
  667|  3.37k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 0]
  ------------------
  668|      0|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|      0|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|      0|                            .visit(v, idx - lsize, args...));
  672|  3.37k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  5.79k|    {
  947|  5.79k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  5.79k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_22slice_left_mut_visitorISD_Lb0ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  5.79k|{
  654|  5.79k|    constexpr auto B  = bits<Pos>;
  655|  5.79k|    constexpr auto BL = bits_leaf<Pos>;
  656|  5.79k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 5.79k, False: 0]
  ------------------
  657|  5.79k|    auto is_leaf = p.shift() == BL;
  658|  5.79k|    auto child   = p.node()->inner()[offset_hint];
  659|  5.79k|    auto lsize   = offset_hint << p.shift();
  660|  5.79k|    auto size    = p.this_size();
  661|  5.79k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  5.79k|    return is_full
  ------------------
  |  Branch (662:12): [True: 5.79k, False: 0]
  ------------------
  663|  5.79k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 3.97k, False: 1.82k]
  ------------------
  664|  5.79k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  5.79k|                      : make_full_pos(child, p.shift() - B)
  666|  1.82k|                            .visit(v, idx - lsize, args...))
  667|  5.79k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 0]
  ------------------
  668|      0|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|      0|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|      0|                            .visit(v, idx - lsize, args...));
  672|  5.79k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
  873|  7.82k|    {
  874|  7.82k|        return each_left_regular(*this, v, last, args...);
  875|  7.82k|    }
_ZN5immer6detail4rbts17each_left_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_jDpOT1_:
  575|  7.82k|{
  576|  7.82k|    constexpr auto B  = bits<Pos>;
  577|  7.82k|    constexpr auto BL = bits_leaf<Pos>;
  578|  7.82k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 7.82k, False: 0]
  ------------------
  579|  7.82k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 1.96k, False: 5.86k]
  ------------------
  580|  1.96k|        auto n = p.node()->inner();
  581|  1.96k|        auto e = n + last;
  582|  4.16k|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 2.20k, False: 1.96k]
  ------------------
  583|  2.20k|            IMMER_PREFETCH(n + 1);
  584|  2.20k|            make_full_leaf_pos(*n).visit(v, args...);
  585|  2.20k|        }
  586|  5.86k|    } else {
  587|  5.86k|        auto n  = p.node()->inner();
  588|  5.86k|        auto e  = n + last;
  589|  5.86k|        auto ss = p.shift() - B;
  590|  8.03k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 2.16k, False: 5.86k]
  ------------------
  591|  2.16k|            make_full_pos(*n, ss).visit(v, args...);
  592|  5.86k|    }
  593|  7.82k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1813|  5.83k|    {
 1814|  5.83k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  5.83k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1705|   201k|    {
 1706|   201k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 201k, False: 0]
  ------------------
 1707|   201k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 8.46k, False: 193k]
  ------------------
 1708|   201k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|   201k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|   201k|    {
 1718|   201k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 201k, False: 0]
  ------------------
 1719|   201k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 8.46k, False: 193k]
  |  Branch (1719:9): [True: 201k, False: 0]
  ------------------
 1720|   201k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|   201k|        auto child     = node_->inner()[offset_hint];
 1722|   201k|        auto is_leaf   = shift_ == BL;
 1723|   201k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|   201k|        auto next_idx  = idx - left_size_hint;
 1725|   201k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 12.5k, False: 189k]
  ------------------
 1726|   201k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  12.5k|                         .visit(v, next_idx, args...)
 1728|   201k|                   : visit_maybe_relaxed_sub(
 1729|   189k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|   201k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  12.5k|    {
  145|  12.5k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  12.5k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|   189k|{
 1839|   189k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 189k, False: 0]
  ------------------
 1840|   189k|    auto relaxed = node->relaxed();
 1841|   189k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 187k, False: 1.45k]
  ------------------
 1842|   187k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 187k, False: 0]
  ------------------
 1843|   187k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   187k|            .visit(v, std::forward<Args>(args)...);
 1845|   187k|    } else {
 1846|  1.45k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.45k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.45k|    }
 1849|   189k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|   187k|    {
 1814|   187k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   187k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.45k|    {
 1037|  1.45k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.45k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1705|  67.7k|    {
 1706|  67.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 67.7k, False: 0]
  ------------------
 1707|  67.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 22.3k, False: 45.4k]
  ------------------
 1708|  67.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  67.7k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  67.7k|    {
 1718|  67.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 67.7k, False: 0]
  ------------------
 1719|  67.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 22.3k, False: 45.4k]
  |  Branch (1719:9): [True: 67.7k, False: 0]
  ------------------
 1720|  67.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  67.7k|        auto child     = node_->inner()[offset_hint];
 1722|  67.7k|        auto is_leaf   = shift_ == BL;
 1723|  67.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  67.7k|        auto next_idx  = idx - left_size_hint;
 1725|  67.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 13.4k, False: 54.3k]
  ------------------
 1726|  67.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  13.4k|                         .visit(v, next_idx, args...)
 1728|  67.7k|                   : visit_maybe_relaxed_sub(
 1729|  54.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  67.7k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  13.4k|    {
  145|  13.4k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  13.4k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  54.3k|{
 1839|  54.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 54.3k, False: 0]
  ------------------
 1840|  54.3k|    auto relaxed = node->relaxed();
 1841|  54.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 52.3k, False: 2.05k]
  ------------------
 1842|  52.3k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 52.3k, False: 0]
  ------------------
 1843|  52.3k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  52.3k|            .visit(v, std::forward<Args>(args)...);
 1845|  52.3k|    } else {
 1846|  2.05k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.05k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.05k|    }
 1849|  54.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  52.3k|    {
 1814|  52.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  52.3k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  2.05k|    {
 1037|  2.05k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.05k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  8.56k|    {
 1037|  8.56k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  8.56k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  4.45k|    {
  947|  4.45k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  4.45k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_22slice_left_mut_visitorISD_Lb1ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  4.45k|{
  654|  4.45k|    constexpr auto B  = bits<Pos>;
  655|  4.45k|    constexpr auto BL = bits_leaf<Pos>;
  656|  4.45k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 4.45k, False: 0]
  ------------------
  657|  4.45k|    auto is_leaf = p.shift() == BL;
  658|  4.45k|    auto child   = p.node()->inner()[offset_hint];
  659|  4.45k|    auto lsize   = offset_hint << p.shift();
  660|  4.45k|    auto size    = p.this_size();
  661|  4.45k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  4.45k|    return is_full
  ------------------
  |  Branch (662:12): [True: 3.36k, False: 1.09k]
  ------------------
  663|  4.45k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 3.36k]
  ------------------
  664|  3.36k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  3.36k|                      : make_full_pos(child, p.shift() - B)
  666|  3.36k|                            .visit(v, idx - lsize, args...))
  667|  4.45k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 1.09k]
  ------------------
  668|  1.09k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  1.09k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  1.09k|                            .visit(v, idx - lsize, args...));
  672|  4.45k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  3.67k|    {
 1406|  3.67k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.67k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|    311|    {
 1349|    311|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 311, False: 0]
  ------------------
 1350|    311|        auto is_leaf = shift_ == BL;
 1351|    311|        auto child   = node_->inner()[offset_hint];
 1352|    311|        auto lsize   = size_t{offset_hint} << shift_;
 1353|    311|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 311]
  ------------------
 1354|    311|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|    311|                   : make_full_pos(child, shift_ - B)
 1356|    311|                         .visit(v, idx - lsize, args...);
 1357|    311|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.09k|    {
 1037|  1.09k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.09k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor3rrbEJNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERKPSC_RKjRmEEEDcPT_jmT0_DpOT1_:
 1838|  19.0k|{
 1839|  19.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 19.0k, False: 0]
  ------------------
 1840|  19.0k|    auto relaxed = node->relaxed();
 1841|  19.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 12.3k, False: 6.71k]
  ------------------
 1842|  12.3k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 12.3k, False: 0]
  ------------------
 1843|  12.3k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  12.3k|            .visit(v, std::forward<Args>(args)...);
 1845|  12.3k|    } else {
 1846|  6.71k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.71k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.71k|    }
 1849|  19.0k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor3rrbEJNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERKPSC_RKjRmEEEDcT_DpOT0_:
 1813|  12.3k|    {
 1814|  12.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  12.3k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcPT_jmT0_DpOT1_:
 1838|  12.3k|{
 1839|  12.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 12.3k, False: 0]
  ------------------
 1840|  12.3k|    auto relaxed = node->relaxed();
 1841|  12.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 9.07k, False: 3.27k]
  ------------------
 1842|  9.07k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 9.07k, False: 0]
  ------------------
 1843|  9.07k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  9.07k|            .visit(v, std::forward<Args>(args)...);
 1845|  9.07k|    } else {
 1846|  3.27k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.27k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.27k|    }
 1849|  12.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcT_DpOT0_:
 1813|  9.07k|    {
 1814|  9.07k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  9.07k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1793|  32.4k|    {
 1794|  32.4k|        auto child      = node_->inner()[offset];
 1795|  32.4k|        auto child_size = size(offset);
 1796|  32.4k|        auto is_leaf    = shift_ == BL;
 1797|  32.4k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 8.83k, False: 23.6k]
  ------------------
 1798|  32.4k|                       : visit_maybe_relaxed_sub(
 1799|  23.6k|                             child, shift_ - B, child_size, v, args...);
 1800|  32.4k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  9.20k|    {
  145|  9.20k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  9.20k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE12nth_sub_leafINS1_14equals_visitorEJRNS1_12leaf_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1804|  9.20k|    {
 1805|  9.20k|        assert(shift_ == BL);
  ------------------
  |  Branch (1805:9): [True: 9.20k, False: 0]
  ------------------
 1806|  9.20k|        auto child      = node_->inner()[offset];
 1807|  9.20k|        auto child_size = size(offset);
 1808|  9.20k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1809|  9.20k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  9.93k|    {
  145|  9.93k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  9.93k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  23.6k|{
 1839|  23.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 23.6k, False: 0]
  ------------------
 1840|  23.6k|    auto relaxed = node->relaxed();
 1841|  23.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 21.0k, False: 2.53k]
  ------------------
 1842|  21.0k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 21.0k, False: 0]
  ------------------
 1843|  21.0k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  21.0k|            .visit(v, std::forward<Args>(args)...);
 1845|  21.0k|    } else {
 1846|  2.53k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.53k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.53k|    }
 1849|  23.6k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|  21.0k|    {
 1814|  21.0k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  21.0k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1793|  21.0k|    {
 1794|  21.0k|        auto child      = node_->inner()[offset];
 1795|  21.0k|        auto child_size = size(offset);
 1796|  21.0k|        auto is_leaf    = shift_ == BL;
 1797|  21.0k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 21.0k]
  ------------------
 1798|  21.0k|                       : visit_maybe_relaxed_sub(
 1799|  21.0k|                             child, shift_ - B, child_size, v, args...);
 1800|  21.0k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  21.0k|{
 1839|  21.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 21.0k, False: 0]
  ------------------
 1840|  21.0k|    auto relaxed = node->relaxed();
 1841|  21.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 20.0k, False: 1.01k]
  ------------------
 1842|  20.0k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 20.0k, False: 0]
  ------------------
 1843|  20.0k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  20.0k|            .visit(v, std::forward<Args>(args)...);
 1845|  20.0k|    } else {
 1846|  1.01k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.01k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.01k|    }
 1849|  21.0k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|  20.0k|    {
 1814|  20.0k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  20.0k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  1.40k|    {
 1037|  1.40k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.40k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1793|  6.76k|    {
 1794|  6.76k|        auto child      = node_->inner()[offset];
 1795|  6.76k|        auto child_size = size(offset);
 1796|  6.76k|        auto is_leaf    = shift_ == BL;
 1797|  6.76k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 3.79k, False: 2.97k]
  ------------------
 1798|  6.76k|                       : visit_maybe_relaxed_sub(
 1799|  2.97k|                             child, shift_ - B, child_size, v, args...);
 1800|  6.76k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  3.79k|    {
  145|  3.79k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.79k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE12nth_sub_leafINS1_14equals_visitorEJRNS1_12leaf_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1025|  3.79k|    {
 1026|  3.79k|        assert(shift_ == BL);
  ------------------
  |  Branch (1026:9): [True: 3.79k, False: 0]
  ------------------
 1027|  3.79k|        auto child   = node_->inner()[idx];
 1028|  3.79k|        auto lsize   = size(idx);
 1029|  3.79k|        auto is_full = idx + 1 < count();
 1030|  3.79k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1030:16): [True: 3.06k, False: 729]
  ------------------
 1031|  3.79k|                       : make_leaf_sub_pos(child, lsize).visit(v, args...);
 1032|  3.79k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_12leaf_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  207|  6.79k|    {
  208|  6.79k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  6.79k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor10this_aux_tEJRjRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  2.97k|{
 1839|  2.97k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.97k, False: 0]
  ------------------
 1840|  2.97k|    auto relaxed = node->relaxed();
 1841|  2.97k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.22k, False: 744]
  ------------------
 1842|  2.22k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.22k, False: 0]
  ------------------
 1843|  2.22k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.22k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.22k|    } else {
 1846|    744|        return make_regular_sub_pos(node, shift, size)
 1847|    744|            .visit(v, std::forward<Args>(args)...);
 1848|    744|    }
 1849|  2.97k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|  2.22k|    {
 1814|  2.22k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.22k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1007|  2.22k|    {
 1008|  2.22k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 2.22k, False: 0]
  ------------------
 1009|  2.22k|        auto is_leaf = shift_ == BL;
 1010|  2.22k|        auto child   = node_->inner()[idx];
 1011|  2.22k|        auto lsize   = size(idx);
 1012|  2.22k|        auto is_full = idx + 1 < count();
 1013|  2.22k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 1.83k, False: 393]
  ------------------
 1014|  2.22k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 0, False: 1.83k]
  ------------------
 1015|  1.83k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  1.83k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  2.22k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 0, False: 393]
  ------------------
 1018|    393|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|    393|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|    393|                                .visit(v, args...));
 1021|  2.22k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1405|  2.71k|    {
 1406|  2.71k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.71k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1793|  5.72k|    {
 1794|  5.72k|        auto child      = node_->inner()[offset];
 1795|  5.72k|        auto child_size = size(offset);
 1796|  5.72k|        auto is_leaf    = shift_ == BL;
 1797|  5.72k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 3.72k, False: 1.99k]
  ------------------
 1798|  5.72k|                       : visit_maybe_relaxed_sub(
 1799|  1.99k|                             child, shift_ - B, child_size, v, args...);
 1800|  5.72k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  3.72k|    {
  145|  3.72k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.72k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE12nth_sub_leafINS1_14equals_visitorEJRNS1_12leaf_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1396|  3.72k|    {
 1397|  3.72k|        assert(shift_ == BL);
  ------------------
  |  Branch (1397:9): [True: 3.72k, False: 0]
  ------------------
 1398|  3.72k|        assert(idx < count());
  ------------------
  |  Branch (1398:9): [True: 3.72k, False: 0]
  ------------------
 1399|  3.72k|        auto child = node_->inner()[idx];
 1400|  3.72k|        return make_full_leaf_pos(child).visit(v, args...);
 1401|  3.72k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  1.99k|{
 1839|  1.99k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.99k, False: 0]
  ------------------
 1840|  1.99k|    auto relaxed = node->relaxed();
 1841|  1.99k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 883, False: 1.11k]
  ------------------
 1842|    883|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 883, False: 0]
  ------------------
 1843|    883|        return make_relaxed_pos(node, shift, relaxed)
 1844|    883|            .visit(v, std::forward<Args>(args)...);
 1845|  1.11k|    } else {
 1846|  1.11k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.11k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.11k|    }
 1849|  1.99k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|    883|    {
 1814|    883|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    883|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1386|    883|    {
 1387|    883|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 883, False: 0]
  ------------------
 1388|    883|        auto is_leaf = shift_ == BL;
 1389|    883|        auto child   = node_->inner()[idx];
 1390|    883|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 0, False: 883]
  ------------------
 1391|    883|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|    883|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  1.11k|    {
 1037|  1.11k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.11k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1386|  1.11k|    {
 1387|  1.11k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 1.11k, False: 0]
  ------------------
 1388|  1.11k|        auto is_leaf = shift_ == BL;
 1389|  1.11k|        auto child   = node_->inner()[idx];
 1390|  1.11k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 0, False: 1.11k]
  ------------------
 1391|  1.11k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  1.11k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1405|  1.85k|    {
 1406|  1.85k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.85k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_pred_zipINS1_14equals_visitorEJEEEbT_PSC_DpOT0_:
 1222|  3.56k|    {
 1223|  3.56k|        auto p  = node_->inner();
 1224|  3.56k|        auto p2 = other->inner();
 1225|  3.56k|        auto e  = p + branches<B>;
 1226|  3.56k|        if (shift_ == BL) {
  ------------------
  |  Branch (1226:13): [True: 2.76k, False: 809]
  ------------------
 1227|  10.8k|            for (; p != e; ++p, ++p2) {
  ------------------
  |  Branch (1227:20): [True: 9.36k, False: 1.53k]
  ------------------
 1228|  9.36k|                IMMER_PREFETCH(p + 1);
 1229|  9.36k|                if (!make_full_leaf_pos(*p).visit(v, *p2, args...))
  ------------------
  |  Branch (1229:21): [True: 1.22k, False: 8.13k]
  ------------------
 1230|  1.22k|                    return false;
 1231|  9.36k|            }
 1232|  2.76k|        } else {
 1233|    809|            auto ss = shift_ - B;
 1234|  2.97k|            for (; p != e; ++p, ++p2)
  ------------------
  |  Branch (1234:20): [True: 2.63k, False: 337]
  ------------------
 1235|  2.63k|                if (!make_full_pos(*p, ss).visit(v, *p2, args...))
  ------------------
  |  Branch (1235:21): [True: 472, False: 2.16k]
  ------------------
 1236|    472|                    return false;
 1237|    809|        }
 1238|  1.87k|        return true;
 1239|  3.56k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  207|  13.7k|    {
  208|  13.7k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  13.7k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
 1405|  8.56k|    {
 1406|  8.56k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  8.56k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_pred_zipINS1_14equals_visitorEJEEEbT_PSC_DpOT0_:
  837|  5.20k|    {
  838|  5.20k|        return each_pred_zip_regular(*this, v, other, args...);
  839|  5.20k|    }
_ZN5immer6detail4rbts21each_pred_zip_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14equals_visitorEJEEEbOT_T0_PNSt3__15decayISH_E4type6node_tEDpOT1_:
  392|  5.20k|{
  393|  5.20k|    constexpr auto B  = bits<Pos>;
  394|  5.20k|    constexpr auto BL = bits_leaf<Pos>;
  395|       |
  396|  5.20k|    auto n    = p.node()->inner();
  397|  5.20k|    auto n2   = other->inner();
  398|  5.20k|    auto last = p.count() - 1;
  399|  5.20k|    auto e    = n + last;
  400|  5.20k|    if (p.shift() == BL) {
  ------------------
  |  Branch (400:9): [True: 1.57k, False: 3.62k]
  ------------------
  401|  3.82k|        for (; n != e; ++n, ++n2) {
  ------------------
  |  Branch (401:16): [True: 2.62k, False: 1.20k]
  ------------------
  402|  2.62k|            IMMER_PREFETCH(n + 1);
  403|  2.62k|            IMMER_PREFETCH(n2 + 1);
  404|  2.62k|            if (!make_full_leaf_pos(*n).visit(v, *n2, args...))
  ------------------
  |  Branch (404:17): [True: 370, False: 2.25k]
  ------------------
  405|    370|                return false;
  406|  2.62k|        }
  407|  1.20k|        return make_leaf_pos(*n, p.size()).visit(v, *n2, args...);
  408|  3.62k|    } else {
  409|  3.62k|        auto ss = p.shift() - B;
  410|  7.13k|        for (; n != e; ++n, ++n2)
  ------------------
  |  Branch (410:16): [True: 4.29k, False: 2.84k]
  ------------------
  411|  4.29k|            if (!make_full_pos(*n, ss).visit(v, *n2, args...))
  ------------------
  |  Branch (411:17): [True: 787, False: 3.50k]
  ------------------
  412|    787|                return false;
  413|  2.84k|        return make_regular_pos(*n, ss, p.size()).visit(v, *n2, args...);
  414|  3.62k|    }
  415|  5.20k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  112|  3.05k|    {
  113|  3.05k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  3.05k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  336|  4.11k|    {
  337|  4.11k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  4.11k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_pred_zipINS1_14equals_visitorEJEEEbT_PSC_DpOT0_:
  255|  3.65k|    {
  256|  3.65k|        return each_pred_zip_regular(*this, v, other, args...);
  257|  3.65k|    }
_ZN5immer6detail4rbts21each_pred_zip_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14equals_visitorEJEEEbOT_T0_PNSt3__15decayISH_E4type6node_tEDpOT1_:
  392|  3.65k|{
  393|  3.65k|    constexpr auto B  = bits<Pos>;
  394|  3.65k|    constexpr auto BL = bits_leaf<Pos>;
  395|       |
  396|  3.65k|    auto n    = p.node()->inner();
  397|  3.65k|    auto n2   = other->inner();
  398|  3.65k|    auto last = p.count() - 1;
  399|  3.65k|    auto e    = n + last;
  400|  3.65k|    if (p.shift() == BL) {
  ------------------
  |  Branch (400:9): [True: 2.15k, False: 1.49k]
  ------------------
  401|  3.57k|        for (; n != e; ++n, ++n2) {
  ------------------
  |  Branch (401:16): [True: 1.72k, False: 1.84k]
  ------------------
  402|  1.72k|            IMMER_PREFETCH(n + 1);
  403|  1.72k|            IMMER_PREFETCH(n2 + 1);
  404|  1.72k|            if (!make_full_leaf_pos(*n).visit(v, *n2, args...))
  ------------------
  |  Branch (404:17): [True: 313, False: 1.41k]
  ------------------
  405|    313|                return false;
  406|  1.72k|        }
  407|  1.84k|        return make_leaf_pos(*n, p.size()).visit(v, *n2, args...);
  408|  2.15k|    } else {
  409|  1.49k|        auto ss = p.shift() - B;
  410|  2.91k|        for (; n != e; ++n, ++n2)
  ------------------
  |  Branch (410:16): [True: 1.63k, False: 1.27k]
  ------------------
  411|  1.63k|            if (!make_full_pos(*n, ss).visit(v, *n2, args...))
  ------------------
  |  Branch (411:17): [True: 213, False: 1.42k]
  ------------------
  412|    213|                return false;
  413|  1.27k|        return make_regular_pos(*n, ss, p.size()).visit(v, *n2, args...);
  414|  1.49k|    }
  415|  3.65k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_24for_each_chunk_p_visitorEJZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcjSK_DpOT0_:
 1386|  4.60k|    {
 1387|  4.60k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 4.60k, False: 0]
  ------------------
 1388|  4.60k|        auto is_leaf = shift_ == BL;
 1389|  4.60k|        auto child   = node_->inner()[idx];
 1390|  4.60k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 3.16k, False: 1.43k]
  ------------------
 1391|  4.60k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  4.60k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
  207|   360k|    {
  208|   360k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   360k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_18region_for_visitorIiEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  9.91M|{
 1839|  9.91M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 9.91M, False: 0]
  ------------------
 1840|  9.91M|    auto relaxed = node->relaxed();
 1841|  9.91M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 9.52M, False: 386k]
  ------------------
 1842|  9.52M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 9.52M, False: 0]
  ------------------
 1843|  9.52M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  9.52M|            .visit(v, std::forward<Args>(args)...);
 1845|  9.52M|    } else {
 1846|   386k|        return make_regular_sub_pos(node, shift, size)
 1847|   386k|            .visit(v, std::forward<Args>(args)...);
 1848|   386k|    }
 1849|  9.91M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1813|  9.52M|    {
 1814|  9.52M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  9.52M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
 1679|  9.52M|    {
 1680|  9.52M|        return towards_oh(v, idx, subindex(idx), args...);
 1681|  9.52M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_18region_for_visitorIiEEJEEEDcT_mjDpOT0_:
 1686|  9.52M|    {
 1687|  9.52M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 9.52M, False: 0]
  ------------------
 1688|  9.52M|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 5.19M, False: 4.33M]
  ------------------
 1689|  9.52M|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  9.52M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_18region_for_visitorIiEEJEEEDcT_mjmDpOT0_:
 1698|  9.52M|    {
 1699|  9.52M|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  9.52M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_18region_for_visitorIiEEJEEEDcT_mjmDpOT0_:
 1717|  9.52M|    {
 1718|  9.52M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 9.52M, False: 0]
  ------------------
 1719|  9.52M|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 5.19M, False: 4.33M]
  |  Branch (1719:9): [True: 9.52M, False: 0]
  ------------------
 1720|  9.52M|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  9.52M|        auto child     = node_->inner()[offset_hint];
 1722|  9.52M|        auto is_leaf   = shift_ == BL;
 1723|  9.52M|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  9.52M|        auto next_idx  = idx - left_size_hint;
 1725|  9.52M|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 1.03M, False: 8.49M]
  ------------------
 1726|  9.52M|                   ? make_leaf_sub_pos(child, next_size)
 1727|  1.03M|                         .visit(v, next_idx, args...)
 1728|  9.52M|                   : visit_maybe_relaxed_sub(
 1729|  8.49M|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  9.52M|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  144|  1.03M|    {
  145|  1.03M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.03M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1036|   386k|    {
 1037|   386k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   386k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
  919|   386k|    {
  920|   386k|        return towards_oh_ch_regular(
  921|   386k|            *this, v, idx, index(idx), count(), args...);
  922|   386k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_18region_for_visitorIiEEJEEEDcOT_T0_mjjDpOT1_:
  632|   386k|{
  633|   386k|    constexpr auto B  = bits<Pos>;
  634|   386k|    constexpr auto BL = bits_leaf<Pos>;
  635|   386k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 386k, False: 0]
  ------------------
  636|   386k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 386k, False: 0]
  ------------------
  637|   386k|    auto is_leaf = p.shift() == BL;
  638|   386k|    auto child   = p.node()->inner()[offset_hint];
  639|   386k|    auto is_full = offset_hint + 1 != count_hint;
  640|   386k|    return is_full
  ------------------
  |  Branch (640:12): [True: 283k, False: 103k]
  ------------------
  641|   386k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 44.2k, False: 238k]
  ------------------
  642|   283k|                          : make_full_pos(child, p.shift() - B)
  643|   238k|                                .visit(v, idx, args...))
  644|   386k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 16.8k, False: 86.9k]
  ------------------
  645|   103k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|   103k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  86.9k|                            .visit(v, idx, args...));
  648|   386k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  207|   363k|    {
  208|   363k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   363k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1405|  1.03M|    {
 1406|  1.03M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.03M|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
 1322|  1.03M|    {
 1323|  1.03M|        return towards_oh(v, idx, index(idx), args...);
 1324|  1.03M|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_18region_for_visitorIiEEJEEEDcT_mjDpOT0_:
 1336|  1.03M|    {
 1337|  1.03M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.03M, False: 0]
  ------------------
 1338|  1.03M|        auto is_leaf = shift_ == BL;
 1339|  1.03M|        auto child   = node_->inner()[offset_hint];
 1340|  1.03M|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 306k, False: 726k]
  ------------------
 1341|  1.03M|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.03M|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.03M|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  112|  23.6k|    {
  113|  23.6k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  23.6k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  336|   114k|    {
  337|   114k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|   114k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
  297|   114k|    {
  298|   114k|        return towards_oh_ch_regular(
  299|   114k|            *this, v, idx, index(idx), count(), args...);
  300|   114k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_18region_for_visitorIiEEJEEEDcOT_T0_mjjDpOT1_:
  632|   114k|{
  633|   114k|    constexpr auto B  = bits<Pos>;
  634|   114k|    constexpr auto BL = bits_leaf<Pos>;
  635|   114k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 114k, False: 0]
  ------------------
  636|   114k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 114k, False: 0]
  ------------------
  637|   114k|    auto is_leaf = p.shift() == BL;
  638|   114k|    auto child   = p.node()->inner()[offset_hint];
  639|   114k|    auto is_full = offset_hint + 1 != count_hint;
  640|   114k|    return is_full
  ------------------
  |  Branch (640:12): [True: 80.0k, False: 34.5k]
  ------------------
  641|   114k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 12.1k, False: 67.8k]
  ------------------
  642|  80.0k|                          : make_full_pos(child, p.shift() - B)
  643|  67.8k|                                .visit(v, idx, args...))
  644|   114k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 6.87k, False: 27.6k]
  ------------------
  645|  34.5k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  34.5k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  27.6k|                            .visit(v, idx, args...));
  648|   114k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
 1405|  97.4k|    {
 1406|  97.4k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  97.4k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_predINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEbSK_DpOT0_:
 1202|  97.4k|    {
 1203|  97.4k|        auto p = node_->inner();
 1204|  97.4k|        auto e = p + branches<B>;
 1205|  97.4k|        if (shift_ == BL) {
  ------------------
  |  Branch (1205:13): [True: 76.9k, False: 20.4k]
  ------------------
 1206|   382k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1206:20): [True: 306k, False: 76.0k]
  ------------------
 1207|   306k|                IMMER_PREFETCH(p + 1);
 1208|   306k|                if (!make_full_leaf_pos(*p).visit(v, args...))
  ------------------
  |  Branch (1208:21): [True: 890, False: 305k]
  ------------------
 1209|    890|                    return false;
 1210|   306k|            }
 1211|  76.9k|        } else {
 1212|  20.4k|            auto ss = shift_ - B;
 1213|   100k|            for (; p != e; ++p)
  ------------------
  |  Branch (1213:20): [True: 80.8k, False: 19.9k]
  ------------------
 1214|  80.8k|                if (!make_full_pos(*p, ss).visit(v, args...))
  ------------------
  |  Branch (1214:21): [True: 492, False: 80.3k]
  ------------------
 1215|    492|                    return false;
 1216|  20.4k|        }
 1217|  96.0k|        return true;
 1218|  97.4k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|    744|    {
 1037|    744|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    744|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1007|    744|    {
 1008|    744|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 744, False: 0]
  ------------------
 1009|    744|        auto is_leaf = shift_ == BL;
 1010|    744|        auto child   = node_->inner()[idx];
 1011|    744|        auto lsize   = size(idx);
 1012|    744|        auto is_full = idx + 1 < count();
 1013|    744|        return is_full
  ------------------
  |  Branch (1013:16): [True: 744, False: 0]
  ------------------
 1014|    744|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 0, False: 744]
  ------------------
 1015|    744|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|    744|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|    744|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 0, False: 0]
  ------------------
 1018|      0|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|      0|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|      0|                                .visit(v, args...));
 1021|    744|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  1.76k|    {
 1037|  1.76k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.76k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_24for_each_chunk_p_visitorEJZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcjSK_DpOT0_:
 1007|  4.22k|    {
 1008|  4.22k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 4.22k, False: 0]
  ------------------
 1009|  4.22k|        auto is_leaf = shift_ == BL;
 1010|  4.22k|        auto child   = node_->inner()[idx];
 1011|  4.22k|        auto lsize   = size(idx);
 1012|  4.22k|        auto is_full = idx + 1 < count();
 1013|  4.22k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 1.46k, False: 2.75k]
  ------------------
 1014|  4.22k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 858, False: 605]
  ------------------
 1015|  1.46k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  1.46k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  4.22k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 1.45k, False: 1.30k]
  ------------------
 1018|  2.75k|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|  2.75k|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|  1.30k|                                .visit(v, args...));
 1021|  4.22k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
  144|  1.01M|    {
  145|  1.01M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.01M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
 1036|  20.2k|    {
 1037|  20.2k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  20.2k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_predINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEbSK_DpOT0_:
  831|  20.2k|    {
  832|  20.2k|        return each_pred_regular(*this, v, args...);
  833|  20.2k|    }
_ZN5immer6detail4rbts17each_pred_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSC_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEEbSM_SN_DpOT1_:
  365|  20.2k|{
  366|  20.2k|    constexpr auto B  = bits<Pos>;
  367|  20.2k|    constexpr auto BL = bits_leaf<Pos>;
  368|  20.2k|    auto n            = p.node()->inner();
  369|  20.2k|    auto last         = p.count() - 1;
  370|  20.2k|    auto e            = n + last;
  371|  20.2k|    if (p.shift() == BL) {
  ------------------
  |  Branch (371:9): [True: 14.3k, False: 5.94k]
  ------------------
  372|  53.3k|        for (; n != e; ++n) {
  ------------------
  |  Branch (372:16): [True: 39.2k, False: 14.1k]
  ------------------
  373|  39.2k|            IMMER_PREFETCH(n + 1);
  374|  39.2k|            if (!make_full_leaf_pos(*n).visit(v, args...))
  ------------------
  |  Branch (374:17): [True: 204, False: 38.9k]
  ------------------
  375|    204|                return false;
  376|  39.2k|        }
  377|  14.1k|        return make_leaf_pos(*n, p.size()).visit(v, args...);
  378|  14.3k|    } else {
  379|  5.94k|        auto ss = p.shift() - B;
  380|  16.1k|        for (; n != e; ++n)
  ------------------
  |  Branch (380:16): [True: 10.8k, False: 5.33k]
  ------------------
  381|  10.8k|            if (!make_full_pos(*n, ss).visit(v, args...))
  ------------------
  |  Branch (381:17): [True: 614, False: 10.1k]
  ------------------
  382|    614|                return false;
  383|  5.33k|        return make_regular_pos(*n, ss, p.size()).visit(v, args...);
  384|  5.94k|    }
  385|  20.2k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
  112|  18.8k|    {
  113|  18.8k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  18.8k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
  336|  7.41k|    {
  337|  7.41k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  7.41k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_predINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEbSK_DpOT0_:
  249|  7.41k|    {
  250|  7.41k|        return each_pred_regular(*this, v, args...);
  251|  7.41k|    }
_ZN5immer6detail4rbts17each_pred_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSC_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEEbSM_SN_DpOT1_:
  365|  7.41k|{
  366|  7.41k|    constexpr auto B  = bits<Pos>;
  367|  7.41k|    constexpr auto BL = bits_leaf<Pos>;
  368|  7.41k|    auto n            = p.node()->inner();
  369|  7.41k|    auto last         = p.count() - 1;
  370|  7.41k|    auto e            = n + last;
  371|  7.41k|    if (p.shift() == BL) {
  ------------------
  |  Branch (371:9): [True: 5.07k, False: 2.33k]
  ------------------
  372|  15.7k|        for (; n != e; ++n) {
  ------------------
  |  Branch (372:16): [True: 10.9k, False: 4.76k]
  ------------------
  373|  10.9k|            IMMER_PREFETCH(n + 1);
  374|  10.9k|            if (!make_full_leaf_pos(*n).visit(v, args...))
  ------------------
  |  Branch (374:17): [True: 313, False: 10.6k]
  ------------------
  375|    313|                return false;
  376|  10.9k|        }
  377|  4.76k|        return make_leaf_pos(*n, p.size()).visit(v, args...);
  378|  5.07k|    } else {
  379|  2.33k|        auto ss = p.shift() - B;
  380|  5.77k|        for (; n != e; ++n)
  ------------------
  |  Branch (380:16): [True: 3.69k, False: 2.08k]
  ------------------
  381|  3.69k|            if (!make_full_pos(*n, ss).visit(v, args...))
  ------------------
  |  Branch (381:17): [True: 255, False: 3.44k]
  ------------------
  382|    255|                return false;
  383|  2.08k|        return make_regular_pos(*n, ss, p.size()).visit(v, args...);
  384|  2.33k|    }
  385|  7.41k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  2.53k|    {
 1037|  2.53k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.53k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1793|  2.53k|    {
 1794|  2.53k|        auto child      = node_->inner()[offset];
 1795|  2.53k|        auto child_size = size(offset);
 1796|  2.53k|        auto is_leaf    = shift_ == BL;
 1797|  2.53k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 2.53k]
  ------------------
 1798|  2.53k|                       : visit_maybe_relaxed_sub(
 1799|  2.53k|                             child, shift_ - B, child_size, v, args...);
 1800|  2.53k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  2.53k|{
 1839|  2.53k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.53k, False: 0]
  ------------------
 1840|  2.53k|    auto relaxed = node->relaxed();
 1841|  2.53k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 768, False: 1.76k]
  ------------------
 1842|    768|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 768, False: 0]
  ------------------
 1843|    768|        return make_relaxed_pos(node, shift, relaxed)
 1844|    768|            .visit(v, std::forward<Args>(args)...);
 1845|  1.76k|    } else {
 1846|  1.76k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.76k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.76k|    }
 1849|  2.53k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|    768|    {
 1814|    768|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    768|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1007|  4.09k|    {
 1008|  4.09k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 4.09k, False: 0]
  ------------------
 1009|  4.09k|        auto is_leaf = shift_ == BL;
 1010|  4.09k|        auto child   = node_->inner()[idx];
 1011|  4.09k|        auto lsize   = size(idx);
 1012|  4.09k|        auto is_full = idx + 1 < count();
 1013|  4.09k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 3.73k, False: 364]
  ------------------
 1014|  4.09k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 2.25k, False: 1.47k]
  ------------------
 1015|  3.73k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  3.73k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  4.09k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 364, False: 0]
  ------------------
 1018|    364|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|    364|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|      0|                                .visit(v, args...));
 1021|  4.09k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  207|  4.68k|    {
  208|  4.68k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  4.68k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE12nth_sub_leafINS1_14equals_visitorEJRNS1_13full_leaf_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1804|  4.68k|    {
 1805|  4.68k|        assert(shift_ == BL);
  ------------------
  |  Branch (1805:9): [True: 4.68k, False: 0]
  ------------------
 1806|  4.68k|        auto child      = node_->inner()[offset];
 1807|  4.68k|        auto child_size = size(offset);
 1808|  4.68k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1809|  4.68k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_13full_leaf_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  4.68k|    {
  145|  4.68k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  4.68k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1405|  2.68k|    {
 1406|  2.68k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.68k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1793|  2.68k|    {
 1794|  2.68k|        auto child      = node_->inner()[offset];
 1795|  2.68k|        auto child_size = size(offset);
 1796|  2.68k|        auto is_leaf    = shift_ == BL;
 1797|  2.68k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 2.68k]
  ------------------
 1798|  2.68k|                       : visit_maybe_relaxed_sub(
 1799|  2.68k|                             child, shift_ - B, child_size, v, args...);
 1800|  2.68k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  2.68k|{
 1839|  2.68k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.68k, False: 0]
  ------------------
 1840|  2.68k|    auto relaxed = node->relaxed();
 1841|  2.68k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.59k, False: 1.08k]
  ------------------
 1842|  1.59k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.59k, False: 0]
  ------------------
 1843|  1.59k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.59k|            .visit(v, std::forward<Args>(args)...);
 1845|  1.59k|    } else {
 1846|  1.08k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.08k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.08k|    }
 1849|  2.68k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|  1.59k|    {
 1814|  1.59k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.59k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1386|  3.63k|    {
 1387|  3.63k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 3.63k, False: 0]
  ------------------
 1388|  3.63k|        auto is_leaf = shift_ == BL;
 1389|  3.63k|        auto child   = node_->inner()[idx];
 1390|  3.63k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 2.42k, False: 1.20k]
  ------------------
 1391|  3.63k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  3.63k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  1.08k|    {
 1037|  1.08k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.08k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_24for_each_chunk_p_visitorEJZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcjSK_DpOT0_:
 1793|  23.1k|    {
 1794|  23.1k|        auto child      = node_->inner()[offset];
 1795|  23.1k|        auto child_size = size(offset);
 1796|  23.1k|        auto is_leaf    = shift_ == BL;
 1797|  23.1k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 7.89k, False: 15.2k]
  ------------------
 1798|  23.1k|                       : visit_maybe_relaxed_sub(
 1799|  15.2k|                             child, shift_ - B, child_size, v, args...);
 1800|  23.1k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSI_T0_E_EEEDcPSI_jmSK_DpOT1_:
 1838|   618k|{
 1839|   618k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 618k, False: 0]
  ------------------
 1840|   618k|    auto relaxed = node->relaxed();
 1841|   618k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 599k, False: 18.9k]
  ------------------
 1842|   599k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 599k, False: 0]
  ------------------
 1843|   599k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   599k|            .visit(v, std::forward<Args>(args)...);
 1845|   599k|    } else {
 1846|  18.9k|        return make_regular_sub_pos(node, shift, size)
 1847|  18.9k|            .visit(v, std::forward<Args>(args)...);
 1848|  18.9k|    }
 1849|   618k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
 1813|   599k|    {
 1814|   599k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   599k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_predINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEbSK_DpOT0_:
 1482|   599k|    {
 1483|   599k|        auto p = node_->inner();
 1484|   599k|        auto s = size_t{};
 1485|   599k|        auto n = count();
 1486|   599k|        if (shift_ == BL) {
  ------------------
  |  Branch (1486:13): [True: 295k, False: 303k]
  ------------------
 1487|  1.30M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1487:39): [True: 1.00M, False: 295k]
  ------------------
 1488|  1.00M|                IMMER_PREFETCH(p + i + 1);
 1489|  1.00M|                if (!make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
  ------------------
  |  Branch (1489:21): [True: 385, False: 1.00M]
  ------------------
 1490|  1.00M|                         .visit(v, args...))
 1491|    385|                    return false;
 1492|  1.00M|                s = relaxed_->d.sizes[i];
 1493|  1.00M|            }
 1494|   303k|        } else {
 1495|   303k|            auto ss = shift_ - B;
 1496|   905k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1496:39): [True: 603k, False: 302k]
  ------------------
 1497|   603k|                if (!visit_maybe_relaxed_sub(
  ------------------
  |  Branch (1497:21): [True: 499, False: 602k]
  ------------------
 1498|   603k|                        p[i], ss, relaxed_->d.sizes[i] - s, v, args...))
 1499|    499|                    return false;
 1500|   602k|                s = relaxed_->d.sizes[i];
 1501|   602k|            }
 1502|   303k|        }
 1503|   598k|        return true;
 1504|   599k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcT_DpOT0_:
 1036|  3.27k|    {
 1037|  3.27k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.27k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE15first_sub_innerINS1_14equals_visitor3rrbEJRNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERPSC_RjRmEEEDcT_DpOT0_:
 1783|  1.41k|    {
 1784|  1.41k|        assert(shift_ > BL);
  ------------------
  |  Branch (1784:9): [True: 1.41k, False: 0]
  ------------------
 1785|  1.41k|        auto child      = node_->inner()[0];
 1786|  1.41k|        auto child_size = relaxed_->d.sizes[0];
 1787|  1.41k|        return visit_maybe_relaxed_sub(
 1788|  1.41k|            child, shift_ - B, child_size, v, args...);
 1789|  1.41k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor3rrbEJRNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERPSC_RjRmEEEDcPT_jmT0_DpOT1_:
 1838|  1.41k|{
 1839|  1.41k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.41k, False: 0]
  ------------------
 1840|  1.41k|    auto relaxed = node->relaxed();
 1841|  1.41k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.41k, False: 0]
  ------------------
 1842|  1.41k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.41k, False: 0]
  ------------------
 1843|  1.41k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.41k|            .visit(v, std::forward<Args>(args)...);
 1845|  1.41k|    } else {
 1846|      0|        return make_regular_sub_pos(node, shift, size)
 1847|      0|            .visit(v, std::forward<Args>(args)...);
 1848|      0|    }
 1849|  1.41k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor3rrbEJRNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERPSC_RjRmEEEDcT_DpOT0_:
 1813|  1.41k|    {
 1814|  1.41k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.41k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcPT_jmT0_DpOT1_:
 1838|  6.71k|{
 1839|  6.71k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 6.71k, False: 0]
  ------------------
 1840|  6.71k|    auto relaxed = node->relaxed();
 1841|  6.71k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.65k, False: 5.05k]
  ------------------
 1842|  1.65k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.65k, False: 0]
  ------------------
 1843|  1.65k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.65k|            .visit(v, std::forward<Args>(args)...);
 1845|  5.05k|    } else {
 1846|  5.05k|        return make_regular_sub_pos(node, shift, size)
 1847|  5.05k|            .visit(v, std::forward<Args>(args)...);
 1848|  5.05k|    }
 1849|  6.71k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcT_DpOT0_:
 1813|  1.65k|    {
 1814|  1.65k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.65k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcT_DpOT0_:
 1036|  5.05k|    {
 1037|  5.05k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  5.05k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor3rrbEJNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERKPSC_RKjRmEEEDcT_DpOT0_:
 1036|  6.71k|    {
 1037|  6.71k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.71k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRKPSC_EEEDcT_DpOT0_:
  144|  7.07k|    {
  145|  7.07k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  7.07k|    }

_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2Ev:
  114|  1.64M|        : size{0}
  115|  1.64M|        , shift{BL}
  116|  1.64M|        , root{empty_root()}
  117|  1.64M|        , tail{empty_tail()}
  118|  1.64M|    {
  119|       |        assert(check_tree());
  ------------------
  |  Branch (119:9): [True: 1.64M, False: 0]
  ------------------
  120|  1.64M|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_rootEv:
   61|  1.66M|    {
   62|  1.66M|        static const auto empty_ = [] {
   63|  1.66M|            constexpr auto size = node_t::sizeof_inner_n(0);
   64|  1.66M|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   65|  1.66M|                storage;
   66|  1.66M|            return node_t::make_inner_n_into(&storage, size, 0u);
   67|  1.66M|        }();
   68|  1.66M|        return empty_->inc();
   69|  1.66M|    }
_ZZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_rootEvENKUlvE_clEv:
   62|      1|        static const auto empty_ = [] {
   63|      1|            constexpr auto size = node_t::sizeof_inner_n(0);
   64|      1|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   65|      1|                storage;
   66|      1|            return node_t::make_inner_n_into(&storage, size, 0u);
   67|      1|        }();
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_tailEv:
   72|  1.64M|    {
   73|  1.64M|        static const auto empty_ = [] {
   74|  1.64M|            constexpr auto size = node_t::sizeof_leaf_n(0);
   75|  1.64M|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   76|  1.64M|                storage;
   77|  1.64M|            return node_t::make_leaf_n_into(&storage, size, 0u);
   78|  1.64M|        }();
   79|  1.64M|        return empty_->inc();
   80|  1.64M|    }
_ZZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_tailEvENKUlvE_clEv:
   73|      1|        static const auto empty_ = [] {
   74|      1|            constexpr auto size = node_t::sizeof_leaf_n(0);
   75|      1|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   76|      1|                storage;
   77|      1|            return node_t::make_leaf_n_into(&storage, size, 0u);
   78|      1|        }();
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10check_treeEv:
 1372|  3.27M|    {
 1373|  3.27M|        IMMER_INVALID_STATE_ASSERT(shift <= sizeof(size_t) * 8 - BL);
  ------------------
  |  |   32|  3.27M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.27M]
  |  |  ------------------
  |  |   33|  3.27M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1374|  3.27M|        IMMER_INVALID_STATE_ASSERT(shift >= BL);
  ------------------
  |  |   32|  3.27M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.27M]
  |  |  ------------------
  |  |   33|  3.27M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1375|  3.27M|        IMMER_INVALID_STATE_ASSERT(tail_offset() <= size);
  ------------------
  |  |   32|  3.27M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.27M]
  |  |  ------------------
  |  |   33|  3.27M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1376|  3.27M|        IMMER_INVALID_STATE_ASSERT(tail_size() <= branches<BL>);
  ------------------
  |  |   32|  3.27M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.27M]
  |  |  ------------------
  |  |   33|  3.27M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1377|       |#if IMMER_DEBUG_DEEP_CHECK
 1378|       |        IMMER_INVALID_STATE_ASSERT(check_root());
 1379|       |        IMMER_INVALID_STATE_ASSERT(check_tail());
 1380|       |#endif
 1381|  3.27M|        return true;
 1382|  3.27M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11tail_offsetEv:
  197|  16.2M|    {
  198|  16.2M|        auto r = root->relaxed();
  199|  16.2M|        assert(r == nullptr || r->d.count);
  ------------------
  |  Branch (199:9): [True: 8.04M, False: 8.18M]
  |  Branch (199:9): [True: 8.18M, False: 0]
  |  Branch (199:9): [True: 16.2M, False: 0]
  ------------------
  200|  16.2M|        return r      ? r->d.sizes[r->d.count - 1]
  ------------------
  |  Branch (200:16): [True: 8.18M, False: 8.04M]
  ------------------
  201|  16.2M|               : size ? (size - 1) & ~mask<BL>
  ------------------
  |  Branch (201:18): [True: 3.07M, False: 4.96M]
  ------------------
  202|       |                      /* otherwise */
  203|  8.04M|                      : 0;
  204|  16.2M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9tail_sizeEv:
  194|  3.75M|    auto tail_size() const { return size - tail_offset(); }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EED2Ev:
  184|  3.27M|    ~rrbtree() { dec(); }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3decEv:
  192|  3.27M|    void dec() const { traverse(dec_visitor()); }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8traverseINS1_11dec_visitorEJEEEvT_DpOT0_:
  208|  3.27M|    {
  209|  3.27M|        auto tail_off  = tail_offset();
  210|  3.27M|        auto tail_size = size - tail_off;
  211|       |
  212|  3.27M|        if (tail_off)
  ------------------
  |  Branch (212:13): [True: 1.53M, False: 1.73M]
  ------------------
  213|  1.53M|            visit_maybe_relaxed_sub(root, shift, tail_off, v, args...);
  214|  1.73M|        else
  215|  1.73M|            make_empty_regular_pos(root).visit(v, args...);
  216|       |
  217|  3.27M|        if (tail_size)
  ------------------
  |  Branch (217:13): [True: 1.62M, False: 1.64M]
  ------------------
  218|  1.62M|            make_leaf_sub_pos(tail, tail_size).visit(v, args...);
  219|  1.64M|        else
  220|  1.64M|            make_empty_leaf_pos(tail).visit(v, args...);
  221|  3.27M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  500|   438k|    {
  501|   438k|        auto ts = tail_size();
  502|   438k|        if (ts < branches<BL>) {
  ------------------
  |  Branch (502:13): [True: 320k, False: 117k]
  ------------------
  503|   320k|            auto new_tail =
  504|   320k|                node_t::copy_leaf_emplace(tail, ts, std::move(value));
  505|   320k|            return {size + 1, shift, root->inc(), new_tail};
  506|   320k|        } else {
  507|   117k|            using std::get;
  508|   117k|            auto new_tail = node_t::make_leaf_n(1u, std::move(value));
  509|   117k|            auto tail_off = tail_offset();
  510|   117k|            IMMER_TRY {
  ------------------
  |  |   49|   117k|#define IMMER_TRY try
  ------------------
  511|   117k|                auto new_root =
  512|   117k|                    push_tail(root, shift, tail_off, tail, size - tail_off);
  513|   117k|                tail->inc();
  514|   117k|                return {size + 1, get<0>(new_root), get<1>(new_root), new_tail};
  515|   117k|            }
  516|   117k|            IMMER_CATCH (...) {
  517|      0|                node_t::delete_leaf(new_tail, 1u);
  518|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  519|      0|            }
  520|   117k|        }
  521|   438k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2EmjPNS1_4nodeIiSA_Lj2ELj2EEESE_:
  127|  1.62M|        : size{sz}
  128|  1.62M|        , shift{sh}
  129|  1.62M|        , root{r}
  130|  1.62M|        , tail{t}
  131|  1.62M|    {
  132|  1.62M|#if IMMER_THROW_ON_INVALID_STATE
  133|       |        // assert only happens in the Debug build, but when
  134|       |        // IMMER_THROW_ON_INVALID_STATE is activated, we want to just check_tree
  135|       |        // even in Release.
  136|  1.62M|        try {
  137|  1.62M|            check_tree();
  138|  1.62M|        } catch (...) {
  139|       |            // This not fully constructed rrbtree owns the nodes already, have
  140|       |            // to dec them.
  141|      0|            if (r && t)
  ------------------
  |  Branch (141:17): [True: 0, False: 0]
  |  Branch (141:22): [True: 0, False: 0]
  ------------------
  142|      0|                dec();
  143|      0|            throw;
  144|      0|        }
  145|       |#else
  146|       |        assert(check_tree());
  147|       |#endif
  148|  1.62M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_tailEPNS1_4nodeIiSA_Lj2ELj2EEEjmSE_j:
  369|   589k|    {
  370|   589k|        if (auto r = root->relaxed()) {
  ------------------
  |  Branch (370:18): [True: 250k, False: 338k]
  ------------------
  371|   250k|            auto new_root =
  372|   250k|                make_relaxed_pos(root, shift, r)
  373|   250k|                    .visit(push_tail_visitor<node_t>{}, tail, tail_size);
  374|   250k|            if (new_root)
  ------------------
  |  Branch (374:17): [True: 248k, False: 2.04k]
  ------------------
  375|   248k|                return std::make_tuple(shift, new_root);
  376|  2.04k|            else {
  377|  2.04k|                auto new_root = node_t::make_inner_r_n(2);
  378|  2.04k|                IMMER_TRY {
  ------------------
  |  |   49|  2.04k|#define IMMER_TRY try
  ------------------
  379|  2.04k|                    auto new_path        = node_t::make_path(shift, tail);
  380|  2.04k|                    new_root->inner()[0] = root->inc();
  381|  2.04k|                    new_root->inner()[1] = new_path;
  382|  2.04k|                    new_root->relaxed()->d.sizes[0] = size;
  383|  2.04k|                    new_root->relaxed()->d.sizes[1] = size + tail_size;
  384|  2.04k|                    assert(size);
  ------------------
  |  Branch (384:21): [True: 2.04k, False: 0]
  ------------------
  385|  2.04k|                    assert(tail_size);
  ------------------
  |  Branch (385:21): [True: 2.04k, False: 0]
  ------------------
  386|  2.04k|                    new_root->relaxed()->d.count = 2u;
  387|  2.04k|                }
  388|  2.04k|                IMMER_CATCH (...) {
  389|      0|                    node_t::delete_inner_r(new_root, 2);
  390|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  391|      0|                }
  392|  2.04k|                return std::make_tuple(shift + B, new_root);
  393|  2.04k|            }
  394|   338k|        } else if (size == size_t{branches<B>} << shift) {
  ------------------
  |  Branch (394:20): [True: 5.12k, False: 333k]
  ------------------
  395|  5.12k|            auto new_root = node_t::make_inner_n(2);
  396|  5.12k|            IMMER_TRY {
  ------------------
  |  |   49|  5.12k|#define IMMER_TRY try
  ------------------
  397|  5.12k|                auto new_path        = node_t::make_path(shift, tail);
  398|  5.12k|                new_root->inner()[0] = root->inc();
  399|  5.12k|                new_root->inner()[1] = new_path;
  400|  5.12k|            }
  401|  5.12k|            IMMER_CATCH (...) {
  402|      0|                node_t::delete_inner(new_root, 2);
  403|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  404|      0|            }
  405|  5.12k|            return std::make_tuple(shift + B, new_root);
  406|   333k|        } else if (size) {
  ------------------
  |  Branch (406:20): [True: 323k, False: 10.5k]
  ------------------
  407|   323k|            auto new_root = make_regular_sub_pos(root, shift, size)
  408|   323k|                                .visit(push_tail_visitor<node_t>{}, tail);
  409|   323k|            return std::make_tuple(shift, new_root);
  410|   323k|        } else {
  411|  10.5k|            return std::make_tuple(shift, node_t::make_path(shift, tail));
  412|  10.5k|        }
  413|   589k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2EOSB_:
  157|  1.56M|        : rrbtree{}
  158|  1.56M|    {
  159|  1.56M|        swap(*this, other);
  160|  1.56M|    }
_ZN5immer6detail4rbts4swapERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESC_:
  176|  3.64M|    {
  177|  3.64M|        using std::swap;
  178|  3.64M|        swap(x.size, y.size);
  179|  3.64M|        swap(x.shift, y.shift);
  180|  3.64M|        swap(x.root, y.root);
  181|  3.64M|        swap(x.tail, y.tail);
  182|  3.64M|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEaSEOSB_:
  170|  2.07M|    {
  171|  2.07M|        swap(*this, other);
  172|  2.07M|        return *this;
  173|  2.07M|    }
flex-vector.cpp:_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6updateIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSG_E_EESB_mOSG_:
  580|   112k|    {
  581|   112k|        auto tail_off = tail_offset();
  582|   112k|        if (idx >= tail_off) {
  ------------------
  |  Branch (582:13): [True: 40.3k, False: 71.7k]
  ------------------
  583|  40.3k|            auto tail_size = size - tail_off;
  584|  40.3k|            auto new_tail =
  585|  40.3k|                make_leaf_sub_pos(tail, tail_size)
  586|  40.3k|                    .visit(update_visitor<node_t>{}, idx - tail_off, fn);
  587|  40.3k|            return {size, shift, root->inc(), new_tail};
  588|  71.7k|        } else {
  589|  71.7k|            auto new_root = visit_maybe_relaxed_sub(
  590|  71.7k|                root, shift, tail_off, update_visitor<node_t>{}, idx, fn);
  591|  71.7k|            return {size, shift, new_root, tail->inc()};
  592|  71.7k|        }
  593|   112k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  647|  25.6k|    {
  648|  25.6k|        auto tail_off = tail_offset();
  649|  25.6k|        if (new_size == 0) {
  ------------------
  |  Branch (649:13): [True: 3.78k, False: 21.8k]
  ------------------
  650|  3.78k|            return {};
  651|  21.8k|        } else if (new_size >= size) {
  ------------------
  |  Branch (651:20): [True: 1.21k, False: 20.6k]
  ------------------
  652|  1.21k|            return *this;
  653|  20.6k|        } else if (new_size > tail_off) {
  ------------------
  |  Branch (653:20): [True: 2.03k, False: 18.5k]
  ------------------
  654|  2.03k|            auto new_tail = node_t::copy_leaf(tail, new_size - tail_off);
  655|  2.03k|            return {new_size, shift, root->inc(), new_tail};
  656|  18.5k|        } else {
  657|  18.5k|            using std::get;
  658|  18.5k|            auto l = new_size - 1;
  659|  18.5k|            auto v = slice_right_visitor<node_t>();
  660|  18.5k|            auto r = visit_maybe_relaxed_sub(root, shift, tail_off, v, l);
  661|  18.5k|            auto new_shift = get<0>(r);
  662|  18.5k|            auto new_root  = get<1>(r);
  663|  18.5k|            auto new_tail  = get<3>(r);
  664|  18.5k|            if (new_root) {
  ------------------
  |  Branch (664:17): [True: 14.4k, False: 4.18k]
  ------------------
  665|  14.4k|                IMMER_ASSERT_TAGGED(new_root->compute_shift() == get<0>(r));
  ------------------
  |  |   68|  14.4k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (665:17): [True: 14.4k, False: 0]
  ------------------
  666|  14.4k|                assert(new_root->check(new_shift, new_size - get<2>(r)));
  ------------------
  |  Branch (666:17): [True: 14.4k, False: 0]
  ------------------
  667|  14.4k|                return {new_size, new_shift, new_root, new_tail};
  668|  14.4k|            } else {
  669|  4.18k|                return {new_size, BL, empty_root(), new_tail};
  670|  4.18k|            }
  671|  18.5k|        }
  672|  25.6k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ERKSB_:
  151|  10.6k|        : rrbtree{other.size, other.shift, other.root, other.tail}
  152|  10.6k|    {
  153|  10.6k|        inc();
  154|  10.6k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3incEv:
  187|  10.6k|    {
  188|  10.6k|        root->inc();
  189|  10.6k|        tail->inc();
  190|  10.6k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  711|  27.2k|    {
  712|  27.2k|        if (elems == 0) {
  ------------------
  |  Branch (712:13): [True: 2.61k, False: 24.6k]
  ------------------
  713|  2.61k|            return *this;
  714|  24.6k|        } else if (elems >= size) {
  ------------------
  |  Branch (714:20): [True: 2.16k, False: 22.4k]
  ------------------
  715|  2.16k|            return {};
  716|  22.4k|        } else if (elems == tail_offset()) {
  ------------------
  |  Branch (716:20): [True: 1.78k, False: 20.6k]
  ------------------
  717|  1.78k|            return {size - elems, BL, empty_root(), tail->inc()};
  718|  20.6k|        } else if (elems > tail_offset()) {
  ------------------
  |  Branch (718:20): [True: 2.07k, False: 18.5k]
  ------------------
  719|  2.07k|            auto tail_off = tail_offset();
  720|  2.07k|            auto new_tail =
  721|  2.07k|                node_t::copy_leaf(tail, elems - tail_off, size - tail_off);
  722|  2.07k|            return {size - elems, BL, empty_root(), new_tail};
  723|  18.5k|        } else {
  724|  18.5k|            using std::get;
  725|  18.5k|            auto v = slice_left_visitor<node_t>();
  726|  18.5k|            auto r =
  727|  18.5k|                visit_maybe_relaxed_sub(root, shift, tail_offset(), v, elems);
  728|  18.5k|            auto new_root  = get<1>(r);
  729|  18.5k|            auto new_shift = get<0>(r);
  730|  18.5k|            return {size - elems, new_shift, new_root, tail->inc()};
  731|  18.5k|        }
  732|  27.2k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8max_sizeEv:
   54|  2.22M|    {
   55|  2.22M|        auto S = sizeof(size_t) * 8;
   56|  2.22M|        return ((size_t{1} << BL) - std::min(size_t{BL}, size_t{2})) *
   57|  2.22M|               ipow((size_t{1} << B) - 2, (S - BL) / B);
   58|  2.22M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6concatERKSB_:
  735|   933k|    {
  736|   933k|        assert(r.size + size <= max_size());
  ------------------
  |  Branch (736:9): [True: 933k, False: 0]
  ------------------
  737|   933k|        using std::get;
  738|   933k|        if (size == 0)
  ------------------
  |  Branch (738:13): [True: 2.60k, False: 930k]
  ------------------
  739|  2.60k|            return r;
  740|   930k|        else if (r.size == 0)
  ------------------
  |  Branch (740:18): [True: 1.81k, False: 928k]
  ------------------
  741|  1.81k|            return *this;
  742|   928k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (742:18): [True: 483k, False: 445k]
  ------------------
  743|       |            // just concat the tail, similar to push_back
  744|   483k|            auto tail_offst = tail_offset();
  745|   483k|            auto tail_size  = size - tail_offst;
  746|   483k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (746:17): [True: 134k, False: 349k]
  ------------------
  747|   134k|                auto new_root =
  748|   134k|                    push_tail(root, shift, tail_offst, tail, tail_size);
  749|   134k|                tail->inc();
  750|   134k|                return {size + r.size,
  751|   134k|                        get<0>(new_root),
  752|   134k|                        get<1>(new_root),
  753|   134k|                        r.tail->inc()};
  754|   349k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (754:24): [True: 12.1k, False: 336k]
  ------------------
  755|  12.1k|                auto new_tail =
  756|  12.1k|                    node_t::copy_leaf(tail, tail_size, r.tail, r.size);
  757|  12.1k|                return {size + r.size, shift, root->inc(), new_tail};
  758|   336k|            } else {
  759|   336k|                auto remaining = branches<BL> - tail_size;
  760|   336k|                auto add_tail =
  761|   336k|                    node_t::copy_leaf(tail, tail_size, r.tail, remaining);
  762|   336k|                IMMER_TRY {
  ------------------
  |  |   49|   336k|#define IMMER_TRY try
  ------------------
  763|   336k|                    auto new_tail =
  764|   336k|                        node_t::copy_leaf(r.tail, remaining, r.size);
  765|   336k|                    IMMER_TRY {
  ------------------
  |  |   49|   336k|#define IMMER_TRY try
  ------------------
  766|   336k|                        auto new_root = push_tail(
  767|   336k|                            root, shift, tail_offst, add_tail, branches<BL>);
  768|   336k|                        return {size + r.size,
  769|   336k|                                get<0>(new_root),
  770|   336k|                                get<1>(new_root),
  771|   336k|                                new_tail};
  772|   336k|                    }
  773|   336k|                    IMMER_CATCH (...) {
  774|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
  775|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  776|      0|                    }
  777|   336k|                }
  778|   336k|                IMMER_CATCH (...) {
  779|      0|                    node_t::delete_leaf(add_tail, branches<BL>);
  780|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  781|      0|                }
  782|   336k|            }
  783|   483k|        } else if (tail_offset() == 0) {
  ------------------
  |  Branch (783:20): [True: 3.65k, False: 441k]
  ------------------
  784|  3.65k|            auto tail_offst = tail_offset();
  785|  3.65k|            auto tail_size  = size - tail_offst;
  786|  3.65k|            auto concated =
  787|  3.65k|                concat_trees(tail, tail_size, r.root, r.shift, r.tail_offset());
  788|  3.65k|            auto new_shift = concated.shift();
  789|  3.65k|            auto new_root  = concated.node();
  790|  3.65k|            IMMER_ASSERT_TAGGED(new_shift == new_root->compute_shift());
  ------------------
  |  |   68|  3.65k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (790:13): [True: 3.65k, False: 0]
  ------------------
  791|  3.65k|            assert(new_root->check(new_shift, size + r.tail_offset()));
  ------------------
  |  Branch (791:13): [True: 3.65k, False: 0]
  ------------------
  792|  3.65k|            return {size + r.size, new_shift, new_root, r.tail->inc()};
  793|   441k|        } else {
  794|   441k|            auto tail_offst = tail_offset();
  795|   441k|            auto tail_size  = size - tail_offst;
  796|   441k|            auto concated   = concat_trees(root,
  797|   441k|                                         shift,
  798|   441k|                                         tail_offst,
  799|   441k|                                         tail,
  800|   441k|                                         tail_size,
  801|   441k|                                         r.root,
  802|   441k|                                         r.shift,
  803|   441k|                                         r.tail_offset());
  804|   441k|            auto new_shift  = concated.shift();
  805|   441k|            auto new_root   = concated.node();
  806|   441k|            IMMER_ASSERT_TAGGED(new_shift == new_root->compute_shift());
  ------------------
  |  |   68|   441k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (806:13): [True: 441k, False: 0]
  ------------------
  807|   441k|            assert(new_root->check(new_shift, size + r.tail_offset()));
  ------------------
  |  Branch (807:13): [True: 441k, False: 0]
  ------------------
  808|   441k|            return {size + r.size, new_shift, new_root, r.tail->inc()};
  809|   441k|        }
  810|   933k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13push_back_mutENS9_5applyIS6_E4type4editEi:
  478|  33.9k|    {
  479|  33.9k|        auto ts = tail_size();
  480|  33.9k|        if (ts < branches<BL>) {
  ------------------
  |  Branch (480:13): [True: 20.2k, False: 13.7k]
  ------------------
  481|  20.2k|            ensure_mutable_tail(e, ts);
  482|  20.2k|            new (&tail->leaf()[ts]) T(std::move(value));
  483|  20.2k|        } else {
  484|  13.7k|            using std::get;
  485|  13.7k|            auto new_tail = node_t::make_leaf_e(e, std::move(value));
  486|  13.7k|            auto tail_off = tail_offset();
  487|  13.7k|            IMMER_TRY {
  ------------------
  |  |   49|  13.7k|#define IMMER_TRY try
  ------------------
  488|  13.7k|                push_tail_mut(e, tail_off, tail, ts);
  489|  13.7k|                tail = new_tail;
  490|  13.7k|            }
  491|  13.7k|            IMMER_CATCH (...) {
  492|      0|                node_t::delete_leaf(new_tail, 1u);
  493|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  494|      0|            }
  495|  13.7k|        }
  496|  33.9k|        ++size;
  497|  33.9k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE19ensure_mutable_tailENS9_5applyIS6_E4type4editEj:
  469|   198k|    {
  470|   198k|        if (!tail->can_mutate(e)) {
  ------------------
  |  Branch (470:13): [True: 4.62k, False: 193k]
  ------------------
  471|  4.62k|            auto new_tail = node_t::copy_leaf_e(e, tail, n);
  472|  4.62k|            dec_leaf(tail, n);
  473|  4.62k|            tail = new_tail;
  474|  4.62k|        }
  475|   198k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13push_tail_mutENS9_5applyIS6_E4type4editEmPNS1_4nodeIiSA_Lj2ELj2EEEj:
  417|   225k|    {
  418|   225k|        if (auto r = root->relaxed()) {
  ------------------
  |  Branch (418:18): [True: 53.5k, False: 171k]
  ------------------
  419|  53.5k|            auto new_root =
  420|  53.5k|                make_relaxed_pos(root, shift, r)
  421|  53.5k|                    .visit(push_tail_mut_visitor<node_t>{}, e, tail, tail_size);
  422|  53.5k|            if (new_root) {
  ------------------
  |  Branch (422:17): [True: 52.2k, False: 1.25k]
  ------------------
  423|  52.2k|                root = new_root;
  424|  52.2k|            } else {
  425|  1.25k|                auto new_root = node_t::make_inner_r_e(e);
  426|  1.25k|                IMMER_TRY {
  ------------------
  |  |   49|  1.25k|#define IMMER_TRY try
  ------------------
  427|  1.25k|                    auto new_path        = node_t::make_path_e(e, shift, tail);
  428|  1.25k|                    new_root->inner()[0] = root;
  429|  1.25k|                    new_root->inner()[1] = new_path;
  430|  1.25k|                    new_root->relaxed()->d.sizes[0] = tail_off;
  431|  1.25k|                    new_root->relaxed()->d.sizes[1] = tail_off + tail_size;
  432|  1.25k|                    assert(tail_off);
  ------------------
  |  Branch (432:21): [True: 1.25k, False: 0]
  ------------------
  433|  1.25k|                    assert(tail_size);
  ------------------
  |  Branch (433:21): [True: 1.25k, False: 0]
  ------------------
  434|  1.25k|                    new_root->relaxed()->d.count = 2u;
  435|  1.25k|                    root                         = new_root;
  436|  1.25k|                    shift += B;
  437|  1.25k|                }
  438|  1.25k|                IMMER_CATCH (...) {
  439|      0|                    node_t::delete_inner_r_e(new_root);
  440|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  441|      0|                }
  442|  1.25k|            }
  443|   171k|        } else if (tail_off == size_t{branches<B>} << shift) {
  ------------------
  |  Branch (443:20): [True: 2.75k, False: 169k]
  ------------------
  444|  2.75k|            auto new_root = node_t::make_inner_e(e);
  445|  2.75k|            IMMER_TRY {
  ------------------
  |  |   49|  2.75k|#define IMMER_TRY try
  ------------------
  446|  2.75k|                auto new_path        = node_t::make_path_e(e, shift, tail);
  447|  2.75k|                new_root->inner()[0] = root;
  448|  2.75k|                new_root->inner()[1] = new_path;
  449|  2.75k|                root                 = new_root;
  450|  2.75k|                shift += B;
  451|  2.75k|            }
  452|  2.75k|            IMMER_CATCH (...) {
  453|      0|                node_t::delete_inner_e(new_root);
  454|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  455|      0|            }
  456|   169k|        } else if (tail_off) {
  ------------------
  |  Branch (456:20): [True: 166k, False: 2.33k]
  ------------------
  457|   166k|            auto new_root =
  458|   166k|                make_regular_sub_pos(root, shift, tail_off)
  459|   166k|                    .visit(push_tail_mut_visitor<node_t>{}, e, tail);
  460|   166k|            root = new_root;
  461|   166k|        } else {
  462|  2.33k|            auto new_root = node_t::make_path_e(e, shift, tail);
  463|  2.33k|            dec_empty_regular(root);
  464|  2.33k|            root = new_root;
  465|  2.33k|        }
  466|   225k|    }
flex-vector.cpp:_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10update_mutIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSG_E0_EEvNS9_5applyIS6_E4type4editEmOSG_:
  573|  75.7k|    {
  574|  75.7k|        auto& elem = get_mut(e, idx);
  575|  75.7k|        elem       = std::forward<FnT>(fn)(std::move(elem));
  576|  75.7k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7get_mutENS9_5applyIS6_E4type4editEm:
  539|  75.7k|    {
  540|  75.7k|        auto tail_off = tail_offset();
  541|  75.7k|        if (idx >= tail_off) {
  ------------------
  |  Branch (541:13): [True: 31.3k, False: 44.3k]
  ------------------
  542|  31.3k|            ensure_mutable_tail(e, size - tail_off);
  543|  31.3k|            return tail->leaf()[(idx - tail_off) & mask<BL>];
  544|  44.3k|        } else {
  545|  44.3k|            return visit_maybe_relaxed_sub(root,
  546|  44.3k|                                           shift,
  547|  44.3k|                                           tail_off,
  548|  44.3k|                                           get_mut_visitor<node_t>{},
  549|  44.3k|                                           idx,
  550|  44.3k|                                           e,
  551|  44.3k|                                           &root);
  552|  44.3k|        }
  553|  75.7k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8take_mutENS9_5applyIS6_E4type4editEm:
  606|  38.4k|    {
  607|  38.4k|        auto tail_off = tail_offset();
  608|  38.4k|        if (new_size == 0) {
  ------------------
  |  Branch (608:13): [True: 623, False: 37.8k]
  ------------------
  609|    623|            *this = {};
  610|  37.8k|        } else if (new_size >= size) {
  ------------------
  |  Branch (610:20): [True: 1.08k, False: 36.7k]
  ------------------
  611|  1.08k|            return;
  612|  36.7k|        } else if (new_size > tail_off) {
  ------------------
  |  Branch (612:20): [True: 767, False: 35.9k]
  ------------------
  613|    767|            auto ts    = size - tail_off;
  614|    767|            auto newts = new_size - tail_off;
  615|    767|            if (tail->can_mutate(e)) {
  ------------------
  |  Branch (615:17): [True: 467, False: 300]
  ------------------
  616|    467|                detail::destroy_n(tail->leaf() + newts, ts - newts);
  617|    467|            } else {
  618|    300|                auto new_tail = node_t::copy_leaf_e(e, tail, newts);
  619|    300|                dec_leaf(tail, ts);
  620|    300|                tail = new_tail;
  621|    300|            }
  622|    767|            size = new_size;
  623|    767|            return;
  624|  35.9k|        } else {
  625|  35.9k|            using std::get;
  626|  35.9k|            auto l = new_size - 1;
  627|  35.9k|            auto v = slice_right_mut_visitor<node_t>();
  628|  35.9k|            auto r = visit_maybe_relaxed_sub(root, shift, tail_off, v, l, e);
  629|  35.9k|            auto new_shift = get<0>(r);
  630|  35.9k|            auto new_root  = get<1>(r);
  631|  35.9k|            auto new_tail  = get<3>(r);
  632|  35.9k|            if (new_root) {
  ------------------
  |  Branch (632:17): [True: 29.8k, False: 6.11k]
  ------------------
  633|  29.8k|                root  = new_root;
  634|  29.8k|                shift = new_shift;
  635|  29.8k|            } else {
  636|  6.11k|                root  = empty_root();
  637|  6.11k|                shift = BL;
  638|  6.11k|            }
  639|  35.9k|            dec_leaf(tail, size - tail_off);
  640|  35.9k|            size = new_size;
  641|  35.9k|            tail = new_tail;
  642|  35.9k|            return;
  643|  35.9k|        }
  644|  38.4k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8drop_mutENS9_5applyIS6_E4type4editEm:
  675|  43.2k|    {
  676|  43.2k|        using std::get;
  677|  43.2k|        auto tail_off = tail_offset();
  678|  43.2k|        if (elems == 0) {
  ------------------
  |  Branch (678:13): [True: 2.23k, False: 41.0k]
  ------------------
  679|  2.23k|            return;
  680|  41.0k|        } else if (elems >= size) {
  ------------------
  |  Branch (680:20): [True: 281, False: 40.7k]
  ------------------
  681|    281|            *this = {};
  682|  40.7k|        } else if (elems == tail_off) {
  ------------------
  |  Branch (682:20): [True: 273, False: 40.4k]
  ------------------
  683|    273|            dec_inner(root, shift, tail_off);
  684|    273|            shift = BL;
  685|    273|            root  = empty_root();
  686|    273|            size -= elems;
  687|    273|            return;
  688|  40.4k|        } else if (elems > tail_off) {
  ------------------
  |  Branch (688:20): [True: 687, False: 39.7k]
  ------------------
  689|    687|            auto v = slice_left_mut_visitor<node_t>();
  690|    687|            tail   = get<1>(make_leaf_sub_pos(tail, size - tail_off)
  691|    687|                              .visit(v, elems - tail_off, e));
  692|    687|            if (tail_off) {
  ------------------
  |  Branch (692:17): [True: 248, False: 439]
  ------------------
  693|    248|                dec_inner(root, shift, tail_off);
  694|    248|                shift = BL;
  695|    248|                root  = empty_root();
  696|    248|            }
  697|    687|            size -= elems;
  698|    687|            return;
  699|  39.7k|        } else {
  700|  39.7k|            auto v = slice_left_mut_visitor<node_t>();
  701|  39.7k|            auto r =
  702|  39.7k|                visit_maybe_relaxed_sub(root, shift, tail_off, v, elems, e);
  703|  39.7k|            shift = get<0>(r);
  704|  39.7k|            root  = get<1>(r);
  705|  39.7k|            size -= elems;
  706|  39.7k|            return;
  707|  39.7k|        }
  708|  43.2k|    }
_ZN5immer6detail4rbts12concat_mut_lERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS9_5applyIS6_E4type4editERKSB_:
  816|   280k|    {
  817|   280k|        assert(&l != &r);
  ------------------
  |  Branch (817:9): [True: 280k, False: 0]
  ------------------
  818|   280k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (818:9): [True: 280k, False: 0]
  ------------------
  819|   280k|        using std::get;
  820|   280k|        if (l.size == 0)
  ------------------
  |  Branch (820:13): [True: 622, False: 279k]
  ------------------
  821|    622|            l = r;
  822|   279k|        else if (r.size == 0)
  ------------------
  |  Branch (822:18): [True: 553, False: 279k]
  ------------------
  823|    553|            return;
  824|   279k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (824:18): [True: 208k, False: 70.2k]
  ------------------
  825|       |            // just concat the tail, similar to push_back
  826|   208k|            auto tail_offst = l.tail_offset();
  827|   208k|            auto tail_size  = l.size - tail_offst;
  828|   208k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (828:17): [True: 66.3k, False: 142k]
  ------------------
  829|  66.3k|                l.push_tail_mut(el, tail_offst, l.tail, tail_size);
  830|  66.3k|                l.tail = r.tail->inc();
  831|  66.3k|                l.size += r.size;
  832|  66.3k|                return;
  833|   142k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (833:24): [True: 469, False: 141k]
  ------------------
  834|    469|                l.ensure_mutable_tail(el, tail_size);
  835|    469|                detail::uninitialized_copy(r.tail->leaf(),
  836|    469|                                           r.tail->leaf() + r.size,
  837|    469|                                           l.tail->leaf() + tail_size);
  838|    469|                l.size += r.size;
  839|    469|                return;
  840|   141k|            } else {
  841|   141k|                auto remaining = branches<BL> - tail_size;
  842|   141k|                l.ensure_mutable_tail(el, tail_size);
  843|   141k|                detail::uninitialized_copy(r.tail->leaf(),
  844|   141k|                                           r.tail->leaf() + remaining,
  845|   141k|                                           l.tail->leaf() + tail_size);
  846|   141k|                IMMER_TRY {
  ------------------
  |  |   49|   141k|#define IMMER_TRY try
  ------------------
  847|   141k|                    auto new_tail =
  848|   141k|                        node_t::copy_leaf_e(el, r.tail, remaining, r.size);
  849|   141k|                    IMMER_TRY {
  ------------------
  |  |   49|   141k|#define IMMER_TRY try
  ------------------
  850|   141k|                        l.push_tail_mut(el, tail_offst, l.tail, branches<BL>);
  851|   141k|                        l.tail = new_tail;
  852|   141k|                        l.size += r.size;
  853|   141k|                        return;
  854|   141k|                    }
  855|   141k|                    IMMER_CATCH (...) {
  856|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
  857|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  858|      0|                    }
  859|   141k|                }
  860|   141k|                IMMER_CATCH (...) {
  861|      0|                    detail::destroy_n(r.tail->leaf() + tail_size, remaining);
  862|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  863|      0|                }
  864|   141k|            }
  865|   208k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (865:20): [True: 461, False: 69.8k]
  ------------------
  866|    461|            if (supports_transient_concat) {
  ------------------
  |  Branch (866:17): [Folded, False: 461]
  ------------------
  867|      0|                auto tail_offst = l.tail_offset();
  868|      0|                auto tail_size  = l.size - tail_offst;
  869|      0|                auto concated =
  870|      0|                    concat_trees_mut(el,
  871|      0|                                     el,
  872|      0|                                     l.tail,
  873|      0|                                     tail_size,
  874|      0|                                     MemoryPolicy::transience_t::noone,
  875|      0|                                     r.root,
  876|      0|                                     r.shift,
  877|      0|                                     r.tail_offset());
  878|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (878:17): [True: 0, False: 0]
  ------------------
  879|      0|                                    concated.node()->compute_shift());
  880|      0|                l.size += r.size;
  881|      0|                l.shift = concated.shift();
  882|      0|                l.root  = concated.node();
  883|      0|                l.tail  = r.tail;
  884|      0|                assert(l.check_tree());
  ------------------
  |  Branch (884:17): [True: 0, False: 0]
  ------------------
  885|    461|            } else {
  886|    461|                auto tail_offst = l.tail_offset();
  887|    461|                auto tail_size  = l.size - tail_offst;
  888|    461|                auto concated   = concat_trees(
  889|    461|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
  890|    461|                l = {l.size + r.size,
  891|    461|                     concated.shift(),
  892|    461|                     concated.node(),
  893|    461|                     r.tail->inc()};
  894|    461|                assert(l.check_tree());
  ------------------
  |  Branch (894:17): [True: 461, False: 0]
  ------------------
  895|    461|                return;
  896|    461|            }
  897|  69.8k|        } else {
  898|  69.8k|            if (supports_transient_concat) {
  ------------------
  |  Branch (898:17): [Folded, False: 69.8k]
  ------------------
  899|      0|                auto tail_offst = l.tail_offset();
  900|      0|                auto tail_size  = l.size - tail_offst;
  901|      0|                assert(l.check_tree());
  ------------------
  |  Branch (901:17): [True: 0, False: 0]
  ------------------
  902|      0|                assert(r.check_tree());
  ------------------
  |  Branch (902:17): [True: 0, False: 0]
  ------------------
  903|      0|                auto concated =
  904|      0|                    concat_trees_mut(el,
  905|      0|                                     el,
  906|      0|                                     l.root,
  907|      0|                                     l.shift,
  908|      0|                                     tail_offst,
  909|      0|                                     l.tail,
  910|      0|                                     tail_size,
  911|      0|                                     MemoryPolicy::transience_t::noone,
  912|      0|                                     r.root,
  913|      0|                                     r.shift,
  914|      0|                                     r.tail_offset());
  915|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (915:17): [True: 0, False: 0]
  ------------------
  916|      0|                                    concated.node()->compute_shift());
  917|      0|                l.size += r.size;
  918|      0|                l.shift = concated.shift();
  919|      0|                l.root  = concated.node();
  920|      0|                l.tail  = r.tail;
  921|      0|                assert(l.check_tree());
  ------------------
  |  Branch (921:17): [True: 0, False: 0]
  ------------------
  922|  69.8k|            } else {
  923|  69.8k|                auto tail_offst = l.tail_offset();
  924|  69.8k|                auto tail_size  = l.size - tail_offst;
  925|  69.8k|                auto concated   = concat_trees(l.root,
  926|  69.8k|                                             l.shift,
  927|  69.8k|                                             tail_offst,
  928|  69.8k|                                             l.tail,
  929|  69.8k|                                             tail_size,
  930|  69.8k|                                             r.root,
  931|  69.8k|                                             r.shift,
  932|  69.8k|                                             r.tail_offset());
  933|  69.8k|                l               = {l.size + r.size,
  934|  69.8k|                                   concated.shift(),
  935|  69.8k|                                   concated.node(),
  936|  69.8k|                                   r.tail->inc()};
  937|  69.8k|            }
  938|  69.8k|        }
  939|   280k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEaSERKSB_:
  163|  2.37k|    {
  164|  2.37k|        auto next{other};
  165|  2.37k|        swap(*this, next);
  166|  2.37k|        return *this;
  167|  2.37k|    }
_ZN5immer6detail4rbts12concat_mut_rERKNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERSB_NS9_5applyIS6_E4type4editE:
  942|  3.38k|    {
  943|  3.38k|        assert(&l != &r);
  ------------------
  |  Branch (943:9): [True: 3.38k, False: 0]
  ------------------
  944|  3.38k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (944:9): [True: 3.38k, False: 0]
  ------------------
  945|  3.38k|        using std::get;
  946|  3.38k|        if (r.size == 0)
  ------------------
  |  Branch (946:13): [True: 302, False: 3.08k]
  ------------------
  947|    302|            r = std::move(l);
  948|  3.08k|        else if (l.size == 0)
  ------------------
  |  Branch (948:18): [True: 243, False: 2.84k]
  ------------------
  949|    243|            return;
  950|  2.84k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (950:18): [True: 755, False: 2.08k]
  ------------------
  951|       |            // just concat the tail, similar to push_back
  952|    755|            auto tail_offst = l.tail_offset();
  953|    755|            auto tail_size  = l.size - tail_offst;
  954|    755|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (954:17): [True: 236, False: 519]
  ------------------
  955|       |                // this could be improved by making sure that the
  956|       |                // newly created nodes as part of the `push_tail()`
  957|       |                // are tagged with `er`
  958|    236|                auto res =
  959|    236|                    l.push_tail(l.root, l.shift, tail_offst, l.tail, tail_size);
  960|    236|                l.tail->inc(); // note: leak if mutably concatenated
  961|       |                               // with itself, but this is forbidden
  962|       |                               // by the interface
  963|    236|                r = {l.size + r.size, get<0>(res), get<1>(res), r.tail->inc()};
  964|    236|                return;
  965|    519|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (965:24): [True: 252, False: 267]
  ------------------
  966|       |                // doing this in a exception way mutating way is very
  967|       |                // tricky while potential performance gains are
  968|       |                // minimal (we need to move every element of the right
  969|       |                // tail anyways to make space for the left tail)
  970|       |                //
  971|       |                // we could however improve this by at least moving the
  972|       |                // elements of the right tail...
  973|    252|                auto new_tail =
  974|    252|                    node_t::copy_leaf(l.tail, tail_size, r.tail, r.size);
  975|    252|                r = {l.size + r.size, l.shift, l.root->inc(), new_tail};
  976|    252|                return;
  977|    267|            } else {
  978|       |                // like the immutable version
  979|    267|                auto remaining = branches<BL> - tail_size;
  980|    267|                auto add_tail  = node_t::copy_leaf_e(
  981|    267|                    er, l.tail, tail_size, r.tail, remaining);
  982|    267|                IMMER_TRY {
  ------------------
  |  |   49|    267|#define IMMER_TRY try
  ------------------
  983|    267|                    auto new_tail =
  984|    267|                        node_t::copy_leaf_e(er, r.tail, remaining, r.size);
  985|    267|                    IMMER_TRY {
  ------------------
  |  |   49|    267|#define IMMER_TRY try
  ------------------
  986|       |                        // this could be improved by making sure that the
  987|       |                        // newly created nodes as part of the `push_tail()`
  988|       |                        // are tagged with `er`
  989|    267|                        auto new_root = l.push_tail(l.root,
  990|    267|                                                    l.shift,
  991|    267|                                                    tail_offst,
  992|    267|                                                    add_tail,
  993|    267|                                                    branches<BL>);
  994|    267|                        r             = {l.size + r.size,
  995|    267|                                         get<0>(new_root),
  996|    267|                                         get<1>(new_root),
  997|    267|                                         new_tail};
  998|    267|                        return;
  999|    267|                    }
 1000|    267|                    IMMER_CATCH (...) {
 1001|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
 1002|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1003|      0|                    }
 1004|    267|                }
 1005|    267|                IMMER_CATCH (...) {
 1006|      0|                    node_t::delete_leaf(add_tail, branches<BL>);
 1007|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1008|      0|                }
 1009|    267|            }
 1010|  2.08k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (1010:20): [True: 643, False: 1.44k]
  ------------------
 1011|    643|            if (supports_transient_concat) {
  ------------------
  |  Branch (1011:17): [Folded, False: 643]
  ------------------
 1012|      0|                auto tail_offst = l.tail_offset();
 1013|      0|                auto tail_size  = l.size - tail_offst;
 1014|      0|                auto concated =
 1015|      0|                    concat_trees_mut(er,
 1016|      0|                                     MemoryPolicy::transience_t::noone,
 1017|      0|                                     l.tail,
 1018|      0|                                     tail_size,
 1019|      0|                                     er,
 1020|      0|                                     r.root,
 1021|      0|                                     r.shift,
 1022|      0|                                     r.tail_offset());
 1023|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1023:17): [True: 0, False: 0]
  ------------------
 1024|      0|                                    concated.node()->compute_shift());
 1025|      0|                r.size += l.size;
 1026|      0|                r.shift = concated.shift();
 1027|      0|                r.root  = concated.node();
 1028|      0|                assert(r.check_tree());
  ------------------
  |  Branch (1028:17): [True: 0, False: 0]
  ------------------
 1029|    643|            } else {
 1030|    643|                auto tail_offst = l.tail_offset();
 1031|    643|                auto tail_size  = l.size - tail_offst;
 1032|    643|                auto concated   = concat_trees(
 1033|    643|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
 1034|    643|                r = {l.size + r.size,
 1035|    643|                     concated.shift(),
 1036|    643|                     concated.node(),
 1037|    643|                     r.tail->inc()};
 1038|    643|                return;
 1039|    643|            }
 1040|  1.44k|        } else {
 1041|  1.44k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1041:17): [Folded, False: 1.44k]
  ------------------
 1042|      0|                auto tail_offst = l.tail_offset();
 1043|      0|                auto tail_size  = l.size - tail_offst;
 1044|      0|                auto concated =
 1045|      0|                    concat_trees_mut(er,
 1046|      0|                                     MemoryPolicy::transience_t::noone,
 1047|      0|                                     l.root,
 1048|      0|                                     l.shift,
 1049|      0|                                     tail_offst,
 1050|      0|                                     l.tail,
 1051|      0|                                     tail_size,
 1052|      0|                                     er,
 1053|      0|                                     r.root,
 1054|      0|                                     r.shift,
 1055|      0|                                     r.tail_offset());
 1056|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1056:17): [True: 0, False: 0]
  ------------------
 1057|      0|                                    concated.node()->compute_shift());
 1058|      0|                r.size += l.size;
 1059|      0|                r.shift = concated.shift();
 1060|      0|                r.root  = concated.node();
 1061|      0|                assert(r.check_tree());
  ------------------
  |  Branch (1061:17): [True: 0, False: 0]
  ------------------
 1062|      0|                return;
 1063|  1.44k|            } else {
 1064|  1.44k|                auto tail_offst = l.tail_offset();
 1065|  1.44k|                auto tail_size  = l.size - tail_offst;
 1066|  1.44k|                auto concated   = concat_trees(l.root,
 1067|  1.44k|                                             l.shift,
 1068|  1.44k|                                             tail_offst,
 1069|  1.44k|                                             l.tail,
 1070|  1.44k|                                             tail_size,
 1071|  1.44k|                                             r.root,
 1072|  1.44k|                                             r.shift,
 1073|  1.44k|                                             r.tail_offset());
 1074|  1.44k|                r               = {l.size + r.size,
 1075|  1.44k|                                   concated.shift(),
 1076|  1.44k|                                   concated.node(),
 1077|  1.44k|                                   r.tail->inc()};
 1078|  1.44k|                return;
 1079|  1.44k|            }
 1080|  1.44k|        }
 1081|  3.38k|    }
_ZN5immer6detail4rbts15concat_mut_lr_lERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS9_5applyIS6_E4type4editESC_SG_:
 1084|  25.4k|    {
 1085|  25.4k|        assert(&l != &r);
  ------------------
  |  Branch (1085:9): [True: 25.4k, False: 0]
  ------------------
 1086|  25.4k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (1086:9): [True: 25.4k, False: 0]
  ------------------
 1087|  25.4k|        using std::get;
 1088|  25.4k|        if (l.size == 0)
  ------------------
  |  Branch (1088:13): [True: 1.44k, False: 23.9k]
  ------------------
 1089|  1.44k|            l = r;
 1090|  23.9k|        else if (r.size == 0)
  ------------------
  |  Branch (1090:18): [True: 1.64k, False: 22.3k]
  ------------------
 1091|  1.64k|            return;
 1092|  22.3k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (1092:18): [True: 5.06k, False: 17.2k]
  ------------------
 1093|       |            // just concat the tail, similar to push_back
 1094|  5.06k|            auto tail_offst = l.tail_offset();
 1095|  5.06k|            auto tail_size  = l.size - tail_offst;
 1096|  5.06k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (1096:17): [True: 866, False: 4.20k]
  ------------------
 1097|    866|                l.push_tail_mut(el, tail_offst, l.tail, tail_size);
 1098|    866|                l.tail = r.tail->inc();
 1099|    866|                l.size += r.size;
 1100|    866|                return;
 1101|  4.20k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (1101:24): [True: 1.60k, False: 2.59k]
  ------------------
 1102|  1.60k|                l.ensure_mutable_tail(el, tail_size);
 1103|  1.60k|                if (r.tail->can_mutate(er))
  ------------------
  |  Branch (1103:21): [True: 580, False: 1.02k]
  ------------------
 1104|    580|                    detail::uninitialized_move(r.tail->leaf(),
 1105|    580|                                               r.tail->leaf() + r.size,
 1106|    580|                                               l.tail->leaf() + tail_size);
 1107|  1.02k|                else
 1108|  1.02k|                    detail::uninitialized_copy(r.tail->leaf(),
 1109|  1.02k|                                               r.tail->leaf() + r.size,
 1110|  1.02k|                                               l.tail->leaf() + tail_size);
 1111|  1.60k|                l.size += r.size;
 1112|  1.60k|                return;
 1113|  2.59k|            } else {
 1114|  2.59k|                auto remaining = branches<BL> - tail_size;
 1115|  2.59k|                l.ensure_mutable_tail(el, tail_size);
 1116|  2.59k|                if (r.tail->can_mutate(er))
  ------------------
  |  Branch (1116:21): [True: 1.14k, False: 1.44k]
  ------------------
 1117|  1.14k|                    detail::uninitialized_move(r.tail->leaf(),
 1118|  1.14k|                                               r.tail->leaf() + remaining,
 1119|  1.14k|                                               l.tail->leaf() + tail_size);
 1120|  1.44k|                else
 1121|  1.44k|                    detail::uninitialized_copy(r.tail->leaf(),
 1122|  1.44k|                                               r.tail->leaf() + remaining,
 1123|  1.44k|                                               l.tail->leaf() + tail_size);
 1124|  2.59k|                IMMER_TRY {
  ------------------
  |  |   49|  2.59k|#define IMMER_TRY try
  ------------------
 1125|  2.59k|                    auto new_tail =
 1126|  2.59k|                        node_t::copy_leaf_e(el, r.tail, remaining, r.size);
 1127|  2.59k|                    IMMER_TRY {
  ------------------
  |  |   49|  2.59k|#define IMMER_TRY try
  ------------------
 1128|  2.59k|                        l.push_tail_mut(el, tail_offst, l.tail, branches<BL>);
 1129|  2.59k|                        l.tail = new_tail;
 1130|  2.59k|                        l.size += r.size;
 1131|  2.59k|                        return;
 1132|  2.59k|                    }
 1133|  2.59k|                    IMMER_CATCH (...) {
 1134|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
 1135|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1136|      0|                    }
 1137|  2.59k|                }
 1138|  2.59k|                IMMER_CATCH (...) {
 1139|      0|                    detail::destroy_n(r.tail->leaf() + tail_size, remaining);
 1140|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1141|      0|                }
 1142|  2.59k|            }
 1143|  17.2k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (1143:20): [True: 3.32k, False: 13.9k]
  ------------------
 1144|  3.32k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1144:17): [Folded, False: 3.32k]
  ------------------
 1145|      0|                auto tail_offst = l.tail_offset();
 1146|      0|                auto tail_size  = l.size - tail_offst;
 1147|      0|                auto concated   = concat_trees_mut(el,
 1148|      0|                                                 el,
 1149|      0|                                                 l.tail,
 1150|      0|                                                 tail_size,
 1151|      0|                                                 er,
 1152|      0|                                                 r.root,
 1153|      0|                                                 r.shift,
 1154|      0|                                                 r.tail_offset());
 1155|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1155:17): [True: 0, False: 0]
  ------------------
 1156|      0|                                    concated.node()->compute_shift());
 1157|      0|                l.size += r.size;
 1158|      0|                l.shift = concated.shift();
 1159|      0|                l.root  = concated.node();
 1160|      0|                l.tail  = r.tail;
 1161|      0|                assert(l.check_tree());
  ------------------
  |  Branch (1161:17): [True: 0, False: 0]
  ------------------
 1162|      0|                r.hard_reset();
 1163|      0|                return;
 1164|  3.32k|            } else {
 1165|  3.32k|                auto tail_offst = l.tail_offset();
 1166|  3.32k|                auto tail_size  = l.size - tail_offst;
 1167|  3.32k|                auto concated   = concat_trees(
 1168|  3.32k|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
 1169|  3.32k|                l = {l.size + r.size,
 1170|  3.32k|                     concated.shift(),
 1171|  3.32k|                     concated.node(),
 1172|  3.32k|                     r.tail->inc()};
 1173|  3.32k|                return;
 1174|  3.32k|            }
 1175|  13.9k|        } else {
 1176|  13.9k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1176:17): [Folded, False: 13.9k]
  ------------------
 1177|      0|                auto tail_offst = l.tail_offset();
 1178|      0|                auto tail_size  = l.size - tail_offst;
 1179|      0|                auto concated   = concat_trees_mut(el,
 1180|      0|                                                 el,
 1181|      0|                                                 l.root,
 1182|      0|                                                 l.shift,
 1183|      0|                                                 tail_offst,
 1184|      0|                                                 l.tail,
 1185|      0|                                                 tail_size,
 1186|      0|                                                 er,
 1187|      0|                                                 r.root,
 1188|      0|                                                 r.shift,
 1189|      0|                                                 r.tail_offset());
 1190|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1190:17): [True: 0, False: 0]
  ------------------
 1191|      0|                                    concated.node()->compute_shift());
 1192|      0|                l.size += r.size;
 1193|      0|                l.shift = concated.shift();
 1194|      0|                l.root  = concated.node();
 1195|      0|                l.tail  = r.tail;
 1196|      0|                assert(l.check_tree());
  ------------------
  |  Branch (1196:17): [True: 0, False: 0]
  ------------------
 1197|      0|                r.hard_reset();
 1198|      0|                return;
 1199|  13.9k|            } else {
 1200|  13.9k|                auto tail_offst = l.tail_offset();
 1201|  13.9k|                auto tail_size  = l.size - tail_offst;
 1202|  13.9k|                auto concated   = concat_trees(l.root,
 1203|  13.9k|                                             l.shift,
 1204|  13.9k|                                             tail_offst,
 1205|  13.9k|                                             l.tail,
 1206|  13.9k|                                             tail_size,
 1207|  13.9k|                                             r.root,
 1208|  13.9k|                                             r.shift,
 1209|  13.9k|                                             r.tail_offset());
 1210|  13.9k|                l               = {l.size + r.size,
 1211|  13.9k|                                   concated.shift(),
 1212|  13.9k|                                   concated.node(),
 1213|  13.9k|                                   r.tail->inc()};
 1214|  13.9k|                return;
 1215|  13.9k|            }
 1216|  13.9k|        }
 1217|  25.4k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6equalsERKSB_:
  315|  30.4k|    {
  316|  30.4k|        using iter_t = rrbtree_iterator<T, MemoryPolicy, B, BL>;
  317|  30.4k|        if (size != other.size)
  ------------------
  |  Branch (317:13): [True: 9.93k, False: 20.5k]
  ------------------
  318|  9.93k|            return false;
  319|  20.5k|        if (size == 0)
  ------------------
  |  Branch (319:13): [True: 212, False: 20.2k]
  ------------------
  320|    212|            return true;
  321|  20.2k|        auto tail_off       = tail_offset();
  322|  20.2k|        auto tail_off_other = other.tail_offset();
  323|       |        // compare trees
  324|  20.2k|        if (tail_off > 0 && tail_off_other > 0) {
  ------------------
  |  Branch (324:13): [True: 19.2k, False: 1.02k]
  |  Branch (324:29): [True: 19.0k, False: 195]
  ------------------
  325|       |            // other.shift != shift is a theoretical possibility for
  326|       |            // relaxed trees that sadly we haven't managed to exercise
  327|       |            // in tests yet...
  328|  19.0k|            if (other.shift >= shift) {
  ------------------
  |  Branch (328:17): [True: 18.3k, False: 742]
  ------------------
  329|  18.3k|                if (!visit_maybe_relaxed_sub(other.root,
  ------------------
  |  Branch (329:21): [True: 8.86k, False: 9.45k]
  ------------------
  330|  18.3k|                                             other.shift,
  331|  18.3k|                                             tail_off_other,
  332|  18.3k|                                             equals_visitor::rrb{},
  333|  18.3k|                                             iter_t{other},
  334|  18.3k|                                             root,
  335|  18.3k|                                             shift,
  336|  18.3k|                                             tail_off))
  337|  8.86k|                    return false;
  338|  18.3k|            } else {
  339|    742|                if (!visit_maybe_relaxed_sub(root,
  ------------------
  |  Branch (339:21): [True: 393, False: 349]
  ------------------
  340|    742|                                             shift,
  341|    742|                                             tail_off,
  342|    742|                                             equals_visitor::rrb{},
  343|    742|                                             iter_t{*this},
  344|    742|                                             other.root,
  345|    742|                                             other.shift,
  346|    742|                                             tail_off_other))
  347|    393|                    return false;
  348|    742|            }
  349|  19.0k|        }
  350|  11.0k|        return tail_off == tail_off_other
  ------------------
  |  Branch (350:16): [True: 7.07k, False: 3.95k]
  ------------------
  351|  11.0k|                   ? make_leaf_sub_pos(tail, tail_size())
  352|  7.07k|                         .visit(equals_visitor{}, other.tail)
  353|  11.0k|               : tail_off > tail_off_other
  ------------------
  |  Branch (353:18): [True: 1.64k, False: 2.30k]
  ------------------
  354|  3.95k|                   ? std::equal(tail->leaf(),
  355|  1.64k|                                tail->leaf() + (size - tail_off),
  356|  1.64k|                                other.tail->leaf() +
  357|  1.64k|                                    (tail_off - tail_off_other))
  358|       |                   /* otherwise */
  359|  3.95k|                   : std::equal(tail->leaf(),
  360|  2.30k|                                tail->leaf() + (size - tail_off),
  361|  2.30k|                                iter_t{other} + tail_off);
  362|  20.2k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10region_forEm:
  524|  1.42M|    {
  525|  1.42M|        using std::get;
  526|  1.42M|        auto tail_off = tail_offset();
  527|  1.42M|        if (idx >= tail_off) {
  ------------------
  |  Branch (527:13): [True: 4.15k, False: 1.41M]
  ------------------
  528|  4.15k|            return std::make_tuple(tail->leaf(), tail_off, size);
  529|  1.41M|        } else {
  530|  1.41M|            auto subs = visit_maybe_relaxed_sub(
  531|  1.41M|                root, shift, tail_off, region_for_visitor<T>(), idx);
  532|  1.41M|            auto first = idx - get<1>(subs);
  533|  1.41M|            auto end   = first + get<2>(subs);
  534|  1.41M|            return std::make_tuple(get<0>(subs), first, end);
  535|  1.41M|        }
  536|  1.42M|    }

_ZNK5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11dereferenceEv:
   90|  5.71M|    {
   91|  5.71M|        using std::get;
   92|  5.71M|        if (i_ < get<1>(curr_) || i_ >= get<2>(curr_))
  ------------------
  |  Branch (92:13): [True: 37.5k, False: 5.67M]
  |  Branch (92:35): [True: 1.38M, False: 4.29M]
  ------------------
   93|  1.42M|            curr_ = v_->region_for(i_);
   94|  5.71M|        return get<0>(curr_)[i_ - get<1>(curr_)];
   95|  5.71M|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7advanceEl:
   74|   237k|    {
   75|   237k|        using std::get;
   76|   237k|        assert(n <= 0 || i_ + static_cast<size_t>(n) <= v_->size);
  ------------------
  |  Branch (76:9): [True: 425, False: 237k]
  |  Branch (76:9): [True: 237k, False: 0]
  |  Branch (76:9): [True: 237k, False: 0]
  ------------------
   77|   237k|        assert(n >= 0 || static_cast<size_t>(-n) <= i_);
  ------------------
  |  Branch (77:9): [True: 237k, False: 0]
  |  Branch (77:9): [True: 0, False: 0]
  |  Branch (77:9): [True: 237k, False: 0]
  ------------------
   78|   237k|        i_ += n;
   79|   237k|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9incrementEv:
   60|  4.31M|    {
   61|  4.31M|        using std::get;
   62|  4.31M|        assert(i_ < v_->size);
  ------------------
  |  Branch (62:9): [True: 4.31M, False: 0]
  ------------------
   63|  4.31M|        ++i_;
   64|  4.31M|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ERKNS1_7rrbtreeIiSA_Lj2ELj2EEE:
   39|  21.3k|        : v_{&v}
   40|  21.3k|        , i_{0}
   41|  21.3k|        , curr_{nullptr, ~size_t{}, ~size_t{}}
   42|  21.3k|    {
   43|  21.3k|    }

_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERmEEEDcDpOT_:
   31|  15.5k|    {
   32|  15.5k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  15.5k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERmEEEDcDpOT_:
   31|  46.2k|    {
   32|  46.2k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  46.2k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EEEE13visit_regularIJRNS1_15regular_sub_posISD_EERmEEEDcDpOT_:
   37|  2.21k|    {
   38|  2.21k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.21k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EEEE13visit_regularIJRNS1_8full_posISD_EEmEEEDcDpOT_:
   37|  6.28k|    {
   38|  6.28k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.28k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EEEE13visit_regularIJRNS1_15regular_sub_posISD_EERmEEEDcDpOT_:
   37|  7.69k|    {
   38|  7.69k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  7.69k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EEEE13visit_regularIJRNS1_8full_posISD_EEmEEEDcDpOT_:
   37|  1.71k|    {
   38|  1.71k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.71k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EEEE13visit_regularIJRNS1_15regular_sub_posISD_EEmEEEDcDpOT_:
   37|  2.37k|    {
   38|  2.37k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.37k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_25singleton_regular_sub_posISD_EENS1_14empty_leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   37|  8.08k|    {
   38|  8.08k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  8.08k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_25singleton_regular_sub_posISD_EENS1_14empty_leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   43|  8.08k|    {
   44|  8.08k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  8.08k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   31|  5.71k|    {
   32|  5.71k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  5.71k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_11relaxed_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   43|  5.71k|    {
   44|  5.71k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  5.71k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE10visit_leafIJRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   49|  2.43M|    {
   50|  2.43M|        return Deriv::visit_node(std::forward<Args>(args)...);
   51|  2.43M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   31|  21.2M|    {
   32|  21.2M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  21.2M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE11visit_innerIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   43|  21.2M|    {
   44|  21.2M|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  21.2M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_21concat_merger_visitorEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_13concat_mergerISG_EEEEEDcDpOT_:
   31|  21.2M|    {
   32|  21.2M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  21.2M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   31|  17.8k|    {
   32|  17.8k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  17.8k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   37|    386|    {
   38|    386|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    386|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_8full_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   37|  1.16k|    {
   38|  1.16k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.16k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE10visit_leafIJRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   49|  1.18M|    {
   50|  1.18M|        return Deriv::visit_node(std::forward<Args>(args)...);
   51|  1.18M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   37|   844k|    {
   38|   844k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   844k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE11visit_innerIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   43|   844k|    {
   44|   844k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   844k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_21concat_merger_visitorEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_13concat_mergerISG_EEEEEDcDpOT_:
   37|   844k|    {
   38|   844k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   844k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   37|   738k|    {
   38|   738k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   738k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE11visit_innerIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   43|   738k|    {
   44|   738k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   738k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_21concat_merger_visitorEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_13concat_mergerISG_EEEEEDcDpOT_:
   37|   738k|    {
   38|   738k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   738k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   37|  2.37k|    {
   38|  2.37k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.37k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_15regular_sub_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   43|  2.37k|    {
   44|  2.37k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  2.37k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EENS1_8leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   31|   512k|    {
   32|   512k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   512k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_11relaxed_posISD_EENS1_8leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   43|   512k|    {
   44|   512k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   512k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   31|   496k|    {
   32|   496k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   496k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_11relaxed_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   43|   496k|    {
   44|   496k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   496k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EESJ_EEEDcDpOT_:
   31|  2.33M|    {
   32|  2.33M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  2.33M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EERNS1_11relaxed_posISD_EEEEEDcDpOT_:
   37|  6.51k|    {
   38|  6.51k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.51k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   31|   668k|    {
   32|   668k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   668k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|   132k|    {
   38|   132k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   132k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EESJ_EEEDcDpOT_:
   37|  1.34k|    {
   38|  1.34k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.34k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_8full_posISD_EERNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|   150k|    {
   38|   150k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   150k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EERNS1_8full_posISD_EEEEEDcDpOT_:
   37|  77.1k|    {
   38|  77.1k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  77.1k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EESJ_EEEDcDpOT_:
   37|  72.0k|    {
   38|  72.0k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  72.0k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EERNS1_11relaxed_posISD_EEEEEDcDpOT_:
   37|   790k|    {
   38|   790k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   790k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   31|  1.82M|    {
   32|  1.82M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.82M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|  2.20k|    {
   38|  2.20k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.20k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EERNS1_15regular_sub_posISD_EEEEEDcDpOT_:
   31|  59.9k|    {
   32|  59.9k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  59.9k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_8full_posISD_EERNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|  2.93k|    {
   38|  2.93k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.93k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EERNS1_8full_posISD_EEEEEDcDpOT_:
   31|    429|    {
   32|    429|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    429|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EERNS1_15regular_sub_posISD_EEEEEDcDpOT_:
   31|  1.52k|    {
   32|  1.52k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.52k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EESJ_EEEDcDpOT_:
   31|  1.74M|    {
   32|  1.74M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.74M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|  15.7k|    {
   38|  15.7k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  15.7k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_15regular_sub_posISD_EERNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   43|  15.7k|    {
   44|  15.7k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  15.7k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EENS1_8leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   37|  14.8k|    {
   38|  14.8k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  14.8k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_15regular_sub_posISD_EENS1_8leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   43|  14.8k|    {
   44|  14.8k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  14.8k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   31|  6.61k|    {
   32|  6.61k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  6.61k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_11relaxed_posISD_EERNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   43|  6.61k|    {
   44|  6.61k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  6.61k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|  8.27k|    {
   38|  8.27k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  8.27k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_15regular_sub_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   43|  8.27k|    {
   44|  8.27k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  8.27k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERKPSH_RKjRmEEEDcDpOT_:
   31|  12.3k|    {
   32|  12.3k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  12.3k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE11visit_innerIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERKPSH_RKjRmEEEDcDpOT_:
   43|  12.3k|    {
   44|  12.3k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  12.3k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjSJ_RNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   31|  21.0k|    {
   32|  21.0k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  21.0k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_15regular_sub_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   31|  2.22k|    {
   32|  2.22k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  2.22k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_8full_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   31|    883|    {
   32|    883|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    883|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_8full_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   37|  1.11k|    {
   38|  1.11k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.11k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18region_for_visitorIiEEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERmEEEDcDpOT_:
   31|  9.52M|    {
   32|  9.52M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  9.52M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18region_for_visitorIiEEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERmEEEDcDpOT_:
   37|   386k|    {
   38|   386k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   386k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18region_for_visitorIiEEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERmEEEDcDpOT_:
   37|  1.03M|    {
   38|  1.03M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.03M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18region_for_visitorIiEEE13visit_regularIJRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERmEEEDcDpOT_:
   37|   114k|    {
   38|   114k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   114k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_24for_each_chunk_p_visitorEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSF_Lj2ELj2EEEEEDaOT_EUlSN_T0_E_EEEDcDpOT_:
   37|  97.4k|    {
   38|  97.4k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  97.4k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjSJ_RNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   37|    744|    {
   38|    744|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    744|    }
_ZN5immer6detail4rbts12visitor_baseINS1_24for_each_chunk_p_visitorEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSF_Lj2ELj2EEEEEDaOT_EUlSN_T0_E_EEEDcDpOT_:
   37|  20.2k|    {
   38|  20.2k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  20.2k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_24for_each_chunk_p_visitorEE13visit_regularIJRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSF_Lj2ELj2EEEEEDaOT_EUlSN_T0_E_EEEDcDpOT_:
   37|  7.41k|    {
   38|  7.41k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  7.41k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_11relaxed_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   37|  2.53k|    {
   38|  2.53k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.53k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_11relaxed_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   37|  2.68k|    {
   38|  2.68k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.68k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_24for_each_chunk_p_visitorEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSF_Lj2ELj2EEEEEDaOT_EUlSN_T0_E_EEEDcDpOT_:
   31|   599k|    {
   32|   599k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   599k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERPSH_RjRmEEEDcDpOT_:
   31|  1.41k|    {
   32|  1.41k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.41k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE11visit_innerIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERPSH_RjRmEEEDcDpOT_:
   43|  1.41k|    {
   44|  1.41k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  1.41k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERKPSH_RKjRmEEEDcDpOT_:
   37|  6.71k|    {
   38|  6.71k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.71k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE11visit_innerIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERKPSH_RKjRmEEEDcDpOT_:
   43|  6.71k|    {
   44|  6.71k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  6.71k|    }

_ZN5immer6detail15auto_const_castINS_15refcount_policyEEERT_RKS3_:
  143|   121M|{
  144|   121M|    return const_cast<T&>(x);
  145|   121M|}
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7inner_tEPSC_Lb0EE15get_storage_ptrEv:
  113|   114M|    {
  114|   114M|        check_base();
  115|   114M|        auto* base = static_cast<Derived*>(this);
  116|   114M|        return reinterpret_cast<T*>(base + 1);
  117|   114M|    }
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7inner_tEPSC_Lb0EE10check_baseEv:
  134|   114M|    {
  135|   114M|        static_assert(std::is_standard_layout<Derived>::value &&
  136|   114M|                          !std::is_empty<Derived>::value,
  137|   114M|                      "Please add 'true' if the derived class is emtpy");
  138|   114M|    }
_ZN5immer6detail9static_ifILb1EZNS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSC_jEUlT_E_EENSt3__19enable_ifIXT_EvE4typeEOT0_:
  329|  12.2M|{
  330|  12.2M|    std::forward<F>(f)(empty_t{});
  331|  12.2M|}
_ZN5immer6detail9destroy_nIPijEENSt3__19enable_ifIX20can_trivially_detroyIT_EES5_E4typeES5_T0_:
  188|  1.52M|{
  189|  1.52M|    return first + n;
  190|  1.52M|}
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6leaf_tEiLb1EE15get_storage_ptrEv:
   75|  10.8M|    {
   76|  10.8M|        check_base();
   77|  10.8M|        return reinterpret_cast<T*>(this);
   78|  10.8M|    }
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6leaf_tEiLb1EE10check_baseEv:
   94|  10.8M|    {
   95|       |        // is_standard_layout requires that only one class in the hierarchy
   96|       |        // contains non-static data members. Since this class contains one
   97|       |        // member, the static_assert will only hold when the derived class is
   98|       |        // empty.
   99|  10.8M|        static_assert(std::is_standard_layout<Derived>::value,
  100|  10.8M|                      "Please remove 'true' if the derived class is non emtpy");
  101|  10.8M|    }
_ZN5immer6detail18uninitialized_copyIPiS2_S2_EENSt3__19enable_ifIX18can_trivially_copyIT_T1_EES6_E4typeES5_T0_S6_:
  236|  1.90M|{
  237|  1.90M|    return std::copy(first, last, out);
  238|  1.90M|}
_ZN5immer6detail9static_ifILb0EPNS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEZNSC_15make_inner_sr_nEjPNS0_3csl10member_twoINSC_14relaxed_data_tENSE_6memberIS8_NSE_7inheritINSA_5applyIS7_E4type5owneeEvE4typeEE4typeEE4typeEEUlT_E_ZNSC_15make_inner_sr_nEjST_EUlSU_E0_EENSt3__19enable_ifIXntT_ET0_E4typeEOT1_OT2_:
  344|   299k|{
  345|   299k|    return std::forward<F2>(f2)(empty_t{});
  346|   299k|}
_ZN5immer6detail4ipowImEET_S2_j:
  323|  71.1M|{
  324|  71.1M|    return pow == 0 ? 1 : num * ipow(num, pow - 1);
  ------------------
  |  Branch (324:12): [True: 2.22M, False: 68.9M]
  ------------------
  325|  71.1M|}
_ZN5immer6detail9static_ifILb0EPNS0_3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS2_6memberISA_NS2_7inheritINSC_5applyIS9_E4type5owneeEvE4typeEE4typeEE4typeEZNSE_24ensure_mutable_relaxed_nENSK_4editEjEUlT_E_ZNSE_24ensure_mutable_relaxed_nEST_jEUlSU_E0_EENSt3__19enable_ifIXntT_ET0_E4typeEOT1_OT2_:
  344|  78.3k|{
  345|  78.3k|    return std::forward<F2>(f2)(empty_t{});
  346|  78.3k|}
_ZN5immer6detail9static_ifILb1EZNS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_eENSA_5applyIS7_E4type4editEEUlT_E_EENSt3__19enable_ifIXT_EvE4typeEOT0_:
  329|   101k|{
  330|   101k|    std::forward<F>(f)(empty_t{});
  331|   101k|}
_ZN5immer6detail9static_ifILb0EPNS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEZNSC_15make_inner_sr_eENSA_5applyIS7_E4type4editEPNS0_3csl10member_twoINSC_14relaxed_data_tENSI_6memberIS8_NSI_7inheritINSG_5owneeEvE4typeEE4typeEE4typeEEUlT_E_ZNSC_15make_inner_sr_eESH_SU_EUlSV_E0_EENSt3__19enable_ifIXntT_ET0_E4typeEOT1_OT2_:
  344|  12.0k|{
  345|  12.0k|    return std::forward<F2>(f2)(empty_t{});
  346|  12.0k|}
_ZN5immer6detail9destroy_nIPimEENSt3__19enable_ifIX20can_trivially_detroyIT_EES5_E4typeES5_T0_:
  188|    467|{
  189|    467|    return first + n;
  190|    467|}
_ZN5immer6detail9static_ifILb0EPNS0_3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS2_6memberISA_NS2_7inheritINSC_5applyIS9_E4type5owneeEvE4typeEE4typeEE4typeEZNSE_22ensure_mutable_relaxedENSK_4editEEUlT_E_ZNSE_22ensure_mutable_relaxedEST_EUlSU_E0_EENSt3__19enable_ifIXntT_ET0_E4typeEOT1_OT2_:
  344|   201k|{
  345|   201k|    return std::forward<F2>(f2)(empty_t{});
  346|   201k|}
_ZN5immer6detail18uninitialized_moveIPiS2_EENSt3__19enable_ifIX18can_trivially_copyIT_T0_EES6_E4typeES5_S5_S6_:
  210|  1.72k|{
  211|  1.72k|    return std::copy(first, last, out);
  212|  1.72k|}
_ZN5immer6detail8as_constIiEEPKT_PS2_:
   29|  1.39M|{
   30|  1.39M|    return x;
   31|  1.39M|}
_ZN5immer6detail4makeINS_15debug_size_heapINS_8cpp_heapEEENS_3boxIiNS_13memory_policyINS_21free_list_heap_policyIS3_Lm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEE6holderEJiEEEPT0_DpOT1_:
  260|  20.2k|{
  261|  20.2k|    auto ptr = Heap::allocate(sizeof(T));
  262|  20.2k|    IMMER_TRY {
  ------------------
  |  |   49|  20.2k|#define IMMER_TRY try
  ------------------
  263|  20.2k|        return new (ptr) T(std::forward<Args>(args)...);
  264|  20.2k|    }
  265|  20.2k|    IMMER_CATCH (...) {
  266|      0|        Heap::deallocate(sizeof(T), ptr);
  267|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  268|      0|    }
  269|  20.2k|}

_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2Ev:
   96|  72.6k|    flex_vector() = default;
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  246|   438k|    {
  247|   438k|        return impl_.push_back(std::move(value));
  248|   438k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ENS_6detail4rbts7rrbtreeIiS8_Lj2ELj2EEE:
  536|  1.53M|        : impl_(std::move(impl))
  537|  1.53M|    {
  538|       |#if IMMER_DEBUG_PRINT
  539|       |        // force the compiler to generate debug_print, so we can call
  540|       |        // it from a debugger
  541|       |        [](volatile auto) {}(&flex_vector::debug_print);
  542|       |#endif
  543|  1.53M|    }
_ZNK5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4sizeEv:
  181|  2.94M|    IMMER_NODISCARD size_type size() const { return impl_.size; }
flex-vector.cpp:_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6updateIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSE_E_EES9_mOSE_:
  323|   112k|    {
  324|   112k|        return impl_.update(index, std::forward<FnT>(fn));
  325|   112k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  350|  25.6k|    {
  351|  25.6k|        return impl_.take(elems);
  352|  25.6k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  376|  27.2k|    {
  377|  27.2k|        return impl_.drop(elems);
  378|  27.2k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8max_sizeEv:
   90|  1.28M|    constexpr static size_type max_size() { return impl_t::max_size(); }
_ZN5immerplERKNS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESB_:
  403|   933k|    {
  404|   933k|        return l.impl_.concat(r.impl_);
  405|   933k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  251|  33.9k|    {
  252|  33.9k|        return push_back_move(move_t{}, std::move(value));
  253|  33.9k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14push_back_moveENSt3__117integral_constantIbLb1EEEi:
  547|  33.9k|    {
  548|  33.9k|        impl_.push_back_mut({}, std::move(value));
  549|  33.9k|        return std::move(*this);
  550|  33.9k|    }
flex-vector.cpp:_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6updateIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSE_E0_EEDcmOSE_:
  329|  75.7k|    {
  330|  75.7k|        return update_move(move_t{}, index, std::forward<FnT>(fn));
  331|  75.7k|    }
flex-vector.cpp:_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11update_moveIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSE_E0_EEOS9_NSt3__117integral_constantIbLb1EEEmOSE_:
  568|  75.7k|    {
  569|  75.7k|        impl_.update_mut({}, index, std::forward<Fn>(fn));
  570|  75.7k|        return std::move(*this);
  571|  75.7k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  355|  38.4k|    {
  356|  38.4k|        return take_move(move_t{}, elems);
  357|  38.4k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9take_moveENSt3__117integral_constantIbLb1EEEm:
  579|  38.4k|    {
  580|  38.4k|        impl_.take_mut({}, elems);
  581|  38.4k|        return std::move(*this);
  582|  38.4k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  381|  43.2k|    {
  382|  43.2k|        return drop_move(move_t{}, elems);
  383|  43.2k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9drop_moveENSt3__117integral_constantIbLb1EEEm:
  589|  43.2k|    {
  590|  43.2k|        impl_.drop_mut({}, elems);
  591|  43.2k|        return std::move(*this);
  592|  43.2k|    }
_ZN5immerplEONS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERKS9_:
  409|   280k|    {
  410|   280k|        return concat_move(move_t{}, std::move(l), r);
  411|   280k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEEOS9_RKS9_:
  600|   280k|    {
  601|   280k|        concat_mut_l(l.impl_, {}, r.impl_);
  602|   280k|        return std::move(l);
  603|   280k|    }
_ZN5immerplERKNS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEOS9_:
  415|  3.38k|    {
  416|  3.38k|        return concat_move(move_t{}, l, std::move(r));
  417|  3.38k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEERKS9_OS9_:
  606|  3.38k|    {
  607|  3.38k|        concat_mut_r(l.impl_, r.impl_, {});
  608|  3.38k|        return std::move(r);
  609|  3.38k|    }
_ZN5immerplEONS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESA_:
  421|  25.4k|    {
  422|  25.4k|        return concat_move(move_t{}, std::move(l), std::move(r));
  423|  25.4k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEEOS9_SD_:
  612|  25.4k|    {
  613|  25.4k|        concat_mut_lr_l(l.impl_, {}, r.impl_, {});
  614|  25.4k|        return std::move(l);
  615|  25.4k|    }
_ZNK5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEeqERKS9_:
  222|  30.4k|    {
  223|  30.4k|        return impl_.equals(other.impl_);
  224|  30.4k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5eraseEm:
  480|  3.56k|    {
  481|  3.56k|        return take(pos) + drop(pos + 1);
  482|  3.56k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6insertEmi:
  442|  20.2k|    {
  443|  20.2k|        return take(pos).push_back(std::move(value)) + drop(pos);
  444|  20.2k|    }

_ZN5immer8cpp_heap10deallocateEmPv:
   36|  10.8M|    static void deallocate(std::size_t, void* data) { ::operator delete(data); }
_ZN5immer8cpp_heap8allocateIJEEEPvmDpT_:
   27|  10.8M|    {
   28|  10.8M|        return ::operator new(size);
   29|  10.8M|    }

_ZN5immer15debug_size_heapINS_8cpp_heapEE10deallocateIJEEEvmPvDpT_:
   57|  10.8M|    {
   58|  10.8M|        auto p = (std::size_t*) (((char*) data) - extra_size);
   59|  10.8M|        assert(*p == size);
  ------------------
  |  Branch (59:9): [True: 10.8M, False: 0]
  ------------------
   60|  10.8M|        Base::deallocate(size + extra_size, p, tags...);
   61|  10.8M|    }
_ZN5immer15debug_size_heapINS_8cpp_heapEE8allocateIJEEEPvmDpT_:
   49|  10.8M|    {
   50|  10.8M|        auto p = (std::size_t*) Base::allocate(size + extra_size, tags...);
   51|  10.8M|        new (p) std::size_t{size};
   52|  10.8M|        return ((char*) p) + extra_size;
   53|  10.8M|    }

_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE10deallocateIJEEEvmPvDpT_:
   56|  11.4M|    {
   57|  11.4M|        assert(size <= Size);
  ------------------
  |  Branch (57:9): [True: 11.4M, False: 0]
  ------------------
   58|       |
   59|       |        // we use relaxed, because we are fine with temporarily having
   60|       |        // a few more/less buffers in free list
   61|  11.4M|        if (head().count.load(std::memory_order_relaxed) >= Limit) {
  ------------------
  |  Branch (61:13): [True: 10.8M, False: 618k]
  ------------------
   62|  10.8M|            base_t::deallocate(Size, data);
   63|  10.8M|        } else {
   64|   618k|            auto n = static_cast<node_t*>(data);
   65|   618k|            do {
   66|   618k|                n->next = head().data;
   67|   618k|            } while (!head().data.compare_exchange_weak(n->next, n));
  ------------------
  |  Branch (67:22): [True: 0, False: 618k]
  ------------------
   68|   618k|            head().count.fetch_add(1u, std::memory_order_relaxed);
   69|   618k|        }
   70|  11.4M|    }
_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE4headEv:
   80|  25.9M|    {
   81|  25.9M|        static head_t head_{{nullptr}, {0}};
   82|  25.9M|        return head_;
   83|  25.9M|    }
_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE8allocateIJEEEPvmDpT_:
   39|  11.4M|    {
   40|  11.4M|        assert(size <= Size);
  ------------------
  |  Branch (40:9): [True: 11.4M, False: 0]
  ------------------
   41|       |
   42|  11.4M|        node_t* n;
   43|  11.4M|        do {
   44|  11.4M|            n = head().data;
   45|  11.4M|            if (!n) {
  ------------------
  |  Branch (45:17): [True: 10.8M, False: 617k]
  ------------------
   46|  10.8M|                auto p = base_t::allocate(Size);
   47|  10.8M|                return p;
   48|  10.8M|            }
   49|  11.4M|        } while (!head().data.compare_exchange_weak(n, n->next));
  ------------------
  |  Branch (49:18): [True: 0, False: 617k]
  ------------------
   50|   617k|        head().count.fetch_sub(1u, std::memory_order_relaxed);
   51|   617k|        return n;
   52|  11.4M|    }

_ZN5immer10split_heapILm56ENS_27thread_local_free_list_heapILm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEES5_E10deallocateIJEEEvmPvDpT_:
   33|  28.8M|    {
   34|  28.8M|        if (size <= Size)
  ------------------
  |  Branch (34:13): [True: 28.8M, False: 0]
  ------------------
   35|  28.8M|            SmallHeap::deallocate(size, data, tags...);
   36|      0|        else
   37|      0|            BigHeap::deallocate(size, data, tags...);
   38|  28.8M|    }
_ZN5immer10split_heapILm56ENS_27thread_local_free_list_heapILm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEES5_E8allocateIJEEEPvmDpT_:
   26|  16.9M|    {
   27|  16.9M|        return size <= Size ? SmallHeap::allocate(size, tags...)
  ------------------
  |  Branch (27:16): [True: 16.9M, False: 0]
  ------------------
   28|  16.9M|                            : BigHeap::allocate(size, tags...);
   29|  16.9M|    }
_ZN5immer10split_heapILm56ENS_27thread_local_free_list_heapILm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEES5_E8allocateIJNS_10norefs_tagEEEEPvmDpT_:
   26|  11.8M|    {
   27|  11.8M|        return size <= Size ? SmallHeap::allocate(size, tags...)
  ------------------
  |  Branch (27:16): [True: 11.8M, False: 0]
  ------------------
   28|  11.8M|                            : BigHeap::allocate(size, tags...);
   29|  11.8M|    }

_ZN5immer6detail30thread_local_free_list_storageINS0_26unsafe_free_list_heap_implIS1_Lm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEEE4headEv:
   35|   145M|    {
   36|   145M|        thread_local static head_t head_{nullptr, 0};
   37|   145M|        return head_;
   38|   145M|    }
_ZN5immer6detail30thread_local_free_list_storageINS0_26unsafe_free_list_heap_implIS1_Lm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEEE6head_tD2Ev:
   31|      1|        ~head_t() { Heap::clear(); }

_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE10deallocateIJEEEvmPvDpT_:
   72|  28.8M|    {
   73|  28.8M|        assert(size <= Size);
  ------------------
  |  Branch (73:9): [True: 28.8M, False: 0]
  ------------------
   74|       |
   75|  28.8M|        if (storage::head().count >= Limit)
  ------------------
  |  Branch (75:13): [True: 11.4M, False: 17.4M]
  ------------------
   76|  11.4M|            base_t::deallocate(Size, data);
   77|  17.4M|        else {
   78|  17.4M|            auto n               = static_cast<node_t*>(data);
   79|  17.4M|            n->next              = storage::head().data;
   80|  17.4M|            storage::head().data = n;
   81|  17.4M|            ++storage::head().count;
   82|  17.4M|        }
   83|  28.8M|    }
_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE5clearEv:
   86|      1|    {
   87|  1.02k|        while (storage::head().data) {
  ------------------
  |  Branch (87:16): [True: 1.02k, False: 1]
  ------------------
   88|  1.02k|            auto n = storage::head().data->next;
   89|  1.02k|            base_t::deallocate(Size, storage::head().data);
   90|  1.02k|            storage::head().data = n;
   91|  1.02k|            --storage::head().count;
   92|  1.02k|        }
   93|      1|    }
_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE8allocateIJEEEPvmDpT_:
   57|  16.9M|    {
   58|  16.9M|        assert(size <= Size);
  ------------------
  |  Branch (58:9): [True: 16.9M, False: 0]
  ------------------
   59|       |
   60|  16.9M|        auto n = storage::head().data;
   61|  16.9M|        if (!n) {
  ------------------
  |  Branch (61:13): [True: 5.84M, False: 11.1M]
  ------------------
   62|  5.84M|            auto p = base_t::allocate(Size);
   63|  5.84M|            return p;
   64|  5.84M|        }
   65|  11.1M|        --storage::head().count;
   66|  11.1M|        storage::head().data = n->next;
   67|  11.1M|        return n;
   68|  16.9M|    }
_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE8allocateIJNS_10norefs_tagEEEEPvmDpT_:
   57|  11.8M|    {
   58|  11.8M|        assert(size <= Size);
  ------------------
  |  Branch (58:9): [True: 11.8M, False: 0]
  ------------------
   59|       |
   60|  11.8M|        auto n = storage::head().data;
   61|  11.8M|        if (!n) {
  ------------------
  |  Branch (61:13): [True: 5.58M, False: 6.31M]
  ------------------
   62|  5.58M|            auto p = base_t::allocate(Size);
   63|  5.58M|            return p;
   64|  5.58M|        }
   65|  6.31M|        --storage::head().count;
   66|  6.31M|        storage::head().data = n->next;
   67|  6.31M|        return n;
   68|  11.8M|    }

_ZN5immer15refcount_policyC2Ev:
   28|  28.9M|        : refcount{1} {};
_ZN5immer15refcount_policy3incEv:
   34|  45.3M|    void inc() { refcount.fetch_add(1, std::memory_order_relaxed); }
_ZN5immer15refcount_policy3decEv:
   36|  74.2M|    bool dec() { return 1 == refcount.fetch_sub(1, std::memory_order_acq_rel); }
_ZN5immer15refcount_policy6uniqueEv:
   38|  2.25M|    bool unique() { return refcount == 1; }

_ZNK5immer20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5ownee5ownedEv:
   36|  28.8M|                bool owned() const { return false; }
_ZNK5immer20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5ownee10can_mutateENS6_4editE:
   35|   118k|                bool can_mutate(edit) const { return false; }
_ZN5immer20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeaSENS6_4editE:
   34|   558k|                ownee& operator=(edit) { return *this; };

