LLVMFuzzerTestOneInput:
   18|  9.49k|{
   19|  9.49k|    constexpr auto var_count = 8;
   20|  9.49k|    constexpr auto bits      = 2;
   21|       |
   22|  9.49k|    using vector_t =
   23|  9.49k|        immer::flex_vector<int, immer::default_memory_policy, bits, bits>;
   24|  9.49k|    using size_t = std::uint8_t;
   25|       |
   26|  9.49k|    auto vars = std::array<vector_t, var_count>{};
   27|       |
   28|  9.49k|    auto is_valid_var = [&](auto idx) { return idx >= 0 && idx < var_count; };
   29|  9.49k|    auto is_valid_var_neq = [](auto other) {
   30|  9.49k|        return [=](auto idx) {
   31|  9.49k|            return idx >= 0 && idx < var_count && idx != other;
   32|  9.49k|        };
   33|  9.49k|    };
   34|  9.49k|    auto is_valid_index = [](auto& v) {
   35|  9.49k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
   36|  9.49k|    };
   37|  9.49k|    auto is_valid_size = [](auto& v) {
   38|  9.49k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
   39|  9.49k|    };
   40|  9.49k|    auto can_concat = [](auto&& v1, auto&& v2) {
   41|  9.49k|        return v1.size() + v2.size() < vector_t::max_size();
   42|  9.49k|    };
   43|  9.49k|    auto can_compare = [](auto&& v) {
   44|       |        // avoid comparing vectors that are too big, and hence, slow to compare
   45|  9.49k|        return v.size() < (1 << 15);
   46|  9.49k|    };
   47|  9.49k|    return fuzzer_input{data, size}.run([&](auto& in) {
   48|  9.49k|        enum ops
   49|  9.49k|        {
   50|  9.49k|            op_push_back,
   51|  9.49k|            op_update,
   52|  9.49k|            op_take,
   53|  9.49k|            op_drop,
   54|  9.49k|            op_concat,
   55|  9.49k|            op_push_back_move,
   56|  9.49k|            op_update_move,
   57|  9.49k|            op_take_move,
   58|  9.49k|            op_drop_move,
   59|  9.49k|            op_concat_move_l,
   60|  9.49k|            op_concat_move_r,
   61|  9.49k|            op_concat_move_lr,
   62|  9.49k|            op_insert,
   63|  9.49k|            op_erase,
   64|  9.49k|            op_compare,
   65|  9.49k|        };
   66|  9.49k|        auto src = read<char>(in, is_valid_var);
   67|  9.49k|        auto dst = read<char>(in, is_valid_var);
   68|  9.49k|        switch (read<char>(in)) {
   69|  9.49k|        case op_push_back: {
   70|  9.49k|            vars[dst] = vars[src].push_back(42);
   71|  9.49k|            break;
   72|  9.49k|        }
   73|  9.49k|        case op_update: {
   74|  9.49k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
   75|  9.49k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
   76|  9.49k|            break;
   77|  9.49k|        }
   78|  9.49k|        case op_take: {
   79|  9.49k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   80|  9.49k|            vars[dst] = vars[src].take(idx);
   81|  9.49k|            break;
   82|  9.49k|        }
   83|  9.49k|        case op_drop: {
   84|  9.49k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   85|  9.49k|            vars[dst] = vars[src].drop(idx);
   86|  9.49k|            break;
   87|  9.49k|        }
   88|  9.49k|        case op_concat: {
   89|  9.49k|            auto src2 = read<char>(in, is_valid_var);
   90|  9.49k|            if (can_concat(vars[src], vars[src2]))
   91|  9.49k|                vars[dst] = vars[src] + vars[src2];
   92|  9.49k|            break;
   93|  9.49k|        }
   94|  9.49k|        case op_push_back_move: {
   95|  9.49k|            vars[dst] = std::move(vars[src]).push_back(21);
   96|  9.49k|            break;
   97|  9.49k|        }
   98|  9.49k|        case op_update_move: {
   99|  9.49k|            auto idx = read<size_t>(in, is_valid_index(vars[src]));
  100|  9.49k|            vars[dst] =
  101|  9.49k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
  102|  9.49k|            break;
  103|  9.49k|        }
  104|  9.49k|        case op_take_move: {
  105|  9.49k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  106|  9.49k|            vars[dst] = std::move(vars[src]).take(idx);
  107|  9.49k|            break;
  108|  9.49k|        }
  109|  9.49k|        case op_drop_move: {
  110|  9.49k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  111|  9.49k|            vars[dst] = std::move(vars[src]).drop(idx);
  112|  9.49k|            break;
  113|  9.49k|        }
  114|  9.49k|        case op_concat_move_l: {
  115|  9.49k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  116|  9.49k|            if (can_concat(vars[src], vars[src2]))
  117|  9.49k|                vars[dst] = std::move(vars[src]) + vars[src2];
  118|  9.49k|            break;
  119|  9.49k|        }
  120|  9.49k|        case op_concat_move_r: {
  121|  9.49k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  122|  9.49k|            if (can_concat(vars[src], vars[src2]))
  123|  9.49k|                vars[dst] = vars[src] + std::move(vars[src2]);
  124|  9.49k|            break;
  125|  9.49k|        }
  126|  9.49k|        case op_concat_move_lr: {
  127|  9.49k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  128|  9.49k|            if (can_concat(vars[src], vars[src2]))
  129|  9.49k|                vars[dst] = std::move(vars[src]) + std::move(vars[src2]);
  130|  9.49k|            break;
  131|  9.49k|        }
  132|  9.49k|        case op_compare: {
  133|  9.49k|            using std::swap;
  134|  9.49k|            if (can_compare(vars[src]) && vars[src] == vars[dst])
  135|  9.49k|                swap(vars[src], vars[dst]);
  136|  9.49k|            break;
  137|  9.49k|        }
  138|  9.49k|        case op_erase: {
  139|  9.49k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
  140|  9.49k|            vars[dst] = vars[src].erase(idx);
  141|  9.49k|            break;
  142|  9.49k|        }
  143|  9.49k|        case op_insert: {
  144|  9.49k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  145|  9.49k|            vars[dst] = vars[src].insert(idx, immer::box<int>{42});
  146|  9.49k|            break;
  147|  9.49k|        }
  148|  9.49k|        default:
  149|  9.49k|            break;
  150|  9.49k|        };
  151|  9.49k|        return true;
  152|  9.49k|    });
  153|  9.49k|}
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_:
   47|  2.07M|    return fuzzer_input{data, size}.run([&](auto& in) {
   48|  2.07M|        enum ops
   49|  2.07M|        {
   50|  2.07M|            op_push_back,
   51|  2.07M|            op_update,
   52|  2.07M|            op_take,
   53|  2.07M|            op_drop,
   54|  2.07M|            op_concat,
   55|  2.07M|            op_push_back_move,
   56|  2.07M|            op_update_move,
   57|  2.07M|            op_take_move,
   58|  2.07M|            op_drop_move,
   59|  2.07M|            op_concat_move_l,
   60|  2.07M|            op_concat_move_r,
   61|  2.07M|            op_concat_move_lr,
   62|  2.07M|            op_insert,
   63|  2.07M|            op_erase,
   64|  2.07M|            op_compare,
   65|  2.07M|        };
   66|  2.07M|        auto src = read<char>(in, is_valid_var);
   67|  2.07M|        auto dst = read<char>(in, is_valid_var);
   68|  2.07M|        switch (read<char>(in)) {
   69|   429k|        case op_push_back: {
  ------------------
  |  Branch (69:9): [True: 429k, False: 1.65M]
  ------------------
   70|   429k|            vars[dst] = vars[src].push_back(42);
   71|   429k|            break;
   72|      0|        }
   73|   136k|        case op_update: {
  ------------------
  |  Branch (73:9): [True: 136k, False: 1.94M]
  ------------------
   74|   136k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
   75|   136k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
   76|   136k|            break;
   77|      0|        }
   78|  1.50k|        case op_take: {
  ------------------
  |  Branch (78:9): [True: 1.50k, False: 2.07M]
  ------------------
   79|  1.50k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   80|  1.50k|            vars[dst] = vars[src].take(idx);
   81|  1.50k|            break;
   82|      0|        }
   83|  3.08k|        case op_drop: {
  ------------------
  |  Branch (83:9): [True: 3.08k, False: 2.07M]
  ------------------
   84|  3.08k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   85|  3.08k|            vars[dst] = vars[src].drop(idx);
   86|  3.08k|            break;
   87|      0|        }
   88|   949k|        case op_concat: {
  ------------------
  |  Branch (88:9): [True: 949k, False: 1.12M]
  ------------------
   89|   949k|            auto src2 = read<char>(in, is_valid_var);
   90|   949k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (90:17): [True: 909k, False: 39.5k]
  ------------------
   91|   909k|                vars[dst] = vars[src] + vars[src2];
   92|   949k|            break;
   93|      0|        }
   94|  12.8k|        case op_push_back_move: {
  ------------------
  |  Branch (94:9): [True: 12.8k, False: 2.06M]
  ------------------
   95|  12.8k|            vars[dst] = std::move(vars[src]).push_back(21);
   96|  12.8k|            break;
   97|      0|        }
   98|  55.8k|        case op_update_move: {
  ------------------
  |  Branch (98:9): [True: 55.8k, False: 2.02M]
  ------------------
   99|  55.8k|            auto idx = read<size_t>(in, is_valid_index(vars[src]));
  100|  55.8k|            vars[dst] =
  101|  55.8k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
  102|  55.8k|            break;
  103|      0|        }
  104|  37.4k|        case op_take_move: {
  ------------------
  |  Branch (104:9): [True: 37.4k, False: 2.04M]
  ------------------
  105|  37.4k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  106|  37.4k|            vars[dst] = std::move(vars[src]).take(idx);
  107|  37.4k|            break;
  108|      0|        }
  109|  40.0k|        case op_drop_move: {
  ------------------
  |  Branch (109:9): [True: 40.0k, False: 2.03M]
  ------------------
  110|  40.0k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  111|  40.0k|            vars[dst] = std::move(vars[src]).drop(idx);
  112|  40.0k|            break;
  113|      0|        }
  114|   311k|        case op_concat_move_l: {
  ------------------
  |  Branch (114:9): [True: 311k, False: 1.76M]
  ------------------
  115|   311k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  116|   311k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (116:17): [True: 303k, False: 8.02k]
  ------------------
  117|   303k|                vars[dst] = std::move(vars[src]) + vars[src2];
  118|   311k|            break;
  119|      0|        }
  120|  4.03k|        case op_concat_move_r: {
  ------------------
  |  Branch (120:9): [True: 4.03k, False: 2.07M]
  ------------------
  121|  4.03k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  122|  4.03k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (122:17): [True: 3.63k, False: 404]
  ------------------
  123|  3.63k|                vars[dst] = vars[src] + std::move(vars[src2]);
  124|  4.03k|            break;
  125|      0|        }
  126|  2.32k|        case op_concat_move_lr: {
  ------------------
  |  Branch (126:9): [True: 2.32k, False: 2.07M]
  ------------------
  127|  2.32k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  128|  2.32k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (128:17): [True: 1.68k, False: 641]
  ------------------
  129|  1.68k|                vars[dst] = std::move(vars[src]) + std::move(vars[src2]);
  130|  2.32k|            break;
  131|      0|        }
  132|  34.4k|        case op_compare: {
  ------------------
  |  Branch (132:9): [True: 34.4k, False: 2.04M]
  ------------------
  133|  34.4k|            using std::swap;
  134|  34.4k|            if (can_compare(vars[src]) && vars[src] == vars[dst])
  ------------------
  |  Branch (134:17): [True: 29.7k, False: 4.69k]
  |  Branch (134:43): [True: 7.06k, False: 22.7k]
  ------------------
  135|  7.06k|                swap(vars[src], vars[dst]);
  136|  34.4k|            break;
  137|      0|        }
  138|  3.58k|        case op_erase: {
  ------------------
  |  Branch (138:9): [True: 3.58k, False: 2.07M]
  ------------------
  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|  19.4k|        case op_insert: {
  ------------------
  |  Branch (143:9): [True: 19.4k, False: 2.05M]
  ------------------
  144|  19.4k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  145|  19.4k|            vars[dst] = vars[src].insert(idx, immer::box<int>{42});
  146|  19.4k|            break;
  147|      0|        }
  148|  29.4k|        default:
  ------------------
  |  Branch (148:9): [True: 29.4k, False: 2.04M]
  ------------------
  149|  29.4k|            break;
  150|  2.07M|        };
  151|  2.06M|        return true;
  152|  2.07M|    });
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_0clIcEEDaT_:
   28|  5.43M|    auto is_valid_var = [&](auto idx) { return idx >= 0 && idx < var_count; };
  ------------------
  |  Branch (28:48): [True: 5.27M, False: 167k]
  |  Branch (28:60): [True: 5.09M, False: 179k]
  ------------------
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|   288k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
  ------------------
  |  Branch (35:39): [True: 288k, False: 0]
  |  Branch (35:51): [True: 195k, False: 92.5k]
  ------------------
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_2clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_:
   34|   196k|    auto is_valid_index = [](auto& v) {
   35|   196k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
   36|   196k|    };
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_ENKUlS2_E_clIiEEDaS2_:
   75|   136k|            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|   111k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
  ------------------
  |  Branch (38:39): [True: 111k, False: 0]
  |  Branch (38:51): [True: 101k, False: 9.78k]
  ------------------
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_3clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_:
   37|   101k|    auto is_valid_size = [](auto& v) {
   38|   101k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
   39|   101k|    };
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.26M|    auto can_concat = [](auto&& v1, auto&& v2) {
   41|  1.26M|        return v1.size() + v2.size() < vector_t::max_size();
   42|  1.26M|    };
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_ENKUlS2_E0_clIiEEDaS2_:
  101|  55.8k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_ENKUlS1_E_clIcEEDaS1_:
   30|   358k|        return [=](auto idx) {
   31|   358k|            return idx >= 0 && idx < var_count && idx != other;
  ------------------
  |  Branch (31:20): [True: 351k, False: 7.17k]
  |  Branch (31:32): [True: 339k, False: 11.8k]
  |  Branch (31:51): [True: 317k, False: 22.4k]
  ------------------
   32|   358k|        };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_:
   29|   317k|    auto is_valid_var_neq = [](auto other) {
   30|   317k|        return [=](auto idx) {
   31|   317k|            return idx >= 0 && idx < var_count && idx != other;
   32|   317k|        };
   33|   317k|    };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_5clIRN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_:
   43|  34.4k|    auto can_compare = [](auto&& v) {
   44|       |        // avoid comparing vectors that are too big, and hence, slow to compare
   45|  34.4k|        return v.size() < (1 << 15);
   46|  34.4k|    };

flex-vector.cpp:_ZN12fuzzer_input3runIZ22LLVMFuzzerTestOneInputE3$_6EEiT_:
   50|  9.49k|    {
   51|  9.49k|        if (size_ > fuzzer_input_max_size)
  ------------------
  |  Branch (51:13): [True: 8, False: 9.48k]
  ------------------
   52|      8|            return 0;
   53|  9.48k|        try {
   54|  2.07M|            while (step(*this))
  ------------------
  |  Branch (54:20): [True: 2.06M, False: 9.48k]
  ------------------
   55|  2.06M|                continue;
   56|  9.48k|        } catch (const no_more_input&) {
   57|  9.48k|        };
   58|  9.48k|        return 0;
   59|  9.48k|    }
flex-vector.cpp:_Z4readIcZ22LLVMFuzzerTestOneInputE3$_0ET_R12fuzzer_inputT0_:
   70|  5.10M|{
   71|  5.10M|    auto x = read<T>(fz);
   72|  5.44M|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 346k, False: 5.10M]
  ------------------
   73|   346k|        x = read<T>(fz);
   74|  5.10M|    return x;
   75|  5.10M|}
_Z4readIcERKT_R12fuzzer_input:
   64|  7.87M|{
   65|  7.87M|    return *reinterpret_cast<const T*>(fz.next(sizeof(T), alignof(T)));
   66|  7.87M|}
_ZN12fuzzer_input4nextEmm:
   40|  8.27M|    {
   41|  8.27M|        auto& p = const_cast<void*&>(reinterpret_cast<const void*&>(data_));
   42|  8.27M|        auto r  = std::align(align, size, p, size_);
   43|  8.27M|        if (r == nullptr)
  ------------------
  |  Branch (43:13): [True: 9.48k, False: 8.26M]
  ------------------
   44|  9.48k|            throw no_more_input{};
   45|  8.26M|        return next(size);
   46|  8.27M|    }
_ZN12fuzzer_input4nextEm:
   30|  8.26M|    {
   31|  8.26M|        if (size_ < size)
  ------------------
  |  Branch (31:13): [True: 0, False: 8.26M]
  ------------------
   32|      0|            throw no_more_input{};
   33|  8.26M|        auto r = data_;
   34|  8.26M|        data_ += size;
   35|  8.26M|        size_ -= size;
   36|  8.26M|        return r;
   37|  8.26M|    }
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|   196k|{
   71|   196k|    auto x = read<T>(fz);
   72|   288k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 92.5k, False: 196k]
  ------------------
   73|  92.5k|        x = read<T>(fz);
   74|   196k|    return x;
   75|   196k|}
_Z4readIhERKT_R12fuzzer_input:
   64|   399k|{
   65|   399k|    return *reinterpret_cast<const T*>(fz.next(sizeof(T), alignof(T)));
   66|   399k|}
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|   101k|{
   71|   101k|    auto x = read<T>(fz);
   72|   111k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 9.78k, False: 101k]
  ------------------
   73|  9.78k|        x = read<T>(fz);
   74|   101k|    return x;
   75|   101k|}
flex-vector.cpp:_Z4readIcZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_EUlS2_E_ES2_R12fuzzer_inputT0_:
   70|   317k|{
   71|   317k|    auto x = read<T>(fz);
   72|   359k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 41.5k, False: 317k]
  ------------------
   73|  41.5k|        x = read<T>(fz);
   74|   317k|    return x;
   75|   317k|}

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

_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|   107M|        {
  171|   107M|            return x.get_(type_t<U>{});
  172|   107M|        }
_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|   107M|        {
  185|   107M|            return n.get_(t);
  186|   107M|        }
_ZNK5immer6detail3csl6memberINS_15refcount_policyENS1_7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4typeEE4type4get_ENS1_6type_tIS3_EE:
  128|   120M|        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.5M|        {
  171|  12.5M|            return x.get_(type_t<U>{});
  172|  12.5M|        }
_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.5M|        {
  185|  12.5M|            return n.get_(t);
  186|  12.5M|        }
_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|  11.8M|        {
  166|  11.8M|            return x.get_(type_t<U>{});
  167|  11.8M|        }
_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|  11.8M|        {
  180|  11.8M|            return n.get_(t);
  181|  11.8M|        }
_ZN5immer6detail3csl7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4type4get_ENS1_6type_tISA_EE:
  102|  29.1M|        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.2M|        {
  166|  17.2M|            return x.get_(type_t<U>{});
  167|  17.2M|        }
_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.2M|        {
  180|  17.2M|            return n.get_(t);
  181|  17.2M|        }
_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|  92.5k|        {
  171|  92.5k|            return x.get_(type_t<U>{});
  172|  92.5k|        }
_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|  92.5k|        {
  185|  92.5k|            return n.get_(t);
  186|  92.5k|        }
_ZNK5immer6detail3csl7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4type4get_ENS1_6type_tISA_EE:
  103|  92.5k|        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.38M|    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.38M|    {
   23|  5.38M|        return x.dereference();
   24|  5.38M|    }
_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.42M|    {
   87|  5.42M|        static_assert(std::is_base_of<iterator_facade, DerivedT>::value,
   88|  5.42M|                      "must pass a derived thing");
   89|  5.42M|        return *static_cast<const DerivedT*>(this);
   90|  5.42M|    }
_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|   219k|    {
  152|   219k|        access_t::advance(derived(), n);
  153|   219k|        return derived();
  154|   219k|    }
_ZN5immer6detail20iterator_core_access7advanceIRNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEElEEDcOT_T0_:
   46|   219k|    {
   47|   219k|        return x.advance(d);
   48|   219k|    }
_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|  8.55M|    {
   93|  8.55M|        static_assert(std::is_base_of<iterator_facade, DerivedT>::value,
   94|  8.55M|                      "must pass a derived thing");
   95|  8.55M|        return *static_cast<DerivedT*>(this);
   96|  8.55M|    }
_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.06M|    {
  120|  4.06M|        access_t::increment(derived());
  121|  4.06M|        return derived();
  122|  4.06M|    }
_ZN5immer6detail20iterator_core_access9incrementIRNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDcOT_:
   28|  4.06M|    {
   29|  4.06M|        return x.increment();
   30|  4.06M|    }
_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|  42.5k|    {
  165|  42.5k|        auto tmp = derived();
  166|  42.5k|        return tmp += n;
  167|  42.5k|    }

_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE17make_inner_n_intoEPvmj:
  213|  3.12M|    {
  214|  3.12M|        assert(n <= branches<B>);
  ------------------
  |  Branch (214:9): [True: 3.12M, False: 0]
  ------------------
  215|  3.12M|        assert(size >= sizeof_inner_n(n));
  ------------------
  |  Branch (215:9): [True: 3.12M, False: 0]
  ------------------
  216|  3.12M|        auto p                       = new (buffer) node_t;
  217|  3.12M|        p->impl.d.data.inner.relaxed = nullptr;
  218|  3.12M|#if IMMER_TAGGED_NODE
  219|  3.12M|        p->impl.d.kind = node_t::kind_t::inner;
  220|  3.12M|#endif
  221|  3.12M|        return p;
  222|  3.12M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14sizeof_inner_nEj:
  145|  12.5M|    {
  146|  12.5M|        return keep_headroom ? max_sizeof_inner : sizeof_packed_inner_n(n);
  ------------------
  |  Branch (146:16): [True: 12.5M, Folded]
  ------------------
  147|  12.5M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3incEv:
  956|  29.2M|    {
  957|  29.2M|        refs(this).inc();
  958|  29.2M|        return this;
  959|  29.2M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4refsEPKSB_:
  203|   107M|    {
  204|   107M|        return auto_const_cast(get<refs_t>(x->impl));
  205|   107M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16make_leaf_n_intoEPvmj:
  330|  1.33M|    {
  331|  1.33M|        assert(n <= branches<BL>);
  ------------------
  |  Branch (331:9): [True: 1.33M, False: 0]
  ------------------
  332|  1.33M|        assert(size >= sizeof_leaf_n(n));
  ------------------
  |  Branch (332:9): [True: 1.33M, False: 0]
  ------------------
  333|  1.33M|        auto p = new (buffer) node_t;
  334|  1.33M|#if IMMER_TAGGED_NODE
  335|  1.33M|        p->impl.d.kind = node_t::kind_t::leaf;
  336|  1.33M|#endif
  337|  1.33M|        return p;
  338|  1.33M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13sizeof_leaf_nEj:
  160|  5.55M|    {
  161|  5.55M|        return keep_headroom ? max_sizeof_leaf : sizeof_packed_leaf_n(n);
  ------------------
  |  Branch (161:16): [True: 5.55M, Folded]
  ------------------
  162|  5.55M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7relaxedEv:
  172|   172M|    {
  173|   172M|        IMMER_ASSERT_TAGGED(kind() == kind_t::inner);
  ------------------
  |  |   68|   172M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (173:9): [True: 172M, False: 0]
  ------------------
  174|   172M|        return impl.d.data.inner.relaxed;
  175|   172M|    }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4kindEv:
  168|   328M|    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|  61.1M|    bool dec() const { return refs(this).dec(); }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5innerEv:
  184|   112M|    {
  185|   112M|        IMMER_ASSERT_TAGGED(kind() == kind_t::inner);
  ------------------
  |  |   68|   112M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (185:9): [True: 112M, False: 0]
  ------------------
  186|   112M|        return impl.d.data.inner.get_storage_ptr();
  187|   112M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSB_j:
  832|  12.0M|    {
  833|  12.0M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::inner);
  ------------------
  |  |   68|  12.0M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (833:9): [True: 12.0M, False: 0]
  ------------------
  834|  12.0M|        auto r = p->relaxed();
  835|  12.0M|        assert(r);
  ------------------
  |  Branch (835:9): [True: 12.0M, False: 0]
  ------------------
  836|  12.0M|        static_if<!embed_relaxed>([&](auto) {
  837|  12.0M|            if (node_t::refs(r).dec())
  838|  12.0M|                heap::deallocate(node_t::ownee(r).owned()
  839|  12.0M|                                     ? node_t::max_sizeof_relaxed
  840|  12.0M|                                     : node_t::sizeof_relaxed_n(n),
  841|  12.0M|                                 r);
  842|  12.0M|        });
  843|  12.0M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_inner_r
  ------------------
  |  Branch (843:26): [True: 0, False: 12.0M]
  ------------------
  844|  12.0M|                                          : node_t::sizeof_inner_r_n(n),
  845|  12.0M|                         p);
  846|  12.0M|    }
_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.0M|        static_if<!embed_relaxed>([&](auto) {
  837|  12.0M|            if (node_t::refs(r).dec())
  ------------------
  |  Branch (837:17): [True: 11.7M, False: 294k]
  ------------------
  838|  11.7M|                heap::deallocate(node_t::ownee(r).owned()
  ------------------
  |  Branch (838:34): [True: 0, False: 11.7M]
  ------------------
  839|  11.7M|                                     ? node_t::max_sizeof_relaxed
  840|  11.7M|                                     : node_t::sizeof_relaxed_n(n),
  841|  11.7M|                                 r);
  842|  12.0M|        });
_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.5M|    {
  197|  12.5M|        return auto_const_cast(get<refs_t>(*x));
  198|  12.5M|    }
_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|  11.8M|    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.2M|    {
  156|  23.2M|        return keep_headroom ? max_sizeof_relaxed : sizeof_packed_relaxed_n(n);
  ------------------
  |  Branch (156:16): [True: 23.2M, Folded]
  ------------------
  157|  23.2M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPSB_:
  210|  17.2M|    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|  23.8M|    {
  151|  23.8M|        return keep_headroom ? max_sizeof_inner_r : sizeof_packed_inner_r_n(n);
  ------------------
  |  Branch (151:16): [True: 23.8M, Folded]
  ------------------
  152|  23.8M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11delete_leafEPSB_j:
  861|  1.56M|    {
  862|  1.56M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::leaf);
  ------------------
  |  |   68|  1.56M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (862:9): [True: 1.56M, False: 0]
  ------------------
  863|  1.56M|        detail::destroy_n(p->leaf(), n);
  864|  1.56M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_leaf
  ------------------
  |  Branch (864:26): [True: 0, False: 1.56M]
  ------------------
  865|  1.56M|                                          : node_t::sizeof_leaf_n(n),
  866|  1.56M|                         p);
  867|  1.56M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4leafEv:
  190|  10.9M|    {
  191|  10.9M|        IMMER_ASSERT_TAGGED(kind() == kind_t::leaf);
  ------------------
  |  |   68|  10.9M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (191:9): [True: 10.9M, False: 0]
  ------------------
  192|  10.9M|        return impl.d.data.leaf.get_storage_ptr();
  193|  10.9M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12delete_innerEPSB_j:
  808|  3.21M|    {
  809|  3.21M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::inner);
  ------------------
  |  |   68|  3.21M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (809:9): [True: 3.21M, False: 0]
  ------------------
  810|  3.21M|        assert(!p->relaxed());
  ------------------
  |  Branch (810:9): [True: 3.21M, False: 0]
  ------------------
  811|  3.21M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_inner
  ------------------
  |  Branch (811:26): [True: 0, False: 3.21M]
  ------------------
  812|  3.21M|                                          : node_t::sizeof_inner_n(n),
  813|  3.21M|                         p);
  814|  3.21M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE17copy_leaf_emplaceIiEEPSB_SD_jOT_:
  794|   313k|    {
  795|   313k|        auto dst = copy_leaf_n(n + 1, src, n);
  796|   313k|        IMMER_TRY {
  ------------------
  |  |   49|   313k|#define IMMER_TRY try
  ------------------
  797|   313k|            new (dst->leaf() + n) T(std::forward<U>(x));
  798|   313k|        }
  799|   313k|        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|   313k|        return dst;
  805|   313k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_nEjPSB_j:
  696|   313k|    {
  697|   313k|        assert(allocn >= n);
  ------------------
  |  Branch (697:9): [True: 313k, False: 0]
  ------------------
  698|   313k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   313k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (698:9): [True: 313k, False: 0]
  ------------------
  699|   313k|        auto dst = make_leaf_n(allocn);
  700|   313k|        IMMER_TRY {
  ------------------
  |  |   49|   313k|#define IMMER_TRY try
  ------------------
  701|   313k|            detail::uninitialized_copy(
  702|   313k|                src->leaf(), src->leaf() + n, dst->leaf());
  703|   313k|        }
  704|   313k|        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|   313k|        return dst;
  709|   313k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_nEj:
  341|  1.33M|    {
  342|  1.33M|        assert(n <= branches<BL>);
  ------------------
  |  Branch (342:9): [True: 1.33M, False: 0]
  ------------------
  343|  1.33M|        auto m = heap::allocate(sizeof_leaf_n(n));
  344|  1.33M|        return make_leaf_n_into(m, sizeof_leaf_n(n), n);
  345|  1.33M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_nIiEEPSB_jOT_:
  470|   115k|    {
  471|   115k|        assert(n >= 1);
  ------------------
  |  Branch (471:9): [True: 115k, False: 0]
  ------------------
  472|   115k|        auto p = make_leaf_n(n);
  473|   115k|        IMMER_TRY {
  ------------------
  |  |   49|   115k|#define IMMER_TRY try
  ------------------
  474|   115k|            new (p->leaf()) T(std::forward<U>(x));
  475|   115k|        }
  476|   115k|        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|   115k|        return p;
  481|   115k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13do_copy_innerEPSB_SC_j:
  558|  2.87M|    {
  559|  2.87M|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.87M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (559:9): [True: 2.87M, False: 0]
  ------------------
  560|  2.87M|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.87M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (560:9): [True: 2.87M, False: 0]
  ------------------
  561|  2.87M|        auto p = src->inner();
  562|  2.87M|        inc_nodes(p, n);
  563|  2.87M|        std::copy(p, p + n, dst->inner());
  564|  2.87M|        return dst;
  565|  2.87M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9inc_nodesEPPSB_j:
  970|  9.00M|    {
  971|  24.1M|        for (auto i = p, e = i + n; i != e; ++i)
  ------------------
  |  Branch (971:37): [True: 15.1M, False: 9.00M]
  ------------------
  972|  15.1M|            refs(*i).inc();
  973|  9.00M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14copy_inner_r_nEjPSB_j:
  588|   560k|    {
  589|   560k|        assert(allocn >= n);
  ------------------
  |  Branch (589:9): [True: 560k, False: 0]
  ------------------
  590|   560k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|   560k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (590:9): [True: 560k, False: 0]
  ------------------
  591|   560k|        auto dst = make_inner_r_n(allocn);
  592|   560k|        return do_copy_inner_r(dst, src, n);
  593|   560k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15do_copy_inner_rEPSB_SC_j:
  610|   584k|    {
  611|   584k|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|   584k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (611:9): [True: 584k, False: 0]
  ------------------
  612|   584k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|   584k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (612:9): [True: 584k, False: 0]
  ------------------
  613|   584k|        auto src_r = src->relaxed();
  614|   584k|        auto dst_r = dst->relaxed();
  615|   584k|        inc_nodes(src->inner(), n);
  616|   584k|        std::copy(src->inner(), src->inner() + n, dst->inner());
  617|   584k|        std::copy(src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  618|   584k|        dst_r->d.count = n;
  619|   584k|        return dst;
  620|   584k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_nEj:
  243|  11.5M|    {
  244|  11.5M|        assert(n <= branches<B>);
  ------------------
  |  Branch (244:9): [True: 11.5M, False: 0]
  ------------------
  245|  11.5M|        auto mp = heap::allocate(sizeof_inner_r_n(n));
  246|  11.5M|        auto mr = static_cast<void*>(nullptr);
  247|  11.5M|        if (embed_relaxed) {
  ------------------
  |  Branch (247:13): [Folded, False: 11.5M]
  ------------------
  248|      0|            mr = reinterpret_cast<unsigned char*>(mp) + sizeof_inner_n(n);
  249|  11.5M|        } else {
  250|  11.5M|            IMMER_TRY {
  ------------------
  |  |   49|  11.5M|#define IMMER_TRY try
  ------------------
  251|  11.5M|                mr = heap::allocate(sizeof_relaxed_n(n), norefs_tag{});
  252|  11.5M|            }
  253|  11.5M|            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.5M|        }
  258|  11.5M|        auto p                       = new (mp) node_t;
  259|  11.5M|        auto r                       = new (mr) relaxed_t;
  260|  11.5M|        r->d.count                   = 0;
  261|  11.5M|        p->impl.d.data.inner.relaxed = r;
  262|  11.5M|#if IMMER_TAGGED_NODE
  263|  11.5M|        p->impl.d.kind = node_t::kind_t::inner;
  264|  11.5M|#endif
  265|  11.5M|        return p;
  266|  11.5M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9make_pathEjPSB_:
  498|   793k|    {
  499|   793k|        IMMER_ASSERT_TAGGED(node->kind() == kind_t::leaf);
  ------------------
  |  |   68|   793k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (499:9): [True: 793k, False: 0]
  ------------------
  500|   793k|        if (shift == endshift<B, BL>)
  ------------------
  |  Branch (500:13): [True: 585k, False: 207k]
  ------------------
  501|   585k|            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|   793k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12make_inner_nEj:
  224|  3.12M|    {
  225|  3.12M|        assert(n <= branches<B>);
  ------------------
  |  Branch (225:9): [True: 3.12M, False: 0]
  ------------------
  226|  3.12M|        auto m = heap::allocate(sizeof_inner_n(n));
  227|  3.12M|        return make_inner_n_into(m, sizeof_inner_n(n), n);
  228|  3.12M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_j:
  666|   146k|    {
  667|   146k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   146k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (667:9): [True: 146k, False: 0]
  ------------------
  668|   146k|        auto dst = make_leaf_n(n);
  669|   146k|        IMMER_TRY {
  ------------------
  |  |   49|   146k|#define IMMER_TRY try
  ------------------
  670|   146k|            detail::uninitialized_copy(
  671|   146k|                src->leaf(), src->leaf() + n, dst->leaf());
  672|   146k|        }
  673|   146k|        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|   146k|        return dst;
  678|   146k|    }
_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|   308k|    {
  270|   308k|        return static_if<embed_relaxed, node_t*>(
  271|   308k|            [&](auto) { return node_t::make_inner_r_n(n); },
  272|   308k|            [&](auto) {
  273|   308k|                auto p =
  274|   308k|                    new (heap::allocate(node_t::sizeof_inner_r_n(n))) node_t;
  275|   308k|                assert(r->d.count >= n);
  276|   308k|                node_t::refs(r).inc();
  277|   308k|                p->impl.d.data.inner.relaxed = r;
  278|   308k|#if IMMER_TAGGED_NODE
  279|   308k|                p->impl.d.kind = node_t::kind_t::inner;
  280|   308k|#endif
  281|   308k|                return p;
  282|   308k|            });
  283|   308k|    }
_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|   308k|            [&](auto) {
  273|   308k|                auto p =
  274|   308k|                    new (heap::allocate(node_t::sizeof_inner_r_n(n))) node_t;
  275|   308k|                assert(r->d.count >= n);
  ------------------
  |  Branch (275:17): [True: 308k, False: 0]
  ------------------
  276|   308k|                node_t::refs(r).inc();
  277|   308k|                p->impl.d.data.inner.relaxed = r;
  278|   308k|#if IMMER_TAGGED_NODE
  279|   308k|                p->impl.d.kind = node_t::kind_t::inner;
  280|   308k|#endif
  281|   308k|                return p;
  282|   308k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24do_copy_inner_replace_srEPSB_SC_jjSC_:
  652|   308k|    {
  653|   308k|        if (embed_relaxed)
  ------------------
  |  Branch (653:13): [Folded, False: 308k]
  ------------------
  654|      0|            return do_copy_inner_replace_r(dst, src, n, offset, child);
  655|   308k|        else {
  656|   308k|            auto p = src->inner();
  657|   308k|            inc_nodes(p, offset);
  658|   308k|            inc_nodes(p + offset + 1, n - offset - 1);
  659|   308k|            std::copy(p, p + n, dst->inner());
  660|   308k|            dst->inner()[offset] = child;
  661|   308k|            return dst;
  662|   308k|        }
  663|   308k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE21do_copy_inner_replaceEPSB_SC_jjSC_:
  569|  60.9k|    {
  570|  60.9k|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|  60.9k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (570:9): [True: 60.9k, False: 0]
  ------------------
  571|  60.9k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  60.9k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (571:9): [True: 60.9k, False: 0]
  ------------------
  572|  60.9k|        auto p = src->inner();
  573|  60.9k|        inc_nodes(p, offset);
  574|  60.9k|        inc_nodes(p + offset + 1, n - offset - 1);
  575|  60.9k|        std::copy(p, p + n, dst->inner());
  576|  60.9k|        dst->inner()[offset] = child;
  577|  60.9k|        return dst;
  578|  60.9k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_nEjPSB_j:
  543|  8.74k|    {
  544|  8.74k|        assert(allocn >= n);
  ------------------
  |  Branch (544:9): [True: 8.74k, False: 0]
  ------------------
  545|  8.74k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  8.74k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (545:9): [True: 8.74k, False: 0]
  ------------------
  546|  8.74k|        auto dst = make_inner_n(allocn);
  547|  8.74k|        return do_copy_inner(dst, src, n);
  548|  8.74k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_rEPSB_j:
  581|  4.46k|    {
  582|  4.46k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  4.46k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (582:9): [True: 4.46k, False: 0]
  ------------------
  583|  4.46k|        auto dst = make_inner_r_n(n);
  584|  4.46k|        return do_copy_inner_r(dst, src, n);
  585|  4.46k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13compute_shiftEv:
  977|  4.99M|    {
  978|  4.99M|        if (kind() == kind_t::leaf)
  ------------------
  |  Branch (978:13): [True: 441k, False: 4.55M]
  ------------------
  979|   441k|            return endshift<B, BL>;
  980|  4.55M|        else
  981|  4.55M|            return B + inner()[0]->compute_shift();
  982|  4.99M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5checkEjm:
  986|   441k|    {
  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|   441k|        return true;
 1023|   441k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_jj:
  778|   356k|    {
  779|   356k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   356k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (779:9): [True: 356k, False: 0]
  ------------------
  780|   356k|        auto dst = make_leaf_n(last - idx);
  781|   356k|        IMMER_TRY {
  ------------------
  |  |   49|   356k|#define IMMER_TRY try
  ------------------
  782|   356k|            detail::uninitialized_copy(
  783|   356k|                src->leaf() + idx, src->leaf() + last, dst->leaf());
  784|   356k|        }
  785|   356k|        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|   356k|        return dst;
  790|   356k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_jSC_j:
  712|   346k|    {
  713|   346k|        IMMER_ASSERT_TAGGED(src1->kind() == kind_t::leaf);
  ------------------
  |  |   68|   346k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (713:9): [True: 346k, False: 0]
  ------------------
  714|   346k|        IMMER_ASSERT_TAGGED(src2->kind() == kind_t::leaf);
  ------------------
  |  |   68|   346k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (714:9): [True: 346k, False: 0]
  ------------------
  715|   346k|        auto dst = make_leaf_n(n1 + n2);
  716|   346k|        IMMER_TRY {
  ------------------
  |  |   49|   346k|#define IMMER_TRY try
  ------------------
  717|   346k|            detail::uninitialized_copy(
  718|   346k|                src1->leaf(), src1->leaf() + n1, dst->leaf());
  719|   346k|        }
  720|   346k|        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|   346k|        IMMER_TRY {
  ------------------
  |  |   49|   346k|#define IMMER_TRY try
  ------------------
  725|   346k|            detail::uninitialized_copy(
  726|   346k|                src2->leaf(), src2->leaf() + n2, dst->leaf() + n1);
  727|   346k|        }
  728|   346k|        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|   346k|        return dst;
  734|   346k|    }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10can_mutateENS9_5applyIS6_E4type4editE:
  870|  1.89M|    {
  871|  1.89M|        return refs(this).unique() || ownee(this).can_mutate(e);
  ------------------
  |  Branch (871:16): [True: 1.80M, False: 92.5k]
  |  Branch (871:39): [True: 0, False: 92.5k]
  ------------------
  872|  1.89M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPKSB_:
  207|  92.5k|    {
  208|  92.5k|        return get<ownee_t>(x->impl);
  209|  92.5k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_j:
  681|  30.1k|    {
  682|  30.1k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|  30.1k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (682:9): [True: 30.1k, False: 0]
  ------------------
  683|  30.1k|        auto dst = make_leaf_e(e);
  684|  30.1k|        IMMER_TRY {
  ------------------
  |  |   49|  30.1k|#define IMMER_TRY try
  ------------------
  685|  30.1k|            detail::uninitialized_copy(
  686|  30.1k|                src->leaf(), src->leaf() + n, dst->leaf());
  687|  30.1k|        }
  688|  30.1k|        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|  30.1k|        return dst;
  693|  30.1k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_eENS9_5applyIS6_E4type4editE:
  348|   228k|    {
  349|   228k|        auto p   = new (heap::allocate(max_sizeof_leaf)) node_t;
  350|   228k|        ownee(p) = e;
  351|   228k|#if IMMER_TAGGED_NODE
  352|   228k|        p->impl.d.kind = node_t::kind_t::leaf;
  353|   228k|#endif
  354|   228k|        return p;
  355|   228k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_eIiEEPSB_NS9_5applyIS6_E4type4editEOT_:
  485|  14.0k|    {
  486|  14.0k|        auto p = make_leaf_e(e);
  487|  14.0k|        IMMER_TRY {
  ------------------
  |  |   49|  14.0k|#define IMMER_TRY try
  ------------------
  488|  14.0k|            new (p->leaf()) T(std::forward<U>(x));
  489|  14.0k|        }
  490|  14.0k|        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|  14.0k|        return p;
  495|  14.0k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24ensure_mutable_relaxed_nENS9_5applyIS6_E4type4editEj:
  930|  85.7k|    {
  931|  85.7k|        auto src_r = relaxed();
  932|  85.7k|        return static_if<embed_relaxed, relaxed_t*>(
  933|  85.7k|            [&](auto) { return src_r; },
  934|  85.7k|            [&](auto) {
  935|  85.7k|                if (node_t::refs(src_r).unique() ||
  936|  85.7k|                    node_t::ownee(src_r).can_mutate(e))
  937|  85.7k|                    return src_r;
  938|  85.7k|                else {
  939|  85.7k|                    auto dst_r =
  940|  85.7k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  941|  85.7k|                    if (src_r) {
  942|  85.7k|                        std::copy(
  943|  85.7k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  944|  85.7k|                        if (node_t::refs(src_r).dec())
  945|  85.7k|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  946|  85.7k|                                             src_r);
  947|  85.7k|                    }
  948|  85.7k|                    dst_r->d.count                   = n;
  949|  85.7k|                    node_t::ownee(dst_r)             = e;
  950|  85.7k|                    return impl.d.data.inner.relaxed = dst_r;
  951|  85.7k|                }
  952|  85.7k|            });
  953|  85.7k|    }
_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|  85.7k|            [&](auto) {
  935|  85.7k|                if (node_t::refs(src_r).unique() ||
  ------------------
  |  Branch (935:21): [True: 73.7k, False: 11.9k]
  ------------------
  936|  11.9k|                    node_t::ownee(src_r).can_mutate(e))
  ------------------
  |  Branch (936:21): [True: 0, False: 11.9k]
  ------------------
  937|  73.7k|                    return src_r;
  938|  11.9k|                else {
  939|  11.9k|                    auto dst_r =
  940|  11.9k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  941|  11.9k|                    if (src_r) {
  ------------------
  |  Branch (941:25): [True: 11.9k, False: 0]
  ------------------
  942|  11.9k|                        std::copy(
  943|  11.9k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  944|  11.9k|                        if (node_t::refs(src_r).dec())
  ------------------
  |  Branch (944:29): [True: 0, False: 11.9k]
  ------------------
  945|      0|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  946|      0|                                             src_r);
  947|  11.9k|                    }
  948|  11.9k|                    dst_r->d.count                   = n;
  949|  11.9k|                    node_t::ownee(dst_r)             = e;
  950|  11.9k|                    return impl.d.data.inner.relaxed = dst_r;
  951|  11.9k|                }
  952|  85.7k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14copy_inner_r_eENS9_5applyIS6_E4type4editEPSB_j:
  596|  18.8k|    {
  597|  18.8k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  18.8k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (597:9): [True: 18.8k, False: 0]
  ------------------
  598|  18.8k|        auto dst = make_inner_r_e(e);
  599|  18.8k|        return do_copy_inner_r(dst, src, n);
  600|  18.8k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_eENS9_5applyIS6_E4type4editE:
  286|   118k|    {
  287|   118k|        auto mp = heap::allocate(max_sizeof_inner_r);
  288|   118k|        auto mr = static_cast<void*>(nullptr);
  289|   118k|        if (embed_relaxed) {
  ------------------
  |  Branch (289:13): [Folded, False: 118k]
  ------------------
  290|      0|            mr = reinterpret_cast<unsigned char*>(mp) + max_sizeof_inner;
  291|   118k|        } else {
  292|   118k|            IMMER_TRY {
  ------------------
  |  |   49|   118k|#define IMMER_TRY try
  ------------------
  293|   118k|                mr = heap::allocate(max_sizeof_relaxed, norefs_tag{});
  294|   118k|            }
  295|   118k|            IMMER_CATCH (...) {
  296|      0|                heap::deallocate(max_sizeof_inner_r, mp);
  297|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  298|      0|            }
  299|   118k|        }
  300|   118k|        auto p   = new (mp) node_t;
  301|   118k|        auto r   = new (mr) relaxed_t;
  302|   118k|        ownee(p) = e;
  303|   118k|        static_if<!embed_relaxed>([&](auto) { node_t::ownee(r) = e; });
  304|   118k|        r->d.count                   = 0;
  305|   118k|        p->impl.d.data.inner.relaxed = r;
  306|   118k|#if IMMER_TAGGED_NODE
  307|   118k|        p->impl.d.kind = node_t::kind_t::inner;
  308|   118k|#endif
  309|   118k|        return p;
  310|   118k|    }
_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|   118k|        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|   306k|    {
  517|   306k|        IMMER_ASSERT_TAGGED(node->kind() == kind_t::leaf);
  ------------------
  |  |   68|   306k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (517:9): [True: 306k, False: 0]
  ------------------
  518|   306k|        if (shift == endshift<B, BL>)
  ------------------
  |  Branch (518:13): [True: 228k, False: 77.5k]
  ------------------
  519|   228k|            return node;
  520|  77.5k|        else {
  521|  77.5k|            auto n = node_t::make_inner_e(e);
  522|  77.5k|            IMMER_TRY {
  ------------------
  |  |   49|  77.5k|#define IMMER_TRY try
  ------------------
  523|  77.5k|                n->inner()[0] = make_path_e(e, shift - B, node);
  524|  77.5k|            }
  525|  77.5k|            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|  77.5k|            return n;
  530|  77.5k|        }
  531|   306k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12make_inner_eENS9_5applyIS6_E4type4editE:
  231|   102k|    {
  232|   102k|        auto m                       = heap::allocate(max_sizeof_inner);
  233|   102k|        auto p                       = new (m) node_t;
  234|   102k|        ownee(p)                     = e;
  235|   102k|        p->impl.d.data.inner.relaxed = nullptr;
  236|   102k|#if IMMER_TAGGED_NODE
  237|   102k|        p->impl.d.kind = node_t::kind_t::inner;
  238|   102k|#endif
  239|   102k|        return p;
  240|   102k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_eENS9_5applyIS6_E4type4editEPSB_j:
  551|  15.4k|    {
  552|  15.4k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  15.4k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (552:9): [True: 15.4k, False: 0]
  ------------------
  553|  15.4k|        auto dst = make_inner_e(e);
  554|  15.4k|        return do_copy_inner(dst, src, n);
  555|  15.4k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15copy_inner_sr_eENS9_5applyIS6_E4type4editEPSB_j:
  603|  9.46k|    {
  604|  9.46k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  9.46k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (604:9): [True: 9.46k, False: 0]
  ------------------
  605|  9.46k|        auto dst = make_inner_sr_e(e, src->relaxed());
  606|  9.46k|        return do_copy_inner_sr(dst, src, n);
  607|  9.46k|    }
_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|  9.46k|    {
  314|  9.46k|        return static_if<embed_relaxed, node_t*>(
  315|  9.46k|            [&](auto) { return node_t::make_inner_r_e(e); },
  316|  9.46k|            [&](auto) {
  317|  9.46k|                auto p =
  318|  9.46k|                    new (heap::allocate(node_t::max_sizeof_inner_r)) node_t;
  319|  9.46k|                node_t::refs(r).inc();
  320|  9.46k|                p->impl.d.data.inner.relaxed = r;
  321|  9.46k|                node_t::ownee(p)             = e;
  322|  9.46k|#if IMMER_TAGGED_NODE
  323|  9.46k|                p->impl.d.kind = node_t::kind_t::inner;
  324|  9.46k|#endif
  325|  9.46k|                return p;
  326|  9.46k|            });
  327|  9.46k|    }
_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|  9.46k|            [&](auto) {
  317|  9.46k|                auto p =
  318|  9.46k|                    new (heap::allocate(node_t::max_sizeof_inner_r)) node_t;
  319|  9.46k|                node_t::refs(r).inc();
  320|  9.46k|                p->impl.d.data.inner.relaxed = r;
  321|  9.46k|                node_t::ownee(p)             = e;
  322|  9.46k|#if IMMER_TAGGED_NODE
  323|  9.46k|                p->impl.d.kind = node_t::kind_t::inner;
  324|  9.46k|#endif
  325|  9.46k|                return p;
  326|  9.46k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16do_copy_inner_srEPSB_SC_j:
  640|  9.46k|    {
  641|  9.46k|        if (embed_relaxed)
  ------------------
  |  Branch (641:13): [Folded, False: 9.46k]
  ------------------
  642|      0|            return do_copy_inner_r(dst, src, n);
  643|  9.46k|        else {
  644|  9.46k|            inc_nodes(src->inner(), n);
  645|  9.46k|            std::copy(src->inner(), src->inner() + n, dst->inner());
  646|  9.46k|            return dst;
  647|  9.46k|        }
  648|  9.46k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_jj:
  763|   184k|    {
  764|   184k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   184k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (764:9): [True: 184k, False: 0]
  ------------------
  765|   184k|        auto dst = make_leaf_e(e);
  766|   184k|        IMMER_TRY {
  ------------------
  |  |   49|   184k|#define IMMER_TRY try
  ------------------
  767|   184k|            detail::uninitialized_copy(
  768|   184k|                src->leaf() + idx, src->leaf() + last, dst->leaf());
  769|   184k|        }
  770|   184k|        IMMER_CATCH (...) {
  771|      0|            heap::deallocate(max_sizeof_leaf, dst);
  772|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  773|      0|        }
  774|   184k|        return dst;
  775|   184k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE22ensure_mutable_relaxedENS9_5applyIS6_E4type4editE:
  877|   134k|    {
  878|   134k|        auto src_r = relaxed();
  879|   134k|        return static_if<embed_relaxed, relaxed_t*>(
  880|   134k|            [&](auto) { return src_r; },
  881|   134k|            [&](auto) {
  882|   134k|                if (node_t::refs(src_r).unique() ||
  883|   134k|                    node_t::ownee(src_r).can_mutate(e))
  884|   134k|                    return src_r;
  885|   134k|                else {
  886|   134k|                    auto dst_r = impl.d.data.inner.relaxed =
  887|   134k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  888|   134k|                    if (src_r) {
  889|   134k|                        auto n = dst_r->d.count = src_r->d.count;
  890|   134k|                        std::copy(
  891|   134k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  892|   134k|                        if (node_t::refs(src_r).dec())
  893|   134k|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  894|   134k|                                             src_r);
  895|   134k|                    }
  896|   134k|                    node_t::ownee(dst_r) = e;
  897|   134k|                    return dst_r;
  898|   134k|                }
  899|   134k|            });
  900|   134k|    }
_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|   134k|            [&](auto) {
  882|   134k|                if (node_t::refs(src_r).unique() ||
  ------------------
  |  Branch (882:21): [True: 123k, False: 11.0k]
  ------------------
  883|  11.0k|                    node_t::ownee(src_r).can_mutate(e))
  ------------------
  |  Branch (883:21): [True: 0, False: 11.0k]
  ------------------
  884|   123k|                    return src_r;
  885|  11.0k|                else {
  886|  11.0k|                    auto dst_r = impl.d.data.inner.relaxed =
  887|  11.0k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  888|  11.0k|                    if (src_r) {
  ------------------
  |  Branch (888:25): [True: 11.0k, False: 0]
  ------------------
  889|  11.0k|                        auto n = dst_r->d.count = src_r->d.count;
  890|  11.0k|                        std::copy(
  891|  11.0k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  892|  11.0k|                        if (node_t::refs(src_r).dec())
  ------------------
  |  Branch (892:29): [True: 0, False: 11.0k]
  ------------------
  893|      0|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  894|      0|                                             src_r);
  895|  11.0k|                    }
  896|  11.0k|                    node_t::ownee(dst_r) = e;
  897|  11.0k|                    return dst_r;
  898|  11.0k|                }
  899|   134k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_jSG_j:
  738|    372|    {
  739|    372|        IMMER_ASSERT_TAGGED(src1->kind() == kind_t::leaf);
  ------------------
  |  |   68|    372|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (739:9): [True: 372, False: 0]
  ------------------
  740|    372|        IMMER_ASSERT_TAGGED(src2->kind() == kind_t::leaf);
  ------------------
  |  |   68|    372|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (740:9): [True: 372, False: 0]
  ------------------
  741|    372|        auto dst = make_leaf_e(e);
  742|    372|        IMMER_TRY {
  ------------------
  |  |   49|    372|#define IMMER_TRY try
  ------------------
  743|    372|            detail::uninitialized_copy(
  744|    372|                src1->leaf(), src1->leaf() + n1, dst->leaf());
  745|    372|        }
  746|    372|        IMMER_CATCH (...) {
  747|      0|            heap::deallocate(max_sizeof_leaf, dst);
  748|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  749|      0|        }
  750|    372|        IMMER_TRY {
  ------------------
  |  |   49|    372|#define IMMER_TRY try
  ------------------
  751|    372|            detail::uninitialized_copy(
  752|    372|                src2->leaf(), src2->leaf() + n2, dst->leaf() + n1);
  753|    372|        }
  754|    372|        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|    372|        return dst;
  760|    372|    }

_ZN5immer6detail4rbts11dec_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  523|  36.6M|    {
  524|  36.6M|        using node_t = node_type<Pos>;
  525|  36.6M|        auto node    = p.node();
  526|  36.6M|        if (node->dec()) {
  ------------------
  |  Branch (526:13): [True: 11.9M, False: 24.6M]
  ------------------
  527|  11.9M|            p.each(this_t{});
  528|  11.9M|            node_t::delete_inner_r(node, p.count());
  529|  11.9M|        }
  530|  36.6M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  2.61M|    {
  535|  2.61M|        using node_t = node_type<Pos>;
  536|  2.61M|        auto node    = p.node();
  537|  2.61M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 633k, False: 1.97M]
  ------------------
  538|   633k|            p.each(this_t{});
  539|   633k|            node_t::delete_inner(node, p.count());
  540|   633k|        }
  541|  2.61M|    }
_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: 582k, False: 695k]
  ------------------
  549|   582k|            node_t::delete_leaf(node, p.count());
  550|   582k|        }
  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|   506k|    {
  546|   506k|        using node_t = node_type<Pos>;
  547|   506k|        auto node    = p.node();
  548|   506k|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 32.6k, False: 474k]
  ------------------
  549|  32.6k|            node_t::delete_leaf(node, p.count());
  550|  32.6k|        }
  551|   506k|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  3.64M|    {
  535|  3.64M|        using node_t = node_type<Pos>;
  536|  3.64M|        auto node    = p.node();
  537|  3.64M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 246k, False: 3.39M]
  ------------------
  538|   246k|            p.each(this_t{});
  539|   246k|            node_t::delete_inner(node, p.count());
  540|   246k|        }
  541|  3.64M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  2.46M|    {
  535|  2.46M|        using node_t = node_type<Pos>;
  536|  2.46M|        auto node    = p.node();
  537|  2.46M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 2.32M, False: 142k]
  ------------------
  538|  2.32M|            p.each(this_t{});
  539|  2.32M|            node_t::delete_inner(node, p.count());
  540|  2.32M|        }
  541|  2.46M|    }
_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.5M|    {
  546|  10.5M|        using node_t = node_type<Pos>;
  547|  10.5M|        auto node    = p.node();
  548|  10.5M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 946k, False: 9.63M]
  ------------------
  549|   946k|            node_t::delete_leaf(node, p.count());
  550|   946k|        }
  551|  10.5M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  1.63M|    {
  546|  1.63M|        using node_t = node_type<Pos>;
  547|  1.63M|        auto node    = p.node();
  548|  1.63M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 0, False: 1.63M]
  ------------------
  549|      0|            node_t::delete_leaf(node, p.count());
  550|      0|        }
  551|  1.63M|    }
_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|   556k|    {
  792|   556k|        auto level    = pos.shift();
  793|   556k|        auto idx      = pos.count() - 1;
  794|   556k|        auto children = pos.size(idx);
  795|   556k|        auto new_idx =
  796|   556k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (796:13): [True: 13.6k, False: 542k]
  |  Branch (796:47): [True: 659, False: 542k]
  ------------------
  797|   556k|        auto new_child = static_cast<node_t*>(nullptr);
  798|   556k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (798:13): [True: 5.10k, False: 551k]
  ------------------
  799|  5.10k|            return nullptr;
  800|   551k|        else if (idx == new_idx) {
  ------------------
  |  Branch (800:18): [True: 542k, False: 9.16k]
  ------------------
  801|   542k|            new_child = pos.last_oh_csh(this_t{}, idx, children, tail, ts);
  802|   542k|            if (!new_child) {
  ------------------
  |  Branch (802:17): [True: 4.28k, False: 537k]
  ------------------
  803|  4.28k|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (803:21): [True: 3.10k, False: 1.18k]
  ------------------
  804|  3.10k|                    new_child = node_t::make_path(level - B, tail);
  805|  1.18k|                else
  806|  1.18k|                    return nullptr;
  807|  4.28k|            }
  808|   542k|        } else
  809|  9.16k|            new_child = node_t::make_path(level - B, tail);
  810|   549k|        IMMER_TRY {
  ------------------
  |  |   49|   549k|#define IMMER_TRY try
  ------------------
  811|   549k|            auto count = new_idx + 1;
  812|   549k|            auto new_parent =
  813|   549k|                node_t::copy_inner_r_n(count, pos.node(), new_idx);
  814|   549k|            auto new_relaxed              = new_parent->relaxed();
  815|   549k|            new_parent->inner()[new_idx]  = new_child;
  816|   549k|            new_relaxed->d.sizes[new_idx] = pos.size() + ts;
  817|   549k|            new_relaxed->d.count          = count;
  818|   549k|            assert(new_relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (818:13): [True: 549k, False: 0]
  ------------------
  819|   549k|            return new_parent;
  820|   549k|        }
  821|   549k|        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|   549k|    }
_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|   197k|    {
  835|   197k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 197k, False: 0]
  ------------------
  836|   197k|        auto idx        = pos.index(pos.size() - 1);
  837|   197k|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|   197k|        auto count      = new_idx + 1;
  839|   197k|        auto new_parent = node_t::make_inner_n(count);
  840|   197k|        IMMER_TRY {
  ------------------
  |  |   49|   197k|#define IMMER_TRY try
  ------------------
  841|   197k|            new_parent->inner()[new_idx] =
  842|   197k|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 190k, False: 7.47k]
  ------------------
  843|       |                               /* otherwise */
  844|   197k|                               : node_t::make_path(pos.shift() - B, tail);
  845|   197k|        }
  846|   197k|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|   197k|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|   197k|    }
_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.28M|    {
  835|  2.28M|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 2.28M, False: 0]
  ------------------
  836|  2.28M|        auto idx        = pos.index(pos.size() - 1);
  837|  2.28M|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|  2.28M|        auto count      = new_idx + 1;
  839|  2.28M|        auto new_parent = node_t::make_inner_n(count);
  840|  2.28M|        IMMER_TRY {
  ------------------
  |  |   49|  2.28M|#define IMMER_TRY try
  ------------------
  841|  2.28M|            new_parent->inner()[new_idx] =
  842|  2.28M|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 1.75M, False: 532k]
  ------------------
  843|       |                               /* otherwise */
  844|  2.28M|                               : node_t::make_path(pos.shift() - B, tail);
  845|  2.28M|        }
  846|  2.28M|        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.28M|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|  2.28M|    }
_ZN5immer6detail4rbts9dec_innerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_jm:
  562|    508|{
  563|    508|    visit_maybe_relaxed_sub(node, shift, size, dec_visitor());
  564|    508|}
_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|   357k|    {
  835|   357k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 357k, False: 0]
  ------------------
  836|   357k|        auto idx        = pos.index(pos.size() - 1);
  837|   357k|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|   357k|        auto count      = new_idx + 1;
  839|   357k|        auto new_parent = node_t::make_inner_n(count);
  840|   357k|        IMMER_TRY {
  ------------------
  |  |   49|   357k|#define IMMER_TRY try
  ------------------
  841|   357k|            new_parent->inner()[new_idx] =
  842|   357k|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 342k, False: 15.2k]
  ------------------
  843|       |                               /* otherwise */
  844|   357k|                               : node_t::make_path(pos.shift() - B, tail);
  845|   357k|        }
  846|   357k|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|   357k|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|   357k|    }
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|  94.5k|    {
  503|  94.5k|        auto offset = pos.index(idx);
  504|  94.5k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  94.5k|        IMMER_TRY {
  ------------------
  |  |   49|  94.5k|#define IMMER_TRY try
  ------------------
  506|  94.5k|            node->leaf()[offset] =
  507|  94.5k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  94.5k|            return node;
  509|  94.5k|        }
  510|  94.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|  94.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|   308k|    {
  467|   308k|        auto offset = pos.index(idx);
  468|   308k|        auto count  = pos.count();
  469|   308k|        auto node   = node_t::make_inner_sr_n(count, pos.relaxed());
  470|   308k|        IMMER_TRY {
  ------------------
  |  |   49|   308k|#define IMMER_TRY try
  ------------------
  471|   308k|            auto child = pos.towards_oh(this_t{}, idx, offset, fn);
  472|   308k|            node_t::do_copy_inner_replace_sr(
  473|   308k|                node, pos.node(), count, offset, child);
  474|   308k|            return node;
  475|   308k|        }
  476|   308k|        IMMER_CATCH (...) {
  477|      0|            node_t::delete_inner_r(node, count);
  478|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  479|      0|        }
  480|   308k|    }
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|  41.9k|    {
  485|  41.9k|        auto offset = pos.index(idx);
  486|  41.9k|        auto count  = pos.count();
  487|  41.9k|        auto node   = node_t::make_inner_n(count);
  488|  41.9k|        IMMER_TRY {
  ------------------
  |  |   49|  41.9k|#define IMMER_TRY try
  ------------------
  489|  41.9k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  41.9k|            node_t::do_copy_inner_replace(
  491|  41.9k|                node, pos.node(), count, offset, child);
  492|  41.9k|            return node;
  493|  41.9k|        }
  494|  41.9k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  41.9k|    }
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|  25.1k|    {
  503|  25.1k|        auto offset = pos.index(idx);
  504|  25.1k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  25.1k|        IMMER_TRY {
  ------------------
  |  |   49|  25.1k|#define IMMER_TRY try
  ------------------
  506|  25.1k|            node->leaf()[offset] =
  507|  25.1k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  25.1k|            return node;
  509|  25.1k|        }
  510|  25.1k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  25.1k|    }
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|  15.9k|    {
  485|  15.9k|        auto offset = pos.index(idx);
  486|  15.9k|        auto count  = pos.count();
  487|  15.9k|        auto node   = node_t::make_inner_n(count);
  488|  15.9k|        IMMER_TRY {
  ------------------
  |  |   49|  15.9k|#define IMMER_TRY try
  ------------------
  489|  15.9k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  15.9k|            node_t::do_copy_inner_replace(
  491|  15.9k|                node, pos.node(), count, offset, child);
  492|  15.9k|            return node;
  493|  15.9k|        }
  494|  15.9k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  15.9k|    }
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|  16.8k|    {
  503|  16.8k|        auto offset = pos.index(idx);
  504|  16.8k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  16.8k|        IMMER_TRY {
  ------------------
  |  |   49|  16.8k|#define IMMER_TRY try
  ------------------
  506|  16.8k|            node->leaf()[offset] =
  507|  16.8k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  16.8k|            return node;
  509|  16.8k|        }
  510|  16.8k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  16.8k|    }
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|  3.01k|    {
  485|  3.01k|        auto offset = pos.index(idx);
  486|  3.01k|        auto count  = pos.count();
  487|  3.01k|        auto node   = node_t::make_inner_n(count);
  488|  3.01k|        IMMER_TRY {
  ------------------
  |  |   49|  3.01k|#define IMMER_TRY try
  ------------------
  489|  3.01k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  3.01k|            node_t::do_copy_inner_replace(
  491|  3.01k|                node, pos.node(), count, offset, child);
  492|  3.01k|            return node;
  493|  3.01k|        }
  494|  3.01k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  3.01k|    }
_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|  30.9k|    {
 1097|  30.9k|        auto idx = pos.index(last);
 1098|  30.9k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1098:13): [True: 30.9k, Folded]
  |  Branch (1098:25): [True: 21.9k, False: 9.05k]
  ------------------
 1099|  21.9k|            return pos.towards_oh(this_t{}, last, idx);
 1100|  21.9k|        } else {
 1101|  9.05k|            using std::get;
 1102|  9.05k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1103|  9.05k|            auto next = get<1>(subs);
 1104|  9.05k|            auto ts   = get<2>(subs);
 1105|  9.05k|            auto tail = get<3>(subs);
 1106|  9.05k|            IMMER_TRY {
  ------------------
  |  |   49|  9.05k|#define IMMER_TRY try
  ------------------
 1107|  9.05k|                if (next) {
  ------------------
  |  Branch (1107:21): [True: 4.65k, False: 4.39k]
  ------------------
 1108|  4.65k|                    auto count = idx + 1;
 1109|  4.65k|                    auto newn  = node_t::copy_inner_r_n(count, pos.node(), idx);
 1110|  4.65k|                    auto newr  = newn->relaxed();
 1111|  4.65k|                    newn->inner()[idx] = next;
 1112|  4.65k|                    newr->d.sizes[idx] = last + 1 - ts;
 1113|  4.65k|                    newr->d.count      = count;
 1114|  4.65k|                    assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (1114:21): [True: 4.65k, False: 0]
  ------------------
 1115|  4.65k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1116|  4.65k|                } else if (idx == 0) {
  ------------------
  |  Branch (1116:28): [True: 0, False: 4.39k]
  ------------------
 1117|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1118|  4.39k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1118:28): [True: 4.39k, Folded]
  |  Branch (1118:40): [True: 3.23k, False: 1.16k]
  |  Branch (1118:52): [True: 2.49k, False: 735]
  ------------------
 1119|  2.49k|                    auto newn = pos.node()->inner()[0];
 1120|  2.49k|                    return std::make_tuple(
 1121|  2.49k|                        pos.shift() - B, newn->inc(), ts, tail);
 1122|  2.49k|                } else {
 1123|  1.90k|                    auto newn = node_t::copy_inner_r(pos.node(), idx);
 1124|  1.90k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1125|  1.90k|                }
 1126|  9.05k|            }
 1127|  9.05k|            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.05k|        }
 1138|  30.9k|    }
_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|  1.92k|    {
 1182|  1.92k|        auto old_tail_size = pos.count();
 1183|  1.92k|        auto new_tail_size = pos.index(last) + 1;
 1184|  1.92k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 971, False: 955]
  ------------------
 1185|  1.92k|                                 ? pos.node()->inc()
 1186|  1.92k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  1.92k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  1.92k|    }
_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|  4.92k|    {
 1182|  4.92k|        auto old_tail_size = pos.count();
 1183|  4.92k|        auto new_tail_size = pos.index(last) + 1;
 1184|  4.92k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 2.45k, False: 2.46k]
  ------------------
 1185|  4.92k|                                 ? pos.node()->inc()
 1186|  4.92k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  4.92k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  4.92k|    }
_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|  11.4k|    {
 1097|  11.4k|        auto idx = pos.index(last);
 1098|  11.4k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1098:13): [Folded, False: 11.4k]
  |  Branch (1098:25): [True: 0, False: 0]
  ------------------
 1099|      0|            return pos.towards_oh(this_t{}, last, idx);
 1100|  11.4k|        } else {
 1101|  11.4k|            using std::get;
 1102|  11.4k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1103|  11.4k|            auto next = get<1>(subs);
 1104|  11.4k|            auto ts   = get<2>(subs);
 1105|  11.4k|            auto tail = get<3>(subs);
 1106|  11.4k|            IMMER_TRY {
  ------------------
  |  |   49|  11.4k|#define IMMER_TRY try
  ------------------
 1107|  11.4k|                if (next) {
  ------------------
  |  Branch (1107:21): [True: 6.13k, False: 5.35k]
  ------------------
 1108|  6.13k|                    auto count = idx + 1;
 1109|  6.13k|                    auto newn  = node_t::copy_inner_r_n(count, pos.node(), idx);
 1110|  6.13k|                    auto newr  = newn->relaxed();
 1111|  6.13k|                    newn->inner()[idx] = next;
 1112|  6.13k|                    newr->d.sizes[idx] = last + 1 - ts;
 1113|  6.13k|                    newr->d.count      = count;
 1114|  6.13k|                    assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (1114:21): [True: 6.13k, False: 0]
  ------------------
 1115|  6.13k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1116|  6.13k|                } else if (idx == 0) {
  ------------------
  |  Branch (1116:28): [True: 2.78k, False: 2.56k]
  ------------------
 1117|  2.78k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1118|  2.78k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1118:28): [Folded, False: 2.56k]
  |  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.56k|                } else {
 1123|  2.56k|                    auto newn = node_t::copy_inner_r(pos.node(), idx);
 1124|  2.56k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1125|  2.56k|                }
 1126|  11.4k|            }
 1127|  11.4k|            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|  11.4k|        }
 1138|  11.4k|    }
_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.12k|    {
 1143|  4.12k|        auto idx = pos.index(last);
 1144|  4.12k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 4.12k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  4.12k|        } else {
 1147|  4.12k|            using std::get;
 1148|  4.12k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  4.12k|            auto next = get<1>(subs);
 1150|  4.12k|            auto ts   = get<2>(subs);
 1151|  4.12k|            auto tail = get<3>(subs);
 1152|  4.12k|            IMMER_TRY {
  ------------------
  |  |   49|  4.12k|#define IMMER_TRY try
  ------------------
 1153|  4.12k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 1.28k, False: 2.84k]
  ------------------
 1154|  1.28k|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|  1.28k|                    newn->inner()[idx] = next;
 1156|  1.28k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.84k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 2.04k, False: 800]
  ------------------
 1158|  2.04k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  2.04k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 800]
  |  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|    800|                } else {
 1164|    800|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    800|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    800|                }
 1167|  4.12k|            }
 1168|  4.12k|            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.12k|        }
 1177|  4.12k|    }
_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.48k|    {
 1182|  6.48k|        auto old_tail_size = pos.count();
 1183|  6.48k|        auto new_tail_size = pos.index(last) + 1;
 1184|  6.48k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 4.24k, False: 2.23k]
  ------------------
 1185|  6.48k|                                 ? pos.node()->inc()
 1186|  6.48k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  6.48k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  6.48k|    }
_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.47k|    {
 1143|  2.47k|        auto idx = pos.index(last);
 1144|  2.47k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 2.47k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  2.47k|        } else {
 1147|  2.47k|            using std::get;
 1148|  2.47k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  2.47k|            auto next = get<1>(subs);
 1150|  2.47k|            auto ts   = get<2>(subs);
 1151|  2.47k|            auto tail = get<3>(subs);
 1152|  2.47k|            IMMER_TRY {
  ------------------
  |  |   49|  2.47k|#define IMMER_TRY try
  ------------------
 1153|  2.47k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 320, False: 2.15k]
  ------------------
 1154|    320|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    320|                    newn->inner()[idx] = next;
 1156|    320|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.15k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 1.34k, False: 818]
  ------------------
 1158|  1.34k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.34k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 818]
  |  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|    818|                } else {
 1164|    818|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    818|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    818|                }
 1167|  2.47k|            }
 1168|  2.47k|            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.47k|        }
 1177|  2.47k|    }
_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.58k|    {
 1182|  2.58k|        auto old_tail_size = pos.count();
 1183|  2.58k|        auto new_tail_size = pos.index(last) + 1;
 1184|  2.58k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 1.39k, False: 1.18k]
  ------------------
 1185|  2.58k|                                 ? pos.node()->inc()
 1186|  2.58k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  2.58k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  2.58k|    }
_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.01k|    {
 1143|  5.01k|        auto idx = pos.index(last);
 1144|  5.01k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 5.01k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  5.01k|        } else {
 1147|  5.01k|            using std::get;
 1148|  5.01k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  5.01k|            auto next = get<1>(subs);
 1150|  5.01k|            auto ts   = get<2>(subs);
 1151|  5.01k|            auto tail = get<3>(subs);
 1152|  5.01k|            IMMER_TRY {
  ------------------
  |  |   49|  5.01k|#define IMMER_TRY try
  ------------------
 1153|  5.01k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 970, False: 4.04k]
  ------------------
 1154|    970|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    970|                    newn->inner()[idx] = next;
 1156|    970|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  4.04k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 2.31k, False: 1.73k]
  ------------------
 1158|  2.31k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  2.31k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 1.73k]
  |  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.73k|                } else {
 1164|  1.73k|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|  1.73k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|  1.73k|                }
 1167|  5.01k|            }
 1168|  5.01k|            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.01k|        }
 1177|  5.01k|    }
_ZN5immer6detail4rbts8dec_leafINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_j:
  556|  39.6k|{
  557|  39.6k|    make_leaf_sub_pos(node, n).visit(dec_visitor{});
  558|  39.6k|}
_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|  7.00k|    {
 1143|  7.00k|        auto idx = pos.index(last);
 1144|  7.00k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [True: 7.00k, Folded]
  |  Branch (1144:25): [True: 3.44k, False: 3.55k]
  ------------------
 1145|  3.44k|            return pos.towards_oh(this_t{}, last, idx);
 1146|  3.55k|        } else {
 1147|  3.55k|            using std::get;
 1148|  3.55k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  3.55k|            auto next = get<1>(subs);
 1150|  3.55k|            auto ts   = get<2>(subs);
 1151|  3.55k|            auto tail = get<3>(subs);
 1152|  3.55k|            IMMER_TRY {
  ------------------
  |  |   49|  3.55k|#define IMMER_TRY try
  ------------------
 1153|  3.55k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 931, False: 2.62k]
  ------------------
 1154|    931|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    931|                    newn->inner()[idx] = next;
 1156|    931|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.62k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 0, False: 2.62k]
  ------------------
 1158|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  2.62k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [True: 2.62k, Folded]
  |  Branch (1159:40): [True: 2.25k, False: 369]
  |  Branch (1159:52): [True: 1.81k, False: 442]
  ------------------
 1160|  1.81k|                    auto newn = pos.node()->inner()[0];
 1161|  1.81k|                    return std::make_tuple(
 1162|  1.81k|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|  1.81k|                } else {
 1164|    811|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    811|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    811|                }
 1167|  3.55k|            }
 1168|  3.55k|            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.55k|        }
 1177|  7.00k|    }
_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.35k|    {
 1182|  1.35k|        auto old_tail_size = pos.count();
 1183|  1.35k|        auto new_tail_size = pos.index(last) + 1;
 1184|  1.35k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 523, False: 827]
  ------------------
 1185|  1.35k|                                 ? pos.node()->inc()
 1186|  1.35k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  1.35k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  1.35k|    }
_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.59k|    {
 1143|  2.59k|        auto idx = pos.index(last);
 1144|  2.59k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [True: 2.59k, Folded]
  |  Branch (1144:25): [True: 1.20k, False: 1.38k]
  ------------------
 1145|  1.20k|            return pos.towards_oh(this_t{}, last, idx);
 1146|  1.38k|        } else {
 1147|  1.38k|            using std::get;
 1148|  1.38k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  1.38k|            auto next = get<1>(subs);
 1150|  1.38k|            auto ts   = get<2>(subs);
 1151|  1.38k|            auto tail = get<3>(subs);
 1152|  1.38k|            IMMER_TRY {
  ------------------
  |  |   49|  1.38k|#define IMMER_TRY try
  ------------------
 1153|  1.38k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 336, False: 1.05k]
  ------------------
 1154|    336|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    336|                    newn->inner()[idx] = next;
 1156|    336|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  1.05k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 0, False: 1.05k]
  ------------------
 1158|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.05k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [True: 1.05k, Folded]
  |  Branch (1159:40): [True: 650, False: 401]
  |  Branch (1159:52): [True: 310, False: 340]
  ------------------
 1160|    310|                    auto newn = pos.node()->inner()[0];
 1161|    310|                    return std::make_tuple(
 1162|    310|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|    741|                } else {
 1164|    741|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    741|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    741|                }
 1167|  1.38k|            }
 1168|  1.38k|            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.38k|        }
 1177|  2.59k|    }
_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|    707|    {
 1182|    707|        auto old_tail_size = pos.count();
 1183|    707|        auto new_tail_size = pos.index(last) + 1;
 1184|    707|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 269, False: 438]
  ------------------
 1185|    707|                                 ? pos.node()->inc()
 1186|    707|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|    707|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|    707|    }
_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|  14.4k|    {
 1415|  14.4k|        auto idx                = pos.subindex(first);
 1416|  14.4k|        auto count              = pos.count();
 1417|  14.4k|        auto left_size          = pos.size_before(idx);
 1418|  14.4k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  14.4k|        auto dropped_size       = first;
 1420|  14.4k|        auto child_dropped_size = dropped_size - left_size;
 1421|  14.4k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 14.4k, Folded]
  |  Branch (1421:25): [True: 12.5k, False: 1.86k]
  |  Branch (1421:45): [True: 4.49k, False: 8.09k]
  ------------------
 1422|  4.49k|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  9.96k|        } else {
 1424|  9.96k|            using std::get;
 1425|  9.96k|            auto n    = pos.node();
 1426|  9.96k|            auto newc = count - idx;
 1427|  9.96k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  9.96k|            IMMER_TRY {
  ------------------
  |  |   49|  9.96k|#define IMMER_TRY try
  ------------------
 1429|  9.96k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  9.96k|                auto newr     = newn->relaxed();
 1431|  9.96k|                newr->d.count = count - idx;
 1432|  9.96k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  9.96k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 9.96k, False: 0]
  ------------------
 1434|  9.96k|                pos.copy_sizes(idx + 1,
 1435|  9.96k|                               newr->d.count - 1,
 1436|  9.96k|                               newr->d.sizes[0],
 1437|  9.96k|                               newr->d.sizes + 1);
 1438|  9.96k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 9.96k, False: 0]
  ------------------
 1439|  9.96k|                       pos.size() - dropped_size);
 1440|  9.96k|                newn->inner()[0] = get<1>(subs);
 1441|  9.96k|                std::copy(n->inner() + idx + 1,
 1442|  9.96k|                          n->inner() + count,
 1443|  9.96k|                          newn->inner() + 1);
 1444|  9.96k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  9.96k|                return std::make_tuple(pos.shift(), newn);
 1446|  9.96k|            }
 1447|  9.96k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  9.96k|        }
 1452|  14.4k|    }
_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|  7.89k|    {
 1457|  7.89k|        auto n = node_t::copy_leaf(pos.node(), pos.index(first), pos.count());
 1458|  7.89k|        return std::make_tuple(0, n);
 1459|  7.89k|    }
_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|  39.7k|    {
 1415|  39.7k|        auto idx                = pos.subindex(first);
 1416|  39.7k|        auto count              = pos.count();
 1417|  39.7k|        auto left_size          = pos.size_before(idx);
 1418|  39.7k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  39.7k|        auto dropped_size       = first;
 1420|  39.7k|        auto child_dropped_size = dropped_size - left_size;
 1421|  39.7k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 39.7k]
  |  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|  39.7k|        } else {
 1424|  39.7k|            using std::get;
 1425|  39.7k|            auto n    = pos.node();
 1426|  39.7k|            auto newc = count - idx;
 1427|  39.7k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  39.7k|            IMMER_TRY {
  ------------------
  |  |   49|  39.7k|#define IMMER_TRY try
  ------------------
 1429|  39.7k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  39.7k|                auto newr     = newn->relaxed();
 1431|  39.7k|                newr->d.count = count - idx;
 1432|  39.7k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  39.7k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 39.7k, False: 0]
  ------------------
 1434|  39.7k|                pos.copy_sizes(idx + 1,
 1435|  39.7k|                               newr->d.count - 1,
 1436|  39.7k|                               newr->d.sizes[0],
 1437|  39.7k|                               newr->d.sizes + 1);
 1438|  39.7k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 39.7k, False: 0]
  ------------------
 1439|  39.7k|                       pos.size() - dropped_size);
 1440|  39.7k|                newn->inner()[0] = get<1>(subs);
 1441|  39.7k|                std::copy(n->inner() + idx + 1,
 1442|  39.7k|                          n->inner() + count,
 1443|  39.7k|                          newn->inner() + 1);
 1444|  39.7k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  39.7k|                return std::make_tuple(pos.shift(), newn);
 1446|  39.7k|            }
 1447|  39.7k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  39.7k|        }
 1452|  39.7k|    }
_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.06k|    {
 1415|  2.06k|        auto idx                = pos.subindex(first);
 1416|  2.06k|        auto count              = pos.count();
 1417|  2.06k|        auto left_size          = pos.size_before(idx);
 1418|  2.06k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  2.06k|        auto dropped_size       = first;
 1420|  2.06k|        auto child_dropped_size = dropped_size - left_size;
 1421|  2.06k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 2.06k]
  |  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.06k|        } else {
 1424|  2.06k|            using std::get;
 1425|  2.06k|            auto n    = pos.node();
 1426|  2.06k|            auto newc = count - idx;
 1427|  2.06k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  2.06k|            IMMER_TRY {
  ------------------
  |  |   49|  2.06k|#define IMMER_TRY try
  ------------------
 1429|  2.06k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  2.06k|                auto newr     = newn->relaxed();
 1431|  2.06k|                newr->d.count = count - idx;
 1432|  2.06k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  2.06k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 2.06k, False: 0]
  ------------------
 1434|  2.06k|                pos.copy_sizes(idx + 1,
 1435|  2.06k|                               newr->d.count - 1,
 1436|  2.06k|                               newr->d.sizes[0],
 1437|  2.06k|                               newr->d.sizes + 1);
 1438|  2.06k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 2.06k, False: 0]
  ------------------
 1439|  2.06k|                       pos.size() - dropped_size);
 1440|  2.06k|                newn->inner()[0] = get<1>(subs);
 1441|  2.06k|                std::copy(n->inner() + idx + 1,
 1442|  2.06k|                          n->inner() + count,
 1443|  2.06k|                          newn->inner() + 1);
 1444|  2.06k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  2.06k|                return std::make_tuple(pos.shift(), newn);
 1446|  2.06k|            }
 1447|  2.06k|            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.06k|        }
 1452|  2.06k|    }
_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.73k|    {
 1457|  9.73k|        auto n = node_t::copy_leaf(pos.node(), pos.index(first), pos.count());
 1458|  9.73k|        return std::make_tuple(0, n);
 1459|  9.73k|    }
_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|  5.59k|    {
 1415|  5.59k|        auto idx                = pos.subindex(first);
 1416|  5.59k|        auto count              = pos.count();
 1417|  5.59k|        auto left_size          = pos.size_before(idx);
 1418|  5.59k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  5.59k|        auto dropped_size       = first;
 1420|  5.59k|        auto child_dropped_size = dropped_size - left_size;
 1421|  5.59k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 5.59k]
  |  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|  5.59k|        } else {
 1424|  5.59k|            using std::get;
 1425|  5.59k|            auto n    = pos.node();
 1426|  5.59k|            auto newc = count - idx;
 1427|  5.59k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  5.59k|            IMMER_TRY {
  ------------------
  |  |   49|  5.59k|#define IMMER_TRY try
  ------------------
 1429|  5.59k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  5.59k|                auto newr     = newn->relaxed();
 1431|  5.59k|                newr->d.count = count - idx;
 1432|  5.59k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  5.59k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 5.59k, False: 0]
  ------------------
 1434|  5.59k|                pos.copy_sizes(idx + 1,
 1435|  5.59k|                               newr->d.count - 1,
 1436|  5.59k|                               newr->d.sizes[0],
 1437|  5.59k|                               newr->d.sizes + 1);
 1438|  5.59k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 5.59k, False: 0]
  ------------------
 1439|  5.59k|                       pos.size() - dropped_size);
 1440|  5.59k|                newn->inner()[0] = get<1>(subs);
 1441|  5.59k|                std::copy(n->inner() + idx + 1,
 1442|  5.59k|                          n->inner() + count,
 1443|  5.59k|                          newn->inner() + 1);
 1444|  5.59k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  5.59k|                return std::make_tuple(pos.shift(), newn);
 1446|  5.59k|            }
 1447|  5.59k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  5.59k|        }
 1452|  5.59k|    }
_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|  9.94k|    {
 1415|  9.94k|        auto idx                = pos.subindex(first);
 1416|  9.94k|        auto count              = pos.count();
 1417|  9.94k|        auto left_size          = pos.size_before(idx);
 1418|  9.94k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  9.94k|        auto dropped_size       = first;
 1420|  9.94k|        auto child_dropped_size = dropped_size - left_size;
 1421|  9.94k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 9.94k, Folded]
  |  Branch (1421:25): [True: 6.41k, False: 3.53k]
  |  Branch (1421:45): [True: 3.50k, False: 2.91k]
  ------------------
 1422|  3.50k|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  6.44k|        } else {
 1424|  6.44k|            using std::get;
 1425|  6.44k|            auto n    = pos.node();
 1426|  6.44k|            auto newc = count - idx;
 1427|  6.44k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  6.44k|            IMMER_TRY {
  ------------------
  |  |   49|  6.44k|#define IMMER_TRY try
  ------------------
 1429|  6.44k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  6.44k|                auto newr     = newn->relaxed();
 1431|  6.44k|                newr->d.count = count - idx;
 1432|  6.44k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  6.44k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 6.44k, False: 0]
  ------------------
 1434|  6.44k|                pos.copy_sizes(idx + 1,
 1435|  6.44k|                               newr->d.count - 1,
 1436|  6.44k|                               newr->d.sizes[0],
 1437|  6.44k|                               newr->d.sizes + 1);
 1438|  6.44k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 6.44k, False: 0]
  ------------------
 1439|  6.44k|                       pos.size() - dropped_size);
 1440|  6.44k|                newn->inner()[0] = get<1>(subs);
 1441|  6.44k|                std::copy(n->inner() + idx + 1,
 1442|  6.44k|                          n->inner() + count,
 1443|  6.44k|                          newn->inner() + 1);
 1444|  6.44k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  6.44k|                return std::make_tuple(pos.shift(), newn);
 1446|  6.44k|            }
 1447|  6.44k|            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.44k|        }
 1452|  9.94k|    }
_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.48k|    {
 1415|  1.48k|        auto idx                = pos.subindex(first);
 1416|  1.48k|        auto count              = pos.count();
 1417|  1.48k|        auto left_size          = pos.size_before(idx);
 1418|  1.48k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  1.48k|        auto dropped_size       = first;
 1420|  1.48k|        auto child_dropped_size = dropped_size - left_size;
 1421|  1.48k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 1.48k, Folded]
  |  Branch (1421:25): [True: 473, False: 1.01k]
  |  Branch (1421:45): [True: 270, False: 203]
  ------------------
 1422|    270|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  1.21k|        } else {
 1424|  1.21k|            using std::get;
 1425|  1.21k|            auto n    = pos.node();
 1426|  1.21k|            auto newc = count - idx;
 1427|  1.21k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  1.21k|            IMMER_TRY {
  ------------------
  |  |   49|  1.21k|#define IMMER_TRY try
  ------------------
 1429|  1.21k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  1.21k|                auto newr     = newn->relaxed();
 1431|  1.21k|                newr->d.count = count - idx;
 1432|  1.21k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  1.21k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 1.21k, False: 0]
  ------------------
 1434|  1.21k|                pos.copy_sizes(idx + 1,
 1435|  1.21k|                               newr->d.count - 1,
 1436|  1.21k|                               newr->d.sizes[0],
 1437|  1.21k|                               newr->d.sizes + 1);
 1438|  1.21k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 1.21k, False: 0]
  ------------------
 1439|  1.21k|                       pos.size() - dropped_size);
 1440|  1.21k|                newn->inner()[0] = get<1>(subs);
 1441|  1.21k|                std::copy(n->inner() + idx + 1,
 1442|  1.21k|                          n->inner() + count,
 1443|  1.21k|                          newn->inner() + 1);
 1444|  1.21k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  1.21k|                return std::make_tuple(pos.shift(), newn);
 1446|  1.21k|            }
 1447|  1.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|  1.21k|        }
 1452|  1.48k|    }
_ZN5immer6detail4rbts12concat_treesINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11relaxed_posIT_EEPSE_jSG_jm:
 2001|  7.99k|{
 2002|  7.99k|    return make_singleton_regular_sub_pos(ltail, ltcount)
 2003|  7.99k|        .visit(concat_trees_left_visitor<Node>{},
 2004|  7.99k|               empty_leaf_pos<Node>{},
 2005|  7.99k|               rroot,
 2006|  7.99k|               rshift,
 2007|  7.99k|               rsize)
 2008|  7.99k|        .realize();
 2009|  7.99k|}
_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|  7.99k|    {
 1972|  7.99k|        return visit_maybe_relaxed_sub(
 1973|  7.99k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|  7.99k|    }
_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.54k|    {
 1959|  5.54k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  5.54k|    }
_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|  22.6k|{
 1873|  22.6k|    auto lshift = lpos.shift();
 1874|  22.6k|    auto rshift = rpos.shift();
 1875|  22.6k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 22.6k]
  ------------------
 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|  22.6k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 17.4k, False: 5.14k]
  ------------------
 1879|  17.4k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  17.4k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  17.4k|    } else {
 1882|  5.14k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 5.14k, False: 0]
  ------------------
 1883|  5.14k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 5.14k]
  |  Branch (1883:9): [True: 5.14k, False: 0]
  |  Branch (1883:9): [True: 5.14k, False: 0]
  ------------------
 1884|  5.14k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  5.14k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  5.14k|    }
 1887|  22.6k|}
_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: 536k, False: 5.20M]
  ------------------
 1514|   536k|            auto s = size_t{};
 1515|  2.13M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.60M, False: 536k]
  ------------------
 1516|  1.60M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.60M|                s = sizes_[i];
 1518|  1.60M|            }
 1519|  5.20M|        } else {
 1520|  13.2M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 8.01M, False: 5.20M]
  ------------------
 1521|  8.01M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  8.01M|                    .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.0M|    {
 1734|  21.0M|        auto count = p.count();
 1735|  21.0M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 21.0M, False: 0]
  ------------------
 1736|  21.0M|        plan.counts[plan.n++] = count;
 1737|  21.0M|        plan.total += count;
 1738|  21.0M|    }
_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: 536k, 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.70M|        while (n >= optimal + rrb_extras) {
  ------------------
  |  Branch (1774:16): [True: 964k, False: 5.73M]
  ------------------
 1775|       |            // skip ok nodes
 1776|  1.59M|            while (counts[i] > branches - rrb_invariant)
  ------------------
  |  Branch (1776:20): [True: 628k, False: 964k]
  ------------------
 1777|   628k|                i++;
 1778|   964k|            assert(i < n);
  ------------------
  |  Branch (1778:13): [True: 964k, False: 0]
  ------------------
 1779|       |            // short node, redistribute
 1780|   964k|            auto remaining = counts[i];
 1781|  2.38M|            do {
 1782|  2.38M|                auto next  = counts[i + 1];
 1783|  2.38M|                auto count = std::min(remaining + next, branches);
 1784|  2.38M|                counts[i]  = count;
 1785|  2.38M|                assert(counts[i]);
  ------------------
  |  Branch (1785:17): [True: 2.38M, False: 0]
  ------------------
 1786|  2.38M|                remaining += next - count;
 1787|  2.38M|                ++i;
 1788|  2.38M|            } while (remaining > 0);
  ------------------
  |  Branch (1788:22): [True: 1.41M, False: 964k]
  ------------------
 1789|       |            // remove node
 1790|   964k|            std::move(counts + i + 1, counts + n, counts + i);
 1791|   964k|            --n;
 1792|   964k|            --i;
 1793|   964k|        }
 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: 536k, False: 5.20M]
  ------------------
 1514|   536k|            auto s = size_t{};
 1515|  2.13M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.60M, False: 536k]
  ------------------
 1516|  1.60M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.60M|                s = sizes_[i];
 1518|  1.60M|            }
 1519|  5.20M|        } else {
 1520|  13.2M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 8.01M, False: 5.20M]
  ------------------
 1521|  8.01M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  8.01M|                    .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.37M, False: 55.2k]
  |  Branch (1619:21): [True: 2.34M, False: 25.4k]
  ------------------
 1620|  2.34M|            add_child(from, from_size);
 1621|  2.34M|            from->inc();
 1622|  2.34M|        } else {
 1623|  80.6k|            auto from_offset = count_t{};
 1624|  80.6k|            auto from_data   = from->leaf();
 1625|   109k|            do {
 1626|   109k|                if (!to_) {
  ------------------
  |  Branch (1626:21): [True: 54.1k, False: 55.2k]
  ------------------
 1627|  54.1k|                    to_        = node_t::make_leaf_n(*curr_);
 1628|  54.1k|                    to_offset_ = 0;
 1629|  54.1k|                }
 1630|   109k|                auto data = to_->leaf();
 1631|   109k|                auto to_copy =
 1632|   109k|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1633|   109k|                detail::uninitialized_copy(from_data + from_offset,
 1634|   109k|                                           from_data + from_offset + to_copy,
 1635|   109k|                                           data + to_offset_);
 1636|   109k|                to_offset_ += to_copy;
 1637|   109k|                from_offset += to_copy;
 1638|   109k|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1638:21): [True: 54.1k, False: 55.2k]
  ------------------
 1639|  54.1k|                    add_child(to_, to_offset_);
 1640|  54.1k|                    to_ = nullptr;
 1641|  54.1k|                }
 1642|   109k|            } while (from_offset != from_count);
  ------------------
  |  Branch (1642:22): [True: 28.6k, False: 80.6k]
  ------------------
 1643|  80.6k|        }
 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.2M|    {
 1590|  25.2M|        assert(size);
  ------------------
  |  Branch (1590:9): [True: 25.2M, False: 0]
  ------------------
 1591|  25.2M|        ++curr_;
 1592|  25.2M|        auto parent  = result_.nodes_[result_.count_ - 1];
 1593|  25.2M|        auto relaxed = parent->relaxed();
 1594|  25.2M|        if (relaxed->d.count == branches<B>) {
  ------------------
  |  Branch (1594:13): [True: 2.85M, False: 22.3M]
  ------------------
 1595|  2.85M|            assert(result_.count_ < result_t::max_children);
  ------------------
  |  Branch (1595:13): [True: 2.85M, False: 0]
  ------------------
 1596|  2.85M|            n_ -= branches<B>;
 1597|  2.85M|            parent  = node_t::make_inner_r_n(std::min(n_, branches<B>));
 1598|  2.85M|            relaxed = parent->relaxed();
 1599|  2.85M|            result_.nodes_[result_.count_] = parent;
 1600|  2.85M|            result_.sizes_[result_.count_] = result_.sizes_[result_.count_ - 1];
 1601|  2.85M|            assert(result_.sizes_[result_.count_]);
  ------------------
  |  Branch (1601:13): [True: 2.85M, False: 0]
  ------------------
 1602|  2.85M|            ++result_.count_;
 1603|  2.85M|        }
 1604|  25.2M|        auto idx = relaxed->d.count++;
 1605|  25.2M|        result_.sizes_[result_.count_ - 1] += size;
 1606|  25.2M|        assert(result_.sizes_[result_.count_ - 1]);
  ------------------
  |  Branch (1606:9): [True: 25.2M, False: 0]
  ------------------
 1607|  25.2M|        relaxed->d.sizes[idx] = size + (idx ? relaxed->d.sizes[idx - 1] : 0);
  ------------------
  |  Branch (1607:41): [True: 16.6M, False: 8.58M]
  ------------------
 1608|  25.2M|        assert(relaxed->d.sizes[idx]);
  ------------------
  |  Branch (1608:9): [True: 25.2M, False: 0]
  ------------------
 1609|  25.2M|        parent->inner()[idx] = p;
 1610|  25.2M|    };
_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.0M|    {
 1716|  21.0M|        merger.merge_inner(p);
 1717|  21.0M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_11relaxed_posISC_EEEEvOT_:
 1648|  21.0M|    {
 1649|  21.0M|        auto from       = p.node();
 1650|  21.0M|        auto from_size  = p.size();
 1651|  21.0M|        auto from_count = p.count();
 1652|  21.0M|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 21.0M, False: 0]
  ------------------
 1653|  21.0M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 18.8M, False: 2.18M]
  |  Branch (1653:21): [True: 17.9M, False: 923k]
  ------------------
 1654|  17.9M|            add_child(from, from_size);
 1655|  17.9M|            from->inc();
 1656|  17.9M|        } else {
 1657|  3.11M|            auto from_offset = count_t{};
 1658|  3.11M|            auto from_data   = from->inner();
 1659|  4.36M|            do {
 1660|  4.36M|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 2.17M, False: 2.18M]
  ------------------
 1661|  2.17M|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|  2.17M|                    to_offset_ = 0;
 1663|  2.17M|                    to_size_   = 0;
 1664|  2.17M|                }
 1665|  4.36M|                auto data = to_->inner();
 1666|  4.36M|                auto to_copy =
 1667|  4.36M|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|  4.36M|                std::copy(from_data + from_offset,
 1669|  4.36M|                          from_data + from_offset + to_copy,
 1670|  4.36M|                          data + to_offset_);
 1671|  4.36M|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|  4.36M|                auto sizes = to_->relaxed()->d.sizes;
 1673|  4.36M|                p.copy_sizes(
 1674|  4.36M|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|  4.36M|                to_offset_ += to_copy;
 1676|  4.36M|                from_offset += to_copy;
 1677|  4.36M|                to_size_ = sizes[to_offset_ - 1];
 1678|  4.36M|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 4.36M, False: 0]
  ------------------
 1679|  4.36M|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 2.17M, False: 2.18M]
  ------------------
 1680|  2.17M|                    to_->relaxed()->d.count = to_offset_;
 1681|  2.17M|                    add_child(to_, to_size_);
 1682|  2.17M|                    to_ = nullptr;
 1683|  2.17M|                }
 1684|  4.36M|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 1.25M, False: 3.11M]
  ------------------
 1685|  3.11M|        }
 1686|  21.0M|    }
_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: 536k, False: 5.20M]
  ------------------
 1514|   536k|            auto s = size_t{};
 1515|  2.13M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.60M, False: 536k]
  ------------------
 1516|  1.60M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.60M|                s = sizes_[i];
 1518|  1.60M|            }
 1519|  5.20M|        } else {
 1520|  13.2M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 8.01M, False: 5.20M]
  ------------------
 1521|  8.01M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  8.01M|                    .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|   528k|        : shift_{s}
 1504|   528k|        , count_{3}
 1505|   528k|        , nodes_{n0, n1, n2}
 1506|   528k|        , sizes_{s0, s0 + s1, s0 + s1 + s2}
 1507|   528k|    {
 1508|   528k|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_mSE_m:
 1489|  7.99k|        : shift_{s}
 1490|  7.99k|        , count_{2}
 1491|  7.99k|        , nodes_{n0, n1}
 1492|  7.99k|        , sizes_{s0, s0 + s1}
 1493|  7.99k|    {
 1494|  7.99k|    }
_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.0k|    {
 1918|  17.0k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  17.0k|    }
_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|    399|    {
 1918|    399|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|    399|    }
_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.85k|{
 1873|  2.85k|    auto lshift = lpos.shift();
 1874|  2.85k|    auto rshift = rpos.shift();
 1875|  2.85k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 2.85k]
  ------------------
 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.85k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 659, False: 2.19k]
  ------------------
 1879|    659|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    659|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  2.19k|    } else {
 1882|  2.19k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 2.19k, False: 0]
  ------------------
 1883|  2.19k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 2.19k]
  |  Branch (1883:9): [True: 2.19k, False: 0]
  |  Branch (1883:9): [True: 2.19k, False: 0]
  ------------------
 1884|  2.19k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  2.19k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  2.19k|    }
 1887|  2.85k|}
_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.01k|    {
 1918|  1.01k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.01k|    }
_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.01k|{
 1873|  1.01k|    auto lshift = lpos.shift();
 1874|  1.01k|    auto rshift = rpos.shift();
 1875|  1.01k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 1.01k]
  ------------------
 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.01k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 351, False: 659]
  ------------------
 1879|    351|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    351|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|    659|    } else {
 1882|    659|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 659, False: 0]
  ------------------
 1883|    659|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 659]
  |  Branch (1883:9): [True: 659, False: 0]
  |  Branch (1883:9): [True: 659, False: 0]
  ------------------
 1884|    659|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|    659|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|    659|    }
 1887|  1.01k|}
_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|    903|{
 1824|    903|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|    903|    plan.fill(lpos, cpos, rpos);
 1826|    903|    plan.shuffle(cpos.shift());
 1827|    903|    IMMER_TRY {
  ------------------
  |  |   49|    903|#define IMMER_TRY try
  ------------------
 1828|    903|        return plan.merge(lpos, cpos, rpos);
 1829|    903|    }
 1830|    903|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|    903|}
_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|    903|    {
 1753|    903|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 903, False: 0]
  ------------------
 1754|    903|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 903, False: 0]
  ------------------
 1755|    903|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|    903|        lpos.each_left_sub(visitor_t{}, *this);
 1757|    903|        cpos.each_sub(visitor_t{}, *this);
 1758|    903|        rpos.each_right_sub(visitor_t{}, *this);
 1759|    903|    }
_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.15M|    {
 1734|  1.15M|        auto count = p.count();
 1735|  1.15M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 1.15M, False: 0]
  ------------------
 1736|  1.15M|        plan.counts[plan.n++] = count;
 1737|  1.15M|        plan.total += count;
 1738|  1.15M|    }
_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|   802k|    {
 1734|   802k|        auto count = p.count();
 1735|   802k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 802k, False: 0]
  ------------------
 1736|   802k|        plan.counts[plan.n++] = count;
 1737|   802k|        plan.total += count;
 1738|   802k|    }
_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|    903|    {
 1803|    903|        using node_t    = node_type<CPos>;
 1804|    903|        using merger_t  = concat_merger<node_t>;
 1805|    903|        using visitor_t = concat_merger_visitor;
 1806|    903|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|    903|        IMMER_TRY {
  ------------------
  |  |   49|    903|#define IMMER_TRY try
  ------------------
 1808|    903|            lpos.each_left_sub(visitor_t{}, merger);
 1809|    903|            cpos.each_sub(visitor_t{}, merger);
 1810|    903|            rpos.each_right_sub(visitor_t{}, merger);
 1811|    903|            cpos.each_sub(dec_visitor{});
 1812|    903|            return merger.finish();
 1813|    903|        }
 1814|    903|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|    903|    }
_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.15M|    {
 1722|  1.15M|        merger.merge_leaf(p);
 1723|  1.15M|    }
_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.15M|    {
 1615|  1.15M|        auto from       = p.node();
 1616|  1.15M|        auto from_size  = p.size();
 1617|  1.15M|        auto from_count = p.count();
 1618|  1.15M|        assert(from_size);
  ------------------
  |  Branch (1618:9): [True: 1.15M, False: 0]
  ------------------
 1619|  1.15M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1619:13): [True: 1.15M, False: 0]
  |  Branch (1619:21): [True: 1.15M, False: 0]
  ------------------
 1620|  1.15M|            add_child(from, from_size);
 1621|  1.15M|            from->inc();
 1622|  1.15M|        } 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.15M|    }
_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|   802k|    {
 1716|   802k|        merger.merge_inner(p);
 1717|   802k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_8full_posISC_EEEEvOT_:
 1648|   802k|    {
 1649|   802k|        auto from       = p.node();
 1650|   802k|        auto from_size  = p.size();
 1651|   802k|        auto from_count = p.count();
 1652|   802k|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 802k, False: 0]
  ------------------
 1653|   802k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 802k, False: 0]
  |  Branch (1653:21): [True: 802k, False: 0]
  ------------------
 1654|   802k|            add_child(from, from_size);
 1655|   802k|            from->inc();
 1656|   802k|        } 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|   802k|    }
_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|    659|    {
 1945|    659|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|    659|    }
_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.85k|    {
 1925|  2.85k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|  2.85k|    }
_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.85k|{
 1839|  2.85k|    static_assert(Node::bits >= 2, "");
 1840|  2.85k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 2.85k, False: 0]
  ------------------
 1841|  2.85k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 2.85k, False: 0]
  ------------------
 1842|  2.85k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 2.85k, False: 0]
  ------------------
 1843|  2.85k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 0, False: 2.85k]
  ------------------
 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.85k|    else
 1854|  2.85k|        return {
 1855|  2.85k|            Node::bits_leaf,
 1856|  2.85k|            lpos.node()->inc(),
 1857|  2.85k|            lpos.count(),
 1858|  2.85k|            rpos.node()->inc(),
 1859|  2.85k|            rpos.count(),
 1860|  2.85k|        };
 1861|  2.85k|}
_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|    659|{
 1824|    659|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|    659|    plan.fill(lpos, cpos, rpos);
 1826|    659|    plan.shuffle(cpos.shift());
 1827|    659|    IMMER_TRY {
  ------------------
  |  |   49|    659|#define IMMER_TRY try
  ------------------
 1828|    659|        return plan.merge(lpos, cpos, rpos);
 1829|    659|    }
 1830|    659|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|    659|}
_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|    659|    {
 1753|    659|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 659, False: 0]
  ------------------
 1754|    659|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 659, False: 0]
  ------------------
 1755|    659|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|    659|        lpos.each_left_sub(visitor_t{}, *this);
 1757|    659|        cpos.each_sub(visitor_t{}, *this);
 1758|    659|        rpos.each_right_sub(visitor_t{}, *this);
 1759|    659|    }
_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|    659|    {
 1803|    659|        using node_t    = node_type<CPos>;
 1804|    659|        using merger_t  = concat_merger<node_t>;
 1805|    659|        using visitor_t = concat_merger_visitor;
 1806|    659|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|    659|        IMMER_TRY {
  ------------------
  |  |   49|    659|#define IMMER_TRY try
  ------------------
 1808|    659|            lpos.each_left_sub(visitor_t{}, merger);
 1809|    659|            cpos.each_sub(visitor_t{}, merger);
 1810|    659|            rpos.each_right_sub(visitor_t{}, merger);
 1811|    659|            cpos.each_sub(dec_visitor{});
 1812|    659|            return merger.finish();
 1813|    659|        }
 1814|    659|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|    659|    }
_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|  1.99k|{
 1824|  1.99k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  1.99k|    plan.fill(lpos, cpos, rpos);
 1826|  1.99k|    plan.shuffle(cpos.shift());
 1827|  1.99k|    IMMER_TRY {
  ------------------
  |  |   49|  1.99k|#define IMMER_TRY try
  ------------------
 1828|  1.99k|        return plan.merge(lpos, cpos, rpos);
 1829|  1.99k|    }
 1830|  1.99k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  1.99k|}
_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|  1.99k|    {
 1753|  1.99k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 1.99k, False: 0]
  ------------------
 1754|  1.99k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 1.99k, False: 0]
  ------------------
 1755|  1.99k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  1.99k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  1.99k|        cpos.each_sub(visitor_t{}, *this);
 1758|  1.99k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  1.99k|    }
_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|   722k|    {
 1734|   722k|        auto count = p.count();
 1735|   722k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 722k, False: 0]
  ------------------
 1736|   722k|        plan.counts[plan.n++] = count;
 1737|   722k|        plan.total += count;
 1738|   722k|    }
_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|  1.99k|    {
 1803|  1.99k|        using node_t    = node_type<CPos>;
 1804|  1.99k|        using merger_t  = concat_merger<node_t>;
 1805|  1.99k|        using visitor_t = concat_merger_visitor;
 1806|  1.99k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  1.99k|        IMMER_TRY {
  ------------------
  |  |   49|  1.99k|#define IMMER_TRY try
  ------------------
 1808|  1.99k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  1.99k|            cpos.each_sub(visitor_t{}, merger);
 1810|  1.99k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  1.99k|            cpos.each_sub(dec_visitor{});
 1812|  1.99k|            return merger.finish();
 1813|  1.99k|        }
 1814|  1.99k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  1.99k|    }
_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|   722k|    {
 1716|   722k|        merger.merge_inner(p);
 1717|   722k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_15regular_sub_posISC_EEEEvOT_:
 1648|   722k|    {
 1649|   722k|        auto from       = p.node();
 1650|   722k|        auto from_size  = p.size();
 1651|   722k|        auto from_count = p.count();
 1652|   722k|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 722k, False: 0]
  ------------------
 1653|   722k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 584k, False: 137k]
  |  Branch (1653:21): [True: 584k, False: 0]
  ------------------
 1654|   584k|            add_child(from, from_size);
 1655|   584k|            from->inc();
 1656|   584k|        } else {
 1657|   137k|            auto from_offset = count_t{};
 1658|   137k|            auto from_data   = from->inner();
 1659|   275k|            do {
 1660|   275k|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 137k, False: 137k]
  ------------------
 1661|   137k|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|   137k|                    to_offset_ = 0;
 1663|   137k|                    to_size_   = 0;
 1664|   137k|                }
 1665|   275k|                auto data = to_->inner();
 1666|   275k|                auto to_copy =
 1667|   275k|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|   275k|                std::copy(from_data + from_offset,
 1669|   275k|                          from_data + from_offset + to_copy,
 1670|   275k|                          data + to_offset_);
 1671|   275k|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|   275k|                auto sizes = to_->relaxed()->d.sizes;
 1673|   275k|                p.copy_sizes(
 1674|   275k|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|   275k|                to_offset_ += to_copy;
 1676|   275k|                from_offset += to_copy;
 1677|   275k|                to_size_ = sizes[to_offset_ - 1];
 1678|   275k|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 275k, False: 0]
  ------------------
 1679|   275k|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 137k, False: 137k]
  ------------------
 1680|   137k|                    to_->relaxed()->d.count = to_offset_;
 1681|   137k|                    add_child(to_, to_size_);
 1682|   137k|                    to_ = nullptr;
 1683|   137k|                }
 1684|   275k|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 137k, False: 137k]
  ------------------
 1685|   137k|        }
 1686|   722k|    }
_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.19k|    {
 1945|  2.19k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  2.19k|    }
_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.14k|    {
 1925|  5.14k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|  5.14k|    }
_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.14k|{
 1839|  5.14k|    static_assert(Node::bits >= 2, "");
 1840|  5.14k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 5.14k, False: 0]
  ------------------
 1841|  5.14k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 5.14k, False: 0]
  ------------------
 1842|  5.14k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 5.14k, False: 0]
  ------------------
 1843|  5.14k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 0, False: 5.14k]
  ------------------
 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.14k|    else
 1854|  5.14k|        return {
 1855|  5.14k|            Node::bits_leaf,
 1856|  5.14k|            lpos.node()->inc(),
 1857|  5.14k|            lpos.count(),
 1858|  5.14k|            rpos.node()->inc(),
 1859|  5.14k|            rpos.count(),
 1860|  5.14k|        };
 1861|  5.14k|}
_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.19k|{
 1824|  2.19k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.19k|    plan.fill(lpos, cpos, rpos);
 1826|  2.19k|    plan.shuffle(cpos.shift());
 1827|  2.19k|    IMMER_TRY {
  ------------------
  |  |   49|  2.19k|#define IMMER_TRY try
  ------------------
 1828|  2.19k|        return plan.merge(lpos, cpos, rpos);
 1829|  2.19k|    }
 1830|  2.19k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.19k|}
_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.19k|    {
 1753|  2.19k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.19k, False: 0]
  ------------------
 1754|  2.19k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.19k, False: 0]
  ------------------
 1755|  2.19k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.19k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.19k|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.19k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.19k|    }
_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.19k|    {
 1803|  2.19k|        using node_t    = node_type<CPos>;
 1804|  2.19k|        using merger_t  = concat_merger<node_t>;
 1805|  2.19k|        using visitor_t = concat_merger_visitor;
 1806|  2.19k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.19k|        IMMER_TRY {
  ------------------
  |  |   49|  2.19k|#define IMMER_TRY try
  ------------------
 1808|  2.19k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.19k|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.19k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.19k|            cpos.each_sub(dec_visitor{});
 1812|  2.19k|            return merger.finish();
 1813|  2.19k|        }
 1814|  2.19k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.19k|    }
_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|   119k|{
 1824|   119k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   119k|    plan.fill(lpos, cpos, rpos);
 1826|   119k|    plan.shuffle(cpos.shift());
 1827|   119k|    IMMER_TRY {
  ------------------
  |  |   49|   119k|#define IMMER_TRY try
  ------------------
 1828|   119k|        return plan.merge(lpos, cpos, rpos);
 1829|   119k|    }
 1830|   119k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   119k|}
_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|   119k|    {
 1753|   119k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 119k, False: 0]
  ------------------
 1754|   119k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 119k, False: 0]
  ------------------
 1755|   119k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   119k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   119k|        cpos.each_sub(visitor_t{}, *this);
 1758|   119k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   119k|    }
_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|   119k|    {
 1803|   119k|        using node_t    = node_type<CPos>;
 1804|   119k|        using merger_t  = concat_merger<node_t>;
 1805|   119k|        using visitor_t = concat_merger_visitor;
 1806|   119k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   119k|        IMMER_TRY {
  ------------------
  |  |   49|   119k|#define IMMER_TRY try
  ------------------
 1808|   119k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   119k|            cpos.each_sub(visitor_t{}, merger);
 1810|   119k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   119k|            cpos.each_sub(dec_visitor{});
 1812|   119k|            return merger.finish();
 1813|   119k|        }
 1814|   119k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   119k|    }
_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.14k|    {
 1945|  5.14k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  5.14k|    }
_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.14k|{
 1824|  5.14k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  5.14k|    plan.fill(lpos, cpos, rpos);
 1826|  5.14k|    plan.shuffle(cpos.shift());
 1827|  5.14k|    IMMER_TRY {
  ------------------
  |  |   49|  5.14k|#define IMMER_TRY try
  ------------------
 1828|  5.14k|        return plan.merge(lpos, cpos, rpos);
 1829|  5.14k|    }
 1830|  5.14k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  5.14k|}
_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.14k|    {
 1753|  5.14k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 5.14k, False: 0]
  ------------------
 1754|  5.14k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 5.14k, False: 0]
  ------------------
 1755|  5.14k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  5.14k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  5.14k|        cpos.each_sub(visitor_t{}, *this);
 1758|  5.14k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  5.14k|    }
_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.14k|    {
 1803|  5.14k|        using node_t    = node_type<CPos>;
 1804|  5.14k|        using merger_t  = concat_merger<node_t>;
 1805|  5.14k|        using visitor_t = concat_merger_visitor;
 1806|  5.14k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  5.14k|        IMMER_TRY {
  ------------------
  |  |   49|  5.14k|#define IMMER_TRY try
  ------------------
 1808|  5.14k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  5.14k|            cpos.each_sub(visitor_t{}, merger);
 1810|  5.14k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  5.14k|            cpos.each_sub(dec_visitor{});
 1812|  5.14k|            return merger.finish();
 1813|  5.14k|        }
 1814|  5.14k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  5.14k|    }
_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.45k|    {
 1959|  2.45k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  2.45k|    }
_ZNO5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7realizeEv:
 1527|   536k|    {
 1528|   536k|        if (count_ > 1) {
  ------------------
  |  Branch (1528:13): [True: 39.4k, False: 496k]
  ------------------
 1529|  39.4k|            IMMER_TRY {
  ------------------
  |  |   49|  39.4k|#define IMMER_TRY try
  ------------------
 1530|  39.4k|                auto result = node_t::make_inner_r_n(count_);
 1531|  39.4k|                auto r      = result->relaxed();
 1532|  39.4k|                r->d.count  = count_;
 1533|  39.4k|                std::copy(nodes_, nodes_ + count_, result->inner());
 1534|  39.4k|                std::copy(sizes_, sizes_ + count_, r->d.sizes);
 1535|  39.4k|                return {result, shift_, r};
 1536|  39.4k|            }
 1537|  39.4k|            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|   536k|    }
_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|   528k|{
 1987|   528k|    return visit_maybe_relaxed_sub(lroot,
 1988|   528k|                                   lshift,
 1989|   528k|                                   lsize,
 1990|   528k|                                   concat_trees_left_visitor<Node>{},
 1991|   528k|                                   make_leaf_pos(ltail, ltcount),
 1992|   528k|                                   rroot,
 1993|   528k|                                   rshift,
 1994|   528k|                                   rsize)
 1995|   528k|        .realize();
 1996|   528k|}
_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|   513k|    {
 1972|   513k|        return visit_maybe_relaxed_sub(
 1973|   513k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|   513k|    }
_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|   500k|    {
 1959|   500k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|   500k|    }
_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.67M|{
 1873|  4.67M|    auto lshift = lpos.shift();
 1874|  4.67M|    auto rshift = rpos.shift();
 1875|  4.67M|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 2.33M, False: 2.33M]
  ------------------
 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: 91.1k, False: 2.24M]
  ------------------
 1879|  91.1k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  91.1k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  2.24M|    } else {
 1882|  2.24M|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 2.24M, False: 0]
  ------------------
 1883|  2.24M|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 2.24M]
  |  Branch (1883:9): [True: 2.24M, False: 0]
  |  Branch (1883:9): [True: 2.24M, False: 0]
  ------------------
 1884|  2.24M|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  2.24M|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  2.24M|    }
 1887|  4.67M|}
_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|  4.89k|    {
 1898|  4.89k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  4.89k|    }
_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|   697k|{
 1873|   697k|    auto lshift = lpos.shift();
 1874|   697k|    auto rshift = rpos.shift();
 1875|   697k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 2.95k, False: 694k]
  ------------------
 1876|  2.95k|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  2.95k|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   694k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 10.7k, False: 683k]
  ------------------
 1879|  10.7k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  10.7k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   683k|    } else {
 1882|   683k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 683k, False: 0]
  ------------------
 1883|   683k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 683k]
  |  Branch (1883:9): [True: 683k, False: 0]
  |  Branch (1883:9): [True: 683k, False: 0]
  ------------------
 1884|   683k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   683k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   683k|    }
 1887|   697k|}
_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|  3.71k|{
 1824|  3.71k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  3.71k|    plan.fill(lpos, cpos, rpos);
 1826|  3.71k|    plan.shuffle(cpos.shift());
 1827|  3.71k|    IMMER_TRY {
  ------------------
  |  |   49|  3.71k|#define IMMER_TRY try
  ------------------
 1828|  3.71k|        return plan.merge(lpos, cpos, rpos);
 1829|  3.71k|    }
 1830|  3.71k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  3.71k|}
_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|  3.71k|    {
 1753|  3.71k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 3.71k, False: 0]
  ------------------
 1754|  3.71k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 3.71k, False: 0]
  ------------------
 1755|  3.71k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  3.71k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  3.71k|        cpos.each_sub(visitor_t{}, *this);
 1758|  3.71k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  3.71k|    }
_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|  3.71k|    {
 1803|  3.71k|        using node_t    = node_type<CPos>;
 1804|  3.71k|        using merger_t  = concat_merger<node_t>;
 1805|  3.71k|        using visitor_t = concat_merger_visitor;
 1806|  3.71k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  3.71k|        IMMER_TRY {
  ------------------
  |  |   49|  3.71k|#define IMMER_TRY try
  ------------------
 1808|  3.71k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  3.71k|            cpos.each_sub(visitor_t{}, merger);
 1810|  3.71k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  3.71k|            cpos.each_sub(dec_visitor{});
 1812|  3.71k|            return merger.finish();
 1813|  3.71k|        }
 1814|  3.71k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  3.71k|    }
_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|   685k|    {
 1918|   685k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   685k|    }
_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|   133k|    {
 1918|   133k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   133k|    }
_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|   141k|{
 1873|   141k|    auto lshift = lpos.shift();
 1874|   141k|    auto rshift = rpos.shift();
 1875|   141k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 758, False: 140k]
  ------------------
 1876|    758|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|    758|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   140k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 534, False: 140k]
  ------------------
 1879|    534|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    534|        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|   141k|}
_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.16k|    {
 1898|  1.16k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  1.16k|    }
_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|   135k|    {
 1918|   135k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   135k|    }
_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|   135k|{
 1873|   135k|    auto lshift = lpos.shift();
 1874|   135k|    auto rshift = rpos.shift();
 1875|   135k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 135k]
  ------------------
 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|   135k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 288, False: 135k]
  ------------------
 1879|    288|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    288|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   135k|    } else {
 1882|   135k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 135k, False: 0]
  ------------------
 1883|   135k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 135k]
  |  Branch (1883:9): [True: 135k, False: 0]
  |  Branch (1883:9): [True: 135k, False: 0]
  ------------------
 1884|   135k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   135k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   135k|    }
 1887|   135k|}
_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|  67.6k|    {
 1945|  67.6k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  67.6k|    }
_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|   154k|    {
 1925|   154k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|   154k|    }
_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|   154k|{
 1839|   154k|    static_assert(Node::bits >= 2, "");
 1840|   154k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 154k, False: 0]
  ------------------
 1841|   154k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 154k, False: 0]
  ------------------
 1842|   154k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 154k, False: 0]
  ------------------
 1843|   154k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 154k, False: 0]
  ------------------
 1844|   154k|        return {
 1845|   154k|            Node::bits_leaf,
 1846|   154k|            lpos.node()->inc(),
 1847|   154k|            lpos.count(),
 1848|   154k|            tpos.node()->inc(),
 1849|   154k|            tpos.count(),
 1850|   154k|            rpos.node()->inc(),
 1851|   154k|            rpos.count(),
 1852|   154k|        };
 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|   154k|}
_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|  68.8k|    {
 1938|  68.8k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  68.8k|    }
_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|   135k|{
 1824|   135k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   135k|    plan.fill(lpos, cpos, rpos);
 1826|   135k|    plan.shuffle(cpos.shift());
 1827|   135k|    IMMER_TRY {
  ------------------
  |  |   49|   135k|#define IMMER_TRY try
  ------------------
 1828|   135k|        return plan.merge(lpos, cpos, rpos);
 1829|   135k|    }
 1830|   135k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   135k|}
_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|   135k|    {
 1753|   135k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 135k, False: 0]
  ------------------
 1754|   135k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 135k, False: 0]
  ------------------
 1755|   135k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   135k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   135k|        cpos.each_sub(visitor_t{}, *this);
 1758|   135k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   135k|    }
_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|   135k|    {
 1803|   135k|        using node_t    = node_type<CPos>;
 1804|   135k|        using merger_t  = concat_merger<node_t>;
 1805|   135k|        using visitor_t = concat_merger_visitor;
 1806|   135k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   135k|        IMMER_TRY {
  ------------------
  |  |   49|   135k|#define IMMER_TRY try
  ------------------
 1808|   135k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   135k|            cpos.each_sub(visitor_t{}, merger);
 1810|   135k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   135k|            cpos.each_sub(dec_visitor{});
 1812|   135k|            return merger.finish();
 1813|   135k|        }
 1814|   135k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   135k|    }
_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|  87.1k|    {
 1945|  87.1k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  87.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|   373k|    {
 1925|   373k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|   373k|    }
_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|   373k|{
 1839|   373k|    static_assert(Node::bits >= 2, "");
 1840|   373k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 373k, False: 0]
  ------------------
 1841|   373k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 373k, False: 0]
  ------------------
 1842|   373k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 373k, False: 0]
  ------------------
 1843|   373k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 373k, False: 0]
  ------------------
 1844|   373k|        return {
 1845|   373k|            Node::bits_leaf,
 1846|   373k|            lpos.node()->inc(),
 1847|   373k|            lpos.count(),
 1848|   373k|            tpos.node()->inc(),
 1849|   373k|            tpos.count(),
 1850|   373k|            rpos.node()->inc(),
 1851|   373k|            rpos.count(),
 1852|   373k|        };
 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|   373k|}
_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|  65.9k|    {
 1938|  65.9k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  65.9k|    }
_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|   373k|    {
 1945|   373k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|   373k|    }
_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|   808k|    {
 1938|   808k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|   808k|    }
_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|   683k|{
 1824|   683k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   683k|    plan.fill(lpos, cpos, rpos);
 1826|   683k|    plan.shuffle(cpos.shift());
 1827|   683k|    IMMER_TRY {
  ------------------
  |  |   49|   683k|#define IMMER_TRY try
  ------------------
 1828|   683k|        return plan.merge(lpos, cpos, rpos);
 1829|   683k|    }
 1830|   683k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   683k|}
_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|   683k|    {
 1753|   683k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 683k, False: 0]
  ------------------
 1754|   683k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 683k, False: 0]
  ------------------
 1755|   683k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   683k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   683k|        cpos.each_sub(visitor_t{}, *this);
 1758|   683k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   683k|    }
_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|   683k|    {
 1803|   683k|        using node_t    = node_type<CPos>;
 1804|   683k|        using merger_t  = concat_merger<node_t>;
 1805|   683k|        using visitor_t = concat_merger_visitor;
 1806|   683k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   683k|        IMMER_TRY {
  ------------------
  |  |   49|   683k|#define IMMER_TRY try
  ------------------
 1808|   683k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   683k|            cpos.each_sub(visitor_t{}, merger);
 1810|   683k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   683k|            cpos.each_sub(dec_visitor{});
 1812|   683k|            return merger.finish();
 1813|   683k|        }
 1814|   683k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   683k|    }
_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.38M|{
 1824|  2.38M|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.38M|    plan.fill(lpos, cpos, rpos);
 1826|  2.38M|    plan.shuffle(cpos.shift());
 1827|  2.38M|    IMMER_TRY {
  ------------------
  |  |   49|  2.38M|#define IMMER_TRY try
  ------------------
 1828|  2.38M|        return plan.merge(lpos, cpos, rpos);
 1829|  2.38M|    }
 1830|  2.38M|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.38M|}
_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.38M|    {
 1753|  2.38M|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.38M, False: 0]
  ------------------
 1754|  2.38M|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.38M, False: 0]
  ------------------
 1755|  2.38M|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.38M|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.38M|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.38M|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.38M|    }
_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.38M|    {
 1803|  2.38M|        using node_t    = node_type<CPos>;
 1804|  2.38M|        using merger_t  = concat_merger<node_t>;
 1805|  2.38M|        using visitor_t = concat_merger_visitor;
 1806|  2.38M|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.38M|        IMMER_TRY {
  ------------------
  |  |   49|  2.38M|#define IMMER_TRY try
  ------------------
 1808|  2.38M|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.38M|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.38M|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.38M|            cpos.each_sub(dec_visitor{});
 1812|  2.38M|            return merger.finish();
 1813|  2.38M|        }
 1814|  2.38M|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.38M|    }
_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.83M|    {
 1918|  1.83M|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.83M|    }
_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|    704|    {
 1918|    704|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|    704|    }
_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|  60.3k|{
 1873|  60.3k|    auto lshift = lpos.shift();
 1874|  60.3k|    auto rshift = rpos.shift();
 1875|  60.3k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 46.5k, False: 13.7k]
  ------------------
 1876|  46.5k|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  46.5k|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  46.5k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 806, False: 12.9k]
  ------------------
 1879|    806|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    806|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  12.9k|    } else {
 1882|  12.9k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 12.9k, False: 0]
  ------------------
 1883|  12.9k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 12.9k]
  |  Branch (1883:9): [True: 12.9k, False: 0]
  |  Branch (1883:9): [True: 12.9k, False: 0]
  ------------------
 1884|  12.9k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  12.9k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  12.9k|    }
 1887|  60.3k|}
_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|  46.1k|    {
 1898|  46.1k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  46.1k|    }
_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|  1.83k|    {
 1918|  1.83k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.83k|    }
_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|  1.83k|{
 1873|  1.83k|    auto lshift = lpos.shift();
 1874|  1.83k|    auto rshift = rpos.shift();
 1875|  1.83k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 1.83k]
  ------------------
 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.83k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 264, False: 1.57k]
  ------------------
 1879|    264|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    264|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  1.57k|    } else {
 1882|  1.57k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 1.57k, False: 0]
  ------------------
 1883|  1.57k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 1.57k]
  |  Branch (1883:9): [True: 1.57k, False: 0]
  |  Branch (1883:9): [True: 1.57k, False: 0]
  ------------------
 1884|  1.57k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  1.57k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  1.57k|    }
 1887|  1.83k|}
_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|    364|    {
 1938|    364|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|    364|    }
_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|  1.57k|{
 1824|  1.57k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  1.57k|    plan.fill(lpos, cpos, rpos);
 1826|  1.57k|    plan.shuffle(cpos.shift());
 1827|  1.57k|    IMMER_TRY {
  ------------------
  |  |   49|  1.57k|#define IMMER_TRY try
  ------------------
 1828|  1.57k|        return plan.merge(lpos, cpos, rpos);
 1829|  1.57k|    }
 1830|  1.57k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  1.57k|}
_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|  1.57k|    {
 1753|  1.57k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 1.57k, False: 0]
  ------------------
 1754|  1.57k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 1.57k, False: 0]
  ------------------
 1755|  1.57k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  1.57k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  1.57k|        cpos.each_sub(visitor_t{}, *this);
 1758|  1.57k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  1.57k|    }
_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|  1.57k|    {
 1803|  1.57k|        using node_t    = node_type<CPos>;
 1804|  1.57k|        using merger_t  = concat_merger<node_t>;
 1805|  1.57k|        using visitor_t = concat_merger_visitor;
 1806|  1.57k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  1.57k|        IMMER_TRY {
  ------------------
  |  |   49|  1.57k|#define IMMER_TRY try
  ------------------
 1808|  1.57k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  1.57k|            cpos.each_sub(visitor_t{}, merger);
 1810|  1.57k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  1.57k|            cpos.each_sub(dec_visitor{});
 1812|  1.57k|            return merger.finish();
 1813|  1.57k|        }
 1814|  1.57k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  1.57k|    }
_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|    400|    {
 1938|    400|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|    400|    }
_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|  12.9k|{
 1824|  12.9k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  12.9k|    plan.fill(lpos, cpos, rpos);
 1826|  12.9k|    plan.shuffle(cpos.shift());
 1827|  12.9k|    IMMER_TRY {
  ------------------
  |  |   49|  12.9k|#define IMMER_TRY try
  ------------------
 1828|  12.9k|        return plan.merge(lpos, cpos, rpos);
 1829|  12.9k|    }
 1830|  12.9k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  12.9k|}
_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|  12.9k|    {
 1753|  12.9k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 12.9k, False: 0]
  ------------------
 1754|  12.9k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 12.9k, False: 0]
  ------------------
 1755|  12.9k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  12.9k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  12.9k|        cpos.each_sub(visitor_t{}, *this);
 1758|  12.9k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  12.9k|    }
_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|  12.9k|    {
 1803|  12.9k|        using node_t    = node_type<CPos>;
 1804|  12.9k|        using merger_t  = concat_merger<node_t>;
 1805|  12.9k|        using visitor_t = concat_merger_visitor;
 1806|  12.9k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  12.9k|        IMMER_TRY {
  ------------------
  |  |   49|  12.9k|#define IMMER_TRY try
  ------------------
 1808|  12.9k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  12.9k|            cpos.each_sub(visitor_t{}, merger);
 1810|  12.9k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  12.9k|            cpos.each_sub(dec_visitor{});
 1812|  12.9k|            return merger.finish();
 1813|  12.9k|        }
 1814|  12.9k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  12.9k|    }
_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.24M|{
 1824|  2.24M|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.24M|    plan.fill(lpos, cpos, rpos);
 1826|  2.24M|    plan.shuffle(cpos.shift());
 1827|  2.24M|    IMMER_TRY {
  ------------------
  |  |   49|  2.24M|#define IMMER_TRY try
  ------------------
 1828|  2.24M|        return plan.merge(lpos, cpos, rpos);
 1829|  2.24M|    }
 1830|  2.24M|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.24M|}
_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.24M|    {
 1753|  2.24M|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.24M, False: 0]
  ------------------
 1754|  2.24M|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.24M, False: 0]
  ------------------
 1755|  2.24M|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.24M|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.24M|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.24M|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.24M|    }
_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.24M|    {
 1803|  2.24M|        using node_t    = node_type<CPos>;
 1804|  2.24M|        using merger_t  = concat_merger<node_t>;
 1805|  2.24M|        using visitor_t = concat_merger_visitor;
 1806|  2.24M|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.24M|        IMMER_TRY {
  ------------------
  |  |   49|  2.24M|#define IMMER_TRY try
  ------------------
 1808|  2.24M|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.24M|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.24M|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.24M|            cpos.each_sub(dec_visitor{});
 1812|  2.24M|            return merger.finish();
 1813|  2.24M|        }
 1814|  2.24M|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.24M|    }
_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|  13.4k|    {
 1959|  13.4k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  13.4k|    }
_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.5k|    {
 1972|  14.5k|        return visit_maybe_relaxed_sub(
 1973|  14.5k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|  14.5k|    }
_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|  7.00k|    {
 1959|  7.00k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  7.00k|    }
_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|  7.49k|    {
 1959|  7.49k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  7.49k|    }
_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|  71.5k|    {
  681|  71.5k|        auto node     = pos.node();
  682|  71.5k|        auto level    = pos.shift();
  683|  71.5k|        auto idx      = pos.count() - 1;
  684|  71.5k|        auto children = pos.size(idx);
  685|  71.5k|        auto new_idx =
  686|  71.5k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (686:13): [True: 2.29k, False: 69.2k]
  |  Branch (686:47): [True: 512, False: 68.7k]
  ------------------
  687|  71.5k|        auto new_child = static_cast<node_t*>(nullptr);
  688|  71.5k|        auto mutate    = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (688:26): [True: 71.5k, Folded]
  |  Branch (688:38): [True: 67.8k, False: 3.72k]
  ------------------
  689|       |
  690|  71.5k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (690:13): [True: 1.11k, False: 70.4k]
  ------------------
  691|  1.11k|            return nullptr;
  692|  70.4k|        else if (idx == new_idx) {
  ------------------
  |  Branch (692:18): [True: 68.7k, False: 1.69k]
  ------------------
  693|  68.7k|            new_child =
  694|  68.7k|                mutate ? pos.last_oh_csh(this_t{}, idx, children, e, tail, ts)
  ------------------
  |  Branch (694:17): [True: 66.0k, False: 2.69k]
  ------------------
  695|  68.7k|                       : pos.last_oh_csh(
  696|  2.69k|                             this_no_mut_t{}, idx, children, e, tail, ts);
  697|  68.7k|            if (!new_child) {
  ------------------
  |  Branch (697:17): [True: 653, False: 68.1k]
  ------------------
  698|    653|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (698:21): [True: 298, False: 355]
  ------------------
  699|    298|                    new_child = node_t::make_path_e(e, level - B, tail);
  700|    355|                else
  701|    355|                    return nullptr;
  702|    653|            }
  703|  68.7k|        } else
  704|  1.69k|            new_child = node_t::make_path_e(e, level - B, tail);
  705|       |
  706|  70.0k|        if (mutate) {
  ------------------
  |  Branch (706:13): [True: 67.5k, False: 2.57k]
  ------------------
  707|  67.5k|            auto count             = new_idx + 1;
  708|  67.5k|            auto relaxed           = node->ensure_mutable_relaxed_n(e, new_idx);
  709|  67.5k|            node->inner()[new_idx] = new_child;
  710|  67.5k|            relaxed->d.sizes[new_idx] = pos.size() + ts;
  711|  67.5k|            relaxed->d.count          = count;
  712|  67.5k|            assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (712:13): [True: 67.5k, False: 0]
  ------------------
  713|  67.5k|            return node;
  714|  67.5k|        } else {
  715|  2.57k|            IMMER_TRY {
  ------------------
  |  |   49|  2.57k|#define IMMER_TRY try
  ------------------
  716|  2.57k|                auto count    = new_idx + 1;
  717|  2.57k|                auto new_node = node_t::copy_inner_r_e(e, pos.node(), new_idx);
  718|  2.57k|                auto relaxed  = new_node->relaxed();
  719|  2.57k|                new_node->inner()[new_idx] = new_child;
  720|  2.57k|                relaxed->d.sizes[new_idx]  = pos.size() + ts;
  721|  2.57k|                relaxed->d.count           = count;
  722|  2.57k|                assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (722:17): [True: 2.57k, False: 0]
  ------------------
  723|  2.57k|                if (Mutating)
  ------------------
  |  Branch (723:21): [True: 2.57k, Folded]
  ------------------
  724|  2.57k|                    pos.visit(dec_visitor{});
  725|  2.57k|                return new_node;
  726|  2.57k|            }
  727|  2.57k|            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.57k|        }
  737|  70.0k|    }
_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|  56.5k|    {
  742|  56.5k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 56.5k, False: 0]
  ------------------
  743|  56.5k|        auto node    = pos.node();
  744|  56.5k|        auto idx     = pos.index(pos.size() - 1);
  745|  56.5k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  56.5k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 56.5k, Folded]
  |  Branch (746:36): [True: 55.8k, False: 679]
  ------------------
  747|  56.5k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 55.8k, False: 679]
  ------------------
  748|  55.8k|            node->inner()[new_idx] =
  749|  55.8k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 54.9k, False: 867]
  ------------------
  750|       |                               /* otherwise */
  751|  55.8k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|  55.8k|            return node;
  753|  55.8k|        } else {
  754|    679|            auto new_parent = node_t::make_inner_e(e);
  755|    679|            IMMER_TRY {
  ------------------
  |  |   49|    679|#define IMMER_TRY try
  ------------------
  756|    679|                new_parent->inner()[new_idx] =
  757|    679|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 359, False: 320]
  ------------------
  758|    679|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    679|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    679|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    679|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 679, Folded]
  ------------------
  763|    679|                    pos.visit(dec_visitor{});
  764|    679|                return new_parent;
  765|    679|            }
  766|    679|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    679|        }
  771|  56.5k|    }
_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|  1.00M|    {
  742|  1.00M|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 1.00M, False: 0]
  ------------------
  743|  1.00M|        auto node    = pos.node();
  744|  1.00M|        auto idx     = pos.index(pos.size() - 1);
  745|  1.00M|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  1.00M|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 1.00M, Folded]
  |  Branch (746:36): [True: 1.00M, False: 519]
  ------------------
  747|  1.00M|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 1.00M, False: 519]
  ------------------
  748|  1.00M|            node->inner()[new_idx] =
  749|  1.00M|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 793k, False: 211k]
  ------------------
  750|       |                               /* otherwise */
  751|  1.00M|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|  1.00M|            return node;
  753|  1.00M|        } else {
  754|    519|            auto new_parent = node_t::make_inner_e(e);
  755|    519|            IMMER_TRY {
  ------------------
  |  |   49|    519|#define IMMER_TRY try
  ------------------
  756|    519|                new_parent->inner()[new_idx] =
  757|    519|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 213, False: 306]
  ------------------
  758|    519|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    519|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    519|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    519|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 519, Folded]
  ------------------
  763|    519|                    pos.visit(dec_visitor{});
  764|    519|                return new_parent;
  765|    519|            }
  766|    519|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    519|        }
  771|  1.00M|    }
_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.14k|    {
  742|  3.14k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 3.14k, False: 0]
  ------------------
  743|  3.14k|        auto node    = pos.node();
  744|  3.14k|        auto idx     = pos.index(pos.size() - 1);
  745|  3.14k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  3.14k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [Folded, False: 3.14k]
  |  Branch (746:36): [True: 0, False: 0]
  ------------------
  747|  3.14k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 0, False: 3.14k]
  ------------------
  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.14k|        } else {
  754|  3.14k|            auto new_parent = node_t::make_inner_e(e);
  755|  3.14k|            IMMER_TRY {
  ------------------
  |  |   49|  3.14k|#define IMMER_TRY try
  ------------------
  756|  3.14k|                new_parent->inner()[new_idx] =
  757|  3.14k|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 1.45k, False: 1.69k]
  ------------------
  758|  3.14k|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|  3.14k|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|  3.14k|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|  3.14k|                if (Mutating)
  ------------------
  |  Branch (762:21): [Folded, False: 3.14k]
  ------------------
  763|      0|                    pos.visit(dec_visitor{});
  764|  3.14k|                return new_parent;
  765|  3.14k|            }
  766|  3.14k|            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.14k|        }
  771|  3.14k|    }
_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.97k|    {
  681|  7.97k|        auto node     = pos.node();
  682|  7.97k|        auto level    = pos.shift();
  683|  7.97k|        auto idx      = pos.count() - 1;
  684|  7.97k|        auto children = pos.size(idx);
  685|  7.97k|        auto new_idx =
  686|  7.97k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (686:13): [True: 1.14k, False: 6.83k]
  |  Branch (686:47): [True: 457, False: 6.37k]
  ------------------
  687|  7.97k|        auto new_child = static_cast<node_t*>(nullptr);
  688|  7.97k|        auto mutate    = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (688:26): [Folded, False: 7.97k]
  |  Branch (688:38): [True: 0, False: 0]
  ------------------
  689|       |
  690|  7.97k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (690:13): [True: 607, False: 7.37k]
  ------------------
  691|    607|            return nullptr;
  692|  7.37k|        else if (idx == new_idx) {
  ------------------
  |  Branch (692:18): [True: 6.37k, False: 992]
  ------------------
  693|  6.37k|            new_child =
  694|  6.37k|                mutate ? pos.last_oh_csh(this_t{}, idx, children, e, tail, ts)
  ------------------
  |  Branch (694:17): [True: 0, False: 6.37k]
  ------------------
  695|  6.37k|                       : pos.last_oh_csh(
  696|  6.37k|                             this_no_mut_t{}, idx, children, e, tail, ts);
  697|  6.37k|            if (!new_child) {
  ------------------
  |  Branch (697:17): [True: 645, False: 5.73k]
  ------------------
  698|    645|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (698:21): [True: 282, False: 363]
  ------------------
  699|    282|                    new_child = node_t::make_path_e(e, level - B, tail);
  700|    363|                else
  701|    363|                    return nullptr;
  702|    645|            }
  703|  6.37k|        } else
  704|    992|            new_child = node_t::make_path_e(e, level - B, tail);
  705|       |
  706|  7.00k|        if (mutate) {
  ------------------
  |  Branch (706:13): [True: 0, False: 7.00k]
  ------------------
  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|  7.00k|        } else {
  715|  7.00k|            IMMER_TRY {
  ------------------
  |  |   49|  7.00k|#define IMMER_TRY try
  ------------------
  716|  7.00k|                auto count    = new_idx + 1;
  717|  7.00k|                auto new_node = node_t::copy_inner_r_e(e, pos.node(), new_idx);
  718|  7.00k|                auto relaxed  = new_node->relaxed();
  719|  7.00k|                new_node->inner()[new_idx] = new_child;
  720|  7.00k|                relaxed->d.sizes[new_idx]  = pos.size() + ts;
  721|  7.00k|                relaxed->d.count           = count;
  722|  7.00k|                assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (722:17): [True: 7.00k, False: 0]
  ------------------
  723|  7.00k|                if (Mutating)
  ------------------
  |  Branch (723:21): [Folded, False: 7.00k]
  ------------------
  724|      0|                    pos.visit(dec_visitor{});
  725|  7.00k|                return new_node;
  726|  7.00k|            }
  727|  7.00k|            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|  7.00k|        }
  737|  7.00k|    }
_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.09k|    {
  742|  1.09k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 1.09k, False: 0]
  ------------------
  743|  1.09k|        auto node    = pos.node();
  744|  1.09k|        auto idx     = pos.index(pos.size() - 1);
  745|  1.09k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  1.09k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [Folded, False: 1.09k]
  |  Branch (746:36): [True: 0, False: 0]
  ------------------
  747|  1.09k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 0, False: 1.09k]
  ------------------
  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.09k|        } else {
  754|  1.09k|            auto new_parent = node_t::make_inner_e(e);
  755|  1.09k|            IMMER_TRY {
  ------------------
  |  |   49|  1.09k|#define IMMER_TRY try
  ------------------
  756|  1.09k|                new_parent->inner()[new_idx] =
  757|  1.09k|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 692, False: 407]
  ------------------
  758|  1.09k|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|  1.09k|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|  1.09k|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|  1.09k|                if (Mutating)
  ------------------
  |  Branch (762:21): [Folded, False: 1.09k]
  ------------------
  763|      0|                    pos.visit(dec_visitor{});
  764|  1.09k|                return new_parent;
  765|  1.09k|            }
  766|  1.09k|            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.09k|        }
  771|  1.09k|    }
_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|   161k|    {
  742|   161k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 161k, False: 0]
  ------------------
  743|   161k|        auto node    = pos.node();
  744|   161k|        auto idx     = pos.index(pos.size() - 1);
  745|   161k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|   161k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 161k, Folded]
  |  Branch (746:36): [True: 160k, False: 678]
  ------------------
  747|   161k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 160k, False: 678]
  ------------------
  748|   160k|            node->inner()[new_idx] =
  749|   160k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 157k, False: 3.83k]
  ------------------
  750|       |                               /* otherwise */
  751|   160k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|   160k|            return node;
  753|   160k|        } else {
  754|    678|            auto new_parent = node_t::make_inner_e(e);
  755|    678|            IMMER_TRY {
  ------------------
  |  |   49|    678|#define IMMER_TRY try
  ------------------
  756|    678|                new_parent->inner()[new_idx] =
  757|    678|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 429, False: 249]
  ------------------
  758|    678|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    678|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    678|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    678|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 678, Folded]
  ------------------
  763|    678|                    pos.visit(dec_visitor{});
  764|    678|                return new_parent;
  765|    678|            }
  766|    678|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    678|        }
  771|   161k|    }
_ZN5immer6detail4rbts17dec_empty_regularINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_:
  580|  1.93k|{
  581|  1.93k|    make_empty_regular_pos(node).visit(dec_visitor());
  582|  1.93k|}
_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|  49.4k|    {
  596|  49.4k|        auto offset = pos.index(idx);
  597|  49.4k|        auto count  = pos.count();
  598|  49.4k|        auto node   = pos.node();
  599|  49.4k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (599:13): [True: 39.9k, False: 9.46k]
  ------------------
  600|  39.9k|            return pos.towards_oh(
  601|  39.9k|                this_t{}, idx, offset, e, &node->inner()[offset]);
  602|  39.9k|        } else {
  603|  9.46k|            auto new_node = node_t::copy_inner_sr_e(e, node, count);
  604|  9.46k|            IMMER_TRY {
  ------------------
  |  |   49|  9.46k|#define IMMER_TRY try
  ------------------
  605|  9.46k|                auto& res = pos.towards_oh(
  606|  9.46k|                    this_t{}, idx, offset, e, &new_node->inner()[offset]);
  607|  9.46k|                pos.visit(dec_visitor{});
  608|  9.46k|                *location = new_node;
  609|  9.46k|                return res;
  610|  9.46k|            }
  611|  9.46k|            IMMER_CATCH (...) {
  612|      0|                dec_relaxed(new_node, pos.shift());
  613|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  614|      0|            }
  615|  9.46k|        }
  616|  49.4k|    }
_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|  15.3k|    {
  653|  15.3k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 15.3k, False: 0]
  ------------------
  654|  15.3k|        auto node = pos.node();
  655|  15.3k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 13.6k, False: 1.71k]
  ------------------
  656|  13.6k|            return node->leaf()[pos.index(idx)];
  657|  13.6k|        } else {
  658|  1.71k|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|  1.71k|            pos.visit(dec_visitor{});
  660|  1.71k|            *location = new_node;
  661|  1.71k|            return new_node->leaf()[pos.index(idx)];
  662|  1.71k|        }
  663|  15.3k|    }
_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.26k|    {
  622|  7.26k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 7.26k, False: 0]
  ------------------
  623|  7.26k|        auto offset = pos.index(idx);
  624|  7.26k|        auto count  = pos.count();
  625|  7.26k|        auto node   = pos.node();
  626|  7.26k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 5.60k, False: 1.66k]
  ------------------
  627|  5.60k|            return pos.towards_oh_ch(
  628|  5.60k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  5.60k|        } else {
  630|  1.66k|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|  1.66k|            IMMER_TRY {
  ------------------
  |  |   49|  1.66k|#define IMMER_TRY try
  ------------------
  632|  1.66k|                auto& res = pos.towards_oh_ch(this_t{},
  633|  1.66k|                                              idx,
  634|  1.66k|                                              offset,
  635|  1.66k|                                              count,
  636|  1.66k|                                              e,
  637|  1.66k|                                              &new_node->inner()[offset]);
  638|  1.66k|                pos.visit(dec_visitor{});
  639|  1.66k|                *location = new_node;
  640|  1.66k|                return res;
  641|  1.66k|            }
  642|  1.66k|            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.66k|        }
  647|  7.26k|    }
_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.02k|    {
  653|  6.02k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 6.02k, False: 0]
  ------------------
  654|  6.02k|        auto node = pos.node();
  655|  6.02k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 4.19k, False: 1.83k]
  ------------------
  656|  4.19k|            return node->leaf()[pos.index(idx)];
  657|  4.19k|        } else {
  658|  1.83k|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|  1.83k|            pos.visit(dec_visitor{});
  660|  1.83k|            *location = new_node;
  661|  1.83k|            return new_node->leaf()[pos.index(idx)];
  662|  1.83k|        }
  663|  6.02k|    }
_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|  4.88k|    {
  622|  4.88k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 4.88k, False: 0]
  ------------------
  623|  4.88k|        auto offset = pos.index(idx);
  624|  4.88k|        auto count  = pos.count();
  625|  4.88k|        auto node   = pos.node();
  626|  4.88k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 3.35k, False: 1.52k]
  ------------------
  627|  3.35k|            return pos.towards_oh_ch(
  628|  3.35k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  3.35k|        } else {
  630|  1.52k|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|  1.52k|            IMMER_TRY {
  ------------------
  |  |   49|  1.52k|#define IMMER_TRY try
  ------------------
  632|  1.52k|                auto& res = pos.towards_oh_ch(this_t{},
  633|  1.52k|                                              idx,
  634|  1.52k|                                              offset,
  635|  1.52k|                                              count,
  636|  1.52k|                                              e,
  637|  1.52k|                                              &new_node->inner()[offset]);
  638|  1.52k|                pos.visit(dec_visitor{});
  639|  1.52k|                *location = new_node;
  640|  1.52k|                return res;
  641|  1.52k|            }
  642|  1.52k|            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.52k|        }
  647|  4.88k|    }
_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.23k|    {
  653|  1.23k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 1.23k, False: 0]
  ------------------
  654|  1.23k|        auto node = pos.node();
  655|  1.23k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 890, False: 346]
  ------------------
  656|    890|            return node->leaf()[pos.index(idx)];
  657|    890|        } else {
  658|    346|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|    346|            pos.visit(dec_visitor{});
  660|    346|            *location = new_node;
  661|    346|            return new_node->leaf()[pos.index(idx)];
  662|    346|        }
  663|  1.23k|    }
_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|  2.49k|    {
  622|  2.49k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 2.49k, False: 0]
  ------------------
  623|  2.49k|        auto offset = pos.index(idx);
  624|  2.49k|        auto count  = pos.count();
  625|  2.49k|        auto node   = pos.node();
  626|  2.49k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 1.98k, False: 508]
  ------------------
  627|  1.98k|            return pos.towards_oh_ch(
  628|  1.98k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  1.98k|        } else {
  630|    508|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|    508|            IMMER_TRY {
  ------------------
  |  |   49|    508|#define IMMER_TRY try
  ------------------
  632|    508|                auto& res = pos.towards_oh_ch(this_t{},
  633|    508|                                              idx,
  634|    508|                                              offset,
  635|    508|                                              count,
  636|    508|                                              e,
  637|    508|                                              &new_node->inner()[offset]);
  638|    508|                pos.visit(dec_visitor{});
  639|    508|                *location = new_node;
  640|    508|                return res;
  641|    508|            }
  642|    508|            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|    508|        }
  647|  2.49k|    }
_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|  52.7k|    {
  914|  52.7k|        auto idx    = pos.index(last);
  915|  52.7k|        auto node   = pos.node();
  916|  52.7k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [True: 52.7k, Folded]
  |  Branch (916:35): [True: 45.0k, False: 7.66k]
  ------------------
  917|  52.7k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [True: 52.7k, Folded]
  |  Branch (917:25): [True: 35.5k, False: 17.1k]
  ------------------
  918|  35.5k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 31.4k, False: 4.12k]
  ------------------
  919|  35.5k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|  35.5k|            if (Mutating)
  ------------------
  |  Branch (920:17): [True: 35.5k, Folded]
  ------------------
  921|  35.5k|                pos.visit(dec_right_visitor{}, count_t{1});
  922|  35.5k|            return res;
  923|  35.5k|        } else {
  924|  17.1k|            using std::get;
  925|  17.1k|            auto subs =
  926|  17.1k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 13.6k, False: 3.54k]
  ------------------
  927|  17.1k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  17.1k|            auto next = get<1>(subs);
  929|  17.1k|            auto ts   = get<2>(subs);
  930|  17.1k|            auto tail = get<3>(subs);
  931|  17.1k|            IMMER_TRY {
  ------------------
  |  |   49|  17.1k|#define IMMER_TRY try
  ------------------
  932|  17.1k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 12.3k, False: 4.80k]
  ------------------
  933|  12.3k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 10.3k, False: 1.96k]
  ------------------
  934|  10.3k|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|  10.3k|                        pos.each_right(dec_visitor{}, idx + 1);
  936|  10.3k|                        node->inner()[idx] = next;
  937|  10.3k|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|  10.3k|                        nodr->d.count      = idx + 1;
  939|  10.3k|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 10.3k, False: 0]
  ------------------
  940|  10.3k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  10.3k|                    } else {
  942|  1.96k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.96k|                        auto newr = newn->relaxed();
  944|  1.96k|                        newn->inner()[idx] = next;
  945|  1.96k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.96k|                        newr->d.count      = idx + 1;
  947|  1.96k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.96k, False: 0]
  ------------------
  948|  1.96k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [True: 1.96k, Folded]
  ------------------
  949|  1.96k|                            pos.visit(dec_visitor{});
  950|  1.96k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.96k|                    }
  952|  12.3k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 0, False: 4.80k]
  ------------------
  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.80k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [True: 4.80k, Folded]
  |  Branch (956:40): [True: 3.81k, False: 989]
  |  Branch (956:52): [True: 3.10k, False: 711]
  ------------------
  957|  3.10k|                    auto newn = pos.node()->inner()[0];
  958|  3.10k|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 955, False: 2.14k]
  ------------------
  959|    955|                        newn->inc();
  960|  3.10k|                    if (Mutating)
  ------------------
  |  Branch (960:25): [True: 3.10k, Folded]
  ------------------
  961|  3.10k|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|  3.10k|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  3.10k|                } else {
  964|  1.70k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 1.07k, False: 624]
  ------------------
  965|  1.07k|                        pos.each_right(dec_visitor{}, idx + 1);
  966|  1.07k|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|  1.07k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  1.07k|                    } else {
  969|    624|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    624|                        if (Mutating)
  ------------------
  |  Branch (970:29): [True: 624, Folded]
  ------------------
  971|    624|                            pos.visit(dec_visitor{});
  972|    624|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    624|                    }
  974|  1.70k|                }
  975|  17.1k|            }
  976|  17.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|  17.1k|        }
  987|  52.7k|    }
_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.00k|    {
 1060|  1.00k|        auto old_tail_size = pos.count();
 1061|  1.00k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.00k|        auto node          = pos.node();
 1063|  1.00k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 1.00k, Folded]
  |  Branch (1063:42): [True: 254, False: 750]
  ------------------
 1064|  1.00k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 314, False: 690]
  ------------------
 1065|    314|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 314]
  ------------------
 1066|      0|                node->inc();
 1067|    314|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    690|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 248, False: 442]
  ------------------
 1069|    248|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    248|                              old_tail_size - new_tail_size);
 1071|    248|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    442|        } else {
 1073|    442|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    442|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 442, Folded]
  ------------------
 1075|    442|                pos.visit(dec_visitor{});
 1076|    442|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    442|        }
 1078|  1.00k|    }
_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|    568|    {
 1060|    568|        auto old_tail_size = pos.count();
 1061|    568|        auto new_tail_size = pos.index(last) + 1;
 1062|    568|        auto node          = pos.node();
 1063|    568|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 568]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|    568|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 313, False: 255]
  ------------------
 1065|    313|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 313, Folded]
  ------------------
 1066|    313|                node->inc();
 1067|    313|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    313|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 255]
  ------------------
 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|    255|        } else {
 1073|    255|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    255|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 255]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    255|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    255|        }
 1078|    568|    }
_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|  13.7k|    {
  914|  13.7k|        auto idx    = pos.index(last);
  915|  13.7k|        auto node   = pos.node();
  916|  13.7k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [Folded, False: 13.7k]
  |  Branch (916:35): [True: 0, False: 0]
  ------------------
  917|  13.7k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [True: 13.7k, Folded]
  |  Branch (917:25): [True: 11.7k, False: 1.98k]
  ------------------
  918|  11.7k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 0, False: 11.7k]
  ------------------
  919|  11.7k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|  11.7k|            if (Mutating)
  ------------------
  |  Branch (920:17): [Folded, False: 11.7k]
  ------------------
  921|      0|                pos.visit(dec_right_visitor{}, count_t{1});
  922|  11.7k|            return res;
  923|  11.7k|        } else {
  924|  1.98k|            using std::get;
  925|  1.98k|            auto subs =
  926|  1.98k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 0, False: 1.98k]
  ------------------
  927|  1.98k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  1.98k|            auto next = get<1>(subs);
  929|  1.98k|            auto ts   = get<2>(subs);
  930|  1.98k|            auto tail = get<3>(subs);
  931|  1.98k|            IMMER_TRY {
  ------------------
  |  |   49|  1.98k|#define IMMER_TRY try
  ------------------
  932|  1.98k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 620, False: 1.36k]
  ------------------
  933|    620|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 0, False: 620]
  ------------------
  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|    620|                    } else {
  942|    620|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|    620|                        auto newr = newn->relaxed();
  944|    620|                        newn->inner()[idx] = next;
  945|    620|                        newr->d.sizes[idx] = last + 1 - ts;
  946|    620|                        newr->d.count      = idx + 1;
  947|    620|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 620, False: 0]
  ------------------
  948|    620|                        if (Mutating)
  ------------------
  |  Branch (948:29): [Folded, False: 620]
  ------------------
  949|      0|                            pos.visit(dec_visitor{});
  950|    620|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|    620|                    }
  952|  1.36k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 0, False: 1.36k]
  ------------------
  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.36k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [True: 1.36k, Folded]
  |  Branch (956:40): [True: 814, False: 555]
  |  Branch (956:52): [True: 410, False: 404]
  ------------------
  957|    410|                    auto newn = pos.node()->inner()[0];
  958|    410|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 410, False: 0]
  ------------------
  959|    410|                        newn->inc();
  960|    410|                    if (Mutating)
  ------------------
  |  Branch (960:25): [Folded, False: 410]
  ------------------
  961|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|    410|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|    959|                } else {
  964|    959|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 0, False: 959]
  ------------------
  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|    959|                    } else {
  969|    959|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    959|                        if (Mutating)
  ------------------
  |  Branch (970:29): [Folded, False: 959]
  ------------------
  971|      0|                            pos.visit(dec_visitor{});
  972|    959|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    959|                    }
  974|    959|                }
  975|  1.98k|            }
  976|  1.98k|            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.98k|        }
  987|  13.7k|    }
_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.56k|    {
  992|  1.56k|        auto idx    = pos.index(last);
  993|  1.56k|        auto node   = pos.node();
  994|  1.56k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 1.56k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  1.56k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 1.56k, Folded]
  |  Branch (995:25): [True: 540, False: 1.02k]
  ------------------
  996|    540|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 540]
  ------------------
  997|    540|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|    540|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 540]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|    540|            return res;
 1001|  1.02k|        } else {
 1002|  1.02k|            using std::get;
 1003|  1.02k|            auto subs =
 1004|  1.02k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 1.02k]
  ------------------
 1005|  1.02k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  1.02k|            auto next = get<1>(subs);
 1007|  1.02k|            auto ts   = get<2>(subs);
 1008|  1.02k|            auto tail = get<3>(subs);
 1009|  1.02k|            IMMER_TRY {
  ------------------
  |  |   49|  1.02k|#define IMMER_TRY try
  ------------------
 1010|  1.02k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 215, False: 809]
  ------------------
 1011|    215|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 215]
  ------------------
 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|    215|                    } else {
 1016|    215|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    215|                        newn->inner()[idx] = next;
 1018|    215|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 215]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    215|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    215|                    }
 1022|    809|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 809]
  ------------------
 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|    809|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 809, Folded]
  |  Branch (1026:40): [True: 558, False: 251]
  |  Branch (1026:52): [True: 202, False: 356]
  ------------------
 1027|    202|                    auto newn = pos.node()->inner()[0];
 1028|    202|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 202, False: 0]
  ------------------
 1029|    202|                        newn->inc();
 1030|    202|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 202]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    202|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    607|                } else {
 1034|    607|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 607]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    607|                    } else {
 1038|    607|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    607|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 607]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    607|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    607|                    }
 1043|    607|                }
 1044|  1.02k|            }
 1045|  1.02k|            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.02k|        }
 1055|  1.56k|    }
_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.45k|    {
 1060|  1.45k|        auto old_tail_size = pos.count();
 1061|  1.45k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.45k|        auto node          = pos.node();
 1063|  1.45k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 1.45k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  1.45k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 739, False: 715]
  ------------------
 1065|    739|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 739, Folded]
  ------------------
 1066|    739|                node->inc();
 1067|    739|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    739|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 715]
  ------------------
 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|    715|        } else {
 1073|    715|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    715|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 715]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    715|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    715|        }
 1078|  1.45k|    }
_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.75k|    {
  992|  1.75k|        auto idx    = pos.index(last);
  993|  1.75k|        auto node   = pos.node();
  994|  1.75k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 1.75k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  1.75k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 1.75k, Folded]
  |  Branch (995:25): [True: 467, False: 1.28k]
  ------------------
  996|    467|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 467]
  ------------------
  997|    467|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|    467|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 467]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|    467|            return res;
 1001|  1.28k|        } else {
 1002|  1.28k|            using std::get;
 1003|  1.28k|            auto subs =
 1004|  1.28k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 1.28k]
  ------------------
 1005|  1.28k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  1.28k|            auto next = get<1>(subs);
 1007|  1.28k|            auto ts   = get<2>(subs);
 1008|  1.28k|            auto tail = get<3>(subs);
 1009|  1.28k|            IMMER_TRY {
  ------------------
  |  |   49|  1.28k|#define IMMER_TRY try
  ------------------
 1010|  1.28k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 215, False: 1.07k]
  ------------------
 1011|    215|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 215]
  ------------------
 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|    215|                    } else {
 1016|    215|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    215|                        newn->inner()[idx] = next;
 1018|    215|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 215]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    215|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    215|                    }
 1022|  1.07k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 1.07k]
  ------------------
 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.07k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 1.07k, Folded]
  |  Branch (1026:40): [True: 742, False: 332]
  |  Branch (1026:52): [True: 285, False: 457]
  ------------------
 1027|    285|                    auto newn = pos.node()->inner()[0];
 1028|    285|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 285, False: 0]
  ------------------
 1029|    285|                        newn->inc();
 1030|    285|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 285]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    285|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    789|                } else {
 1034|    789|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 789]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    789|                    } else {
 1038|    789|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    789|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 789]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    789|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    789|                    }
 1043|    789|                }
 1044|  1.28k|            }
 1045|  1.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|  1.28k|        }
 1055|  1.75k|    }
_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.63k|    {
 1060|  5.63k|        auto old_tail_size = pos.count();
 1061|  5.63k|        auto new_tail_size = pos.index(last) + 1;
 1062|  5.63k|        auto node          = pos.node();
 1063|  5.63k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 5.63k, Folded]
  |  Branch (1063:42): [True: 897, False: 4.73k]
  ------------------
 1064|  5.63k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.21k, False: 4.41k]
  ------------------
 1065|  1.21k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 1.21k]
  ------------------
 1066|      0|                node->inc();
 1067|  1.21k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  4.41k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 885, False: 3.53k]
  ------------------
 1069|    885|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    885|                              old_tail_size - new_tail_size);
 1071|    885|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  3.53k|        } else {
 1073|  3.53k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  3.53k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 3.53k, Folded]
  ------------------
 1075|  3.53k|                pos.visit(dec_visitor{});
 1076|  3.53k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  3.53k|        }
 1078|  5.63k|    }
_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.13k|    {
  992|  4.13k|        auto idx    = pos.index(last);
  993|  4.13k|        auto node   = pos.node();
  994|  4.13k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 4.13k, Folded]
  |  Branch (994:35): [True: 2.21k, False: 1.91k]
  ------------------
  995|  4.13k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 4.13k]
  |  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.13k|        } else {
 1002|  4.13k|            using std::get;
 1003|  4.13k|            auto subs =
 1004|  4.13k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 2.21k, False: 1.91k]
  ------------------
 1005|  4.13k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  4.13k|            auto next = get<1>(subs);
 1007|  4.13k|            auto ts   = get<2>(subs);
 1008|  4.13k|            auto tail = get<3>(subs);
 1009|  4.13k|            IMMER_TRY {
  ------------------
  |  |   49|  4.13k|#define IMMER_TRY try
  ------------------
 1010|  4.13k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 731, False: 3.40k]
  ------------------
 1011|    731|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 512, False: 219]
  ------------------
 1012|    512|                        node->inner()[idx] = next;
 1013|    512|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    512|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    512|                    } 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|  3.40k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.18k, False: 2.21k]
  ------------------
 1023|  1.18k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 1.18k, Folded]
  ------------------
 1024|  1.18k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.18k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  2.21k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 2.21k]
  |  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.21k|                } else {
 1034|  2.21k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 1.14k, False: 1.06k]
  ------------------
 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|  1.06k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.06k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 1.06k, Folded]
  ------------------
 1040|  1.06k|                            pos.visit(dec_visitor{});
 1041|  1.06k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.06k|                    }
 1043|  2.21k|                }
 1044|  4.13k|            }
 1045|  4.13k|            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.13k|        }
 1055|  4.13k|    }
_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.30k|    {
  879|  3.30k|        using node_t = node_type<Pos>;
  880|  3.30k|        auto node    = p.node();
  881|  3.30k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 1.72k, False: 1.58k]
  ------------------
  882|  1.72k|            p.each_right(dec_t{}, idx);
  883|  1.72k|            node_t::delete_inner(node, p.count());
  884|  1.72k|        }
  885|  3.30k|    }
_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|  9.55k|    {
 1060|  9.55k|        auto old_tail_size = pos.count();
 1061|  9.55k|        auto new_tail_size = pos.index(last) + 1;
 1062|  9.55k|        auto node          = pos.node();
 1063|  9.55k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 9.55k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  9.55k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 2.78k, False: 6.76k]
  ------------------
 1065|  2.78k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 2.78k, Folded]
  ------------------
 1066|  2.78k|                node->inc();
 1067|  2.78k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  6.76k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 6.76k]
  ------------------
 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|  6.76k|        } else {
 1073|  6.76k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  6.76k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 6.76k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  6.76k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  6.76k|        }
 1078|  9.55k|    }
_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|  2.91k|    {
  992|  2.91k|        auto idx    = pos.index(last);
  993|  2.91k|        auto node   = pos.node();
  994|  2.91k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 2.91k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  2.91k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 2.91k]
  |  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|  2.91k|        } else {
 1002|  2.91k|            using std::get;
 1003|  2.91k|            auto subs =
 1004|  2.91k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 2.91k]
  ------------------
 1005|  2.91k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  2.91k|            auto next = get<1>(subs);
 1007|  2.91k|            auto ts   = get<2>(subs);
 1008|  2.91k|            auto tail = get<3>(subs);
 1009|  2.91k|            IMMER_TRY {
  ------------------
  |  |   49|  2.91k|#define IMMER_TRY try
  ------------------
 1010|  2.91k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 221, False: 2.69k]
  ------------------
 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|  2.69k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.24k, False: 1.44k]
  ------------------
 1023|  1.24k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 1.24k]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.24k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.44k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 1.44k]
  |  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.44k|                } else {
 1034|  1.44k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 1.44k]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.44k|                    } else {
 1038|  1.44k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.44k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 1.44k]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|  1.44k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.44k|                    }
 1043|  1.44k|                }
 1044|  2.91k|            }
 1045|  2.91k|            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.91k|        }
 1055|  2.91k|    }
_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|    408|    {
 1060|    408|        auto old_tail_size = pos.count();
 1061|    408|        auto new_tail_size = pos.index(last) + 1;
 1062|    408|        auto node          = pos.node();
 1063|    408|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 408]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|    408|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 204, False: 204]
  ------------------
 1065|    204|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 204, Folded]
  ------------------
 1066|    204|                node->inc();
 1067|    204|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    204|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 204]
  ------------------
 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|    204|        } else {
 1073|    204|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    204|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 204]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    204|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    204|        }
 1078|    408|    }
_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.56k|    {
 1060|  2.56k|        auto old_tail_size = pos.count();
 1061|  2.56k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.56k|        auto node          = pos.node();
 1063|  2.56k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 2.56k, Folded]
  |  Branch (1063:42): [True: 519, False: 2.04k]
  ------------------
 1064|  2.56k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 445, False: 2.11k]
  ------------------
 1065|    445|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 445]
  ------------------
 1066|      0|                node->inc();
 1067|    445|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  2.11k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 285, False: 1.83k]
  ------------------
 1069|    285|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    285|                              old_tail_size - new_tail_size);
 1071|    285|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.83k|        } else {
 1073|  1.83k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.83k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 1.83k, Folded]
  ------------------
 1075|  1.83k|                pos.visit(dec_visitor{});
 1076|  1.83k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.83k|        }
 1078|  2.56k|    }
_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|  5.95k|    {
  992|  5.95k|        auto idx    = pos.index(last);
  993|  5.95k|        auto node   = pos.node();
  994|  5.95k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 5.95k, Folded]
  |  Branch (994:35): [True: 5.34k, False: 608]
  ------------------
  995|  5.95k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 5.95k]
  |  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|  5.95k|        } else {
 1002|  5.95k|            using std::get;
 1003|  5.95k|            auto subs =
 1004|  5.95k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 5.34k, False: 608]
  ------------------
 1005|  5.95k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  5.95k|            auto next = get<1>(subs);
 1007|  5.95k|            auto ts   = get<2>(subs);
 1008|  5.95k|            auto tail = get<3>(subs);
 1009|  5.95k|            IMMER_TRY {
  ------------------
  |  |   49|  5.95k|#define IMMER_TRY try
  ------------------
 1010|  5.95k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 1.62k, False: 4.33k]
  ------------------
 1011|  1.62k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 1.42k, False: 196]
  ------------------
 1012|  1.42k|                        node->inner()[idx] = next;
 1013|  1.42k|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|  1.42k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|  1.42k|                    } else {
 1016|    196|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    196|                        newn->inner()[idx] = next;
 1018|    196|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 196, Folded]
  ------------------
 1019|    196|                            pos.visit(dec_visitor{});
 1020|    196|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    196|                    }
 1022|  4.33k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 3.61k, False: 716]
  ------------------
 1023|  3.61k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 3.61k, Folded]
  ------------------
 1024|  3.61k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  3.61k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.61k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 716]
  |  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|    716|                } else {
 1034|    716|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 508, False: 208]
  ------------------
 1035|    508|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|    508|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    508|                    } else {
 1038|    208|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    208|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 208, Folded]
  ------------------
 1040|    208|                            pos.visit(dec_visitor{});
 1041|    208|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    208|                    }
 1043|    716|                }
 1044|  5.95k|            }
 1045|  5.95k|            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.95k|        }
 1055|  5.95k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  878|  3.61k|    {
  879|  3.61k|        using node_t = node_type<Pos>;
  880|  3.61k|        auto node    = p.node();
  881|  3.61k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 3.41k, False: 204]
  ------------------
  882|  3.41k|            p.each_right(dec_t{}, idx);
  883|  3.41k|            node_t::delete_inner(node, p.count());
  884|  3.41k|        }
  885|  3.61k|    }
_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.45k|    {
 1060|  2.45k|        auto old_tail_size = pos.count();
 1061|  2.45k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.45k|        auto node          = pos.node();
 1063|  2.45k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 2.45k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  2.45k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 754, False: 1.69k]
  ------------------
 1065|    754|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 754, Folded]
  ------------------
 1066|    754|                node->inc();
 1067|    754|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  1.69k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 1.69k]
  ------------------
 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.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): [Folded, False: 1.69k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  1.69k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.69k|        }
 1078|  2.45k|    }
_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.16k|    {
  992|  3.16k|        auto idx    = pos.index(last);
  993|  3.16k|        auto node   = pos.node();
  994|  3.16k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 3.16k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  3.16k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 3.16k]
  |  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.16k|        } else {
 1002|  3.16k|            using std::get;
 1003|  3.16k|            auto subs =
 1004|  3.16k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.16k]
  ------------------
 1005|  3.16k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  3.16k|            auto next = get<1>(subs);
 1007|  3.16k|            auto ts   = get<2>(subs);
 1008|  3.16k|            auto tail = get<3>(subs);
 1009|  3.16k|            IMMER_TRY {
  ------------------
  |  |   49|  3.16k|#define IMMER_TRY try
  ------------------
 1010|  3.16k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 407, False: 2.75k]
  ------------------
 1011|    407|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 407]
  ------------------
 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|    407|                    } else {
 1016|    407|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    407|                        newn->inner()[idx] = next;
 1018|    407|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 407]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    407|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    407|                    }
 1022|  2.75k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.76k, False: 993]
  ------------------
 1023|  1.76k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 1.76k]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.76k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.76k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 993]
  |  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|    993|                } else {
 1034|    993|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 993]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    993|                    } else {
 1038|    993|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    993|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 993]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    993|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    993|                    }
 1043|    993|                }
 1044|  3.16k|            }
 1045|  3.16k|            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.16k|        }
 1055|  3.16k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  867|  41.7k|    {
  868|  41.7k|        using node_t = node_type<Pos>;
  869|  41.7k|        auto node    = p.node();
  870|  41.7k|        if (node->dec()) {
  ------------------
  |  Branch (870:13): [True: 36.1k, False: 5.65k]
  ------------------
  871|  36.1k|            p.each_right(dec_t{}, idx);
  872|  36.1k|            node_t::delete_inner_r(node, p.count());
  873|  36.1k|        }
  874|  41.7k|    }
_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.79k|    {
 1060|  3.79k|        auto old_tail_size = pos.count();
 1061|  3.79k|        auto new_tail_size = pos.index(last) + 1;
 1062|  3.79k|        auto node          = pos.node();
 1063|  3.79k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 3.79k, Folded]
  |  Branch (1063:42): [True: 949, False: 2.84k]
  ------------------
 1064|  3.79k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.31k, False: 2.47k]
  ------------------
 1065|  1.31k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 1.31k]
  ------------------
 1066|      0|                node->inc();
 1067|  1.31k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  2.47k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 840, False: 1.63k]
  ------------------
 1069|    840|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    840|                              old_tail_size - new_tail_size);
 1071|    840|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.63k|        } else {
 1073|  1.63k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.63k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 1.63k, Folded]
  ------------------
 1075|  1.63k|                pos.visit(dec_visitor{});
 1076|  1.63k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.63k|        }
 1078|  3.79k|    }
_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.8k|    {
  914|  11.8k|        auto idx    = pos.index(last);
  915|  11.8k|        auto node   = pos.node();
  916|  11.8k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [True: 11.8k, Folded]
  |  Branch (916:35): [True: 9.20k, False: 2.65k]
  ------------------
  917|  11.8k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [Folded, False: 11.8k]
  |  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.8k|        } else {
  924|  11.8k|            using std::get;
  925|  11.8k|            auto subs =
  926|  11.8k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 9.20k, False: 2.65k]
  ------------------
  927|  11.8k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  11.8k|            auto next = get<1>(subs);
  929|  11.8k|            auto ts   = get<2>(subs);
  930|  11.8k|            auto tail = get<3>(subs);
  931|  11.8k|            IMMER_TRY {
  ------------------
  |  |   49|  11.8k|#define IMMER_TRY try
  ------------------
  932|  11.8k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 6.01k, False: 5.85k]
  ------------------
  933|  6.01k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 4.48k, False: 1.52k]
  ------------------
  934|  4.48k|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|  4.48k|                        pos.each_right(dec_visitor{}, idx + 1);
  936|  4.48k|                        node->inner()[idx] = next;
  937|  4.48k|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|  4.48k|                        nodr->d.count      = idx + 1;
  939|  4.48k|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 4.48k, False: 0]
  ------------------
  940|  4.48k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  4.48k|                    } else {
  942|  1.52k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.52k|                        auto newr = newn->relaxed();
  944|  1.52k|                        newn->inner()[idx] = next;
  945|  1.52k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.52k|                        newr->d.count      = idx + 1;
  947|  1.52k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.52k, False: 0]
  ------------------
  948|  1.52k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [True: 1.52k, Folded]
  ------------------
  949|  1.52k|                            pos.visit(dec_visitor{});
  950|  1.52k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.52k|                    }
  952|  6.01k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 3.06k, False: 2.79k]
  ------------------
  953|  3.06k|                    if (Mutating)
  ------------------
  |  Branch (953:25): [True: 3.06k, Folded]
  ------------------
  954|  3.06k|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|  3.06k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  3.06k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [Folded, False: 2.79k]
  |  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.79k|                } else {
  964|  2.79k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 2.23k, False: 552]
  ------------------
  965|  2.23k|                        pos.each_right(dec_visitor{}, idx + 1);
  966|  2.23k|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|  2.23k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  2.23k|                    } else {
  969|    552|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    552|                        if (Mutating)
  ------------------
  |  Branch (970:29): [True: 552, Folded]
  ------------------
  971|    552|                            pos.visit(dec_visitor{});
  972|    552|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    552|                    }
  974|  2.79k|                }
  975|  11.8k|            }
  976|  11.8k|            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.8k|        }
  987|  11.8k|    }
_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.16k|    {
  992|  7.16k|        auto idx    = pos.index(last);
  993|  7.16k|        auto node   = pos.node();
  994|  7.16k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 7.16k, Folded]
  |  Branch (994:35): [True: 6.20k, False: 959]
  ------------------
  995|  7.16k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 7.16k]
  |  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.16k|        } else {
 1002|  7.16k|            using std::get;
 1003|  7.16k|            auto subs =
 1004|  7.16k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 6.20k, False: 959]
  ------------------
 1005|  7.16k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  7.16k|            auto next = get<1>(subs);
 1007|  7.16k|            auto ts   = get<2>(subs);
 1008|  7.16k|            auto tail = get<3>(subs);
 1009|  7.16k|            IMMER_TRY {
  ------------------
  |  |   49|  7.16k|#define IMMER_TRY try
  ------------------
 1010|  7.16k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 2.62k, False: 4.53k]
  ------------------
 1011|  2.62k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 2.35k, False: 273]
  ------------------
 1012|  2.35k|                        node->inner()[idx] = next;
 1013|  2.35k|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|  2.35k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|  2.35k|                    } else {
 1016|    273|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    273|                        newn->inner()[idx] = next;
 1018|    273|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 273, Folded]
  ------------------
 1019|    273|                            pos.visit(dec_visitor{});
 1020|    273|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    273|                    }
 1022|  4.53k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.08k, False: 3.44k]
  ------------------
 1023|  1.08k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 1.08k, Folded]
  ------------------
 1024|  1.08k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.08k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.44k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 3.44k]
  |  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.44k|                } else {
 1034|  3.44k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 3.09k, False: 353]
  ------------------
 1035|  3.09k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  3.09k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  3.09k|                    } else {
 1038|    353|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    353|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 353, Folded]
  ------------------
 1040|    353|                            pos.visit(dec_visitor{});
 1041|    353|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    353|                    }
 1043|  3.44k|                }
 1044|  7.16k|            }
 1045|  7.16k|            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.16k|        }
 1055|  7.16k|    }
_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.7k|    {
  879|  10.7k|        using node_t = node_type<Pos>;
  880|  10.7k|        auto node    = p.node();
  881|  10.7k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 7.94k, False: 2.78k]
  ------------------
  882|  7.94k|            p.each_right(dec_t{}, idx);
  883|  7.94k|            node_t::delete_inner(node, p.count());
  884|  7.94k|        }
  885|  10.7k|    }
_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|  5.08k|    {
 1060|  5.08k|        auto old_tail_size = pos.count();
 1061|  5.08k|        auto new_tail_size = pos.index(last) + 1;
 1062|  5.08k|        auto node          = pos.node();
 1063|  5.08k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 5.08k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  5.08k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.22k, False: 3.85k]
  ------------------
 1065|  1.22k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 1.22k, Folded]
  ------------------
 1066|  1.22k|                node->inc();
 1067|  1.22k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  3.85k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 3.85k]
  ------------------
 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.85k|        } else {
 1073|  3.85k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  3.85k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 3.85k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  3.85k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  3.85k|        }
 1078|  5.08k|    }
_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|  6.55k|    {
  914|  6.55k|        auto idx    = pos.index(last);
  915|  6.55k|        auto node   = pos.node();
  916|  6.55k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [Folded, False: 6.55k]
  |  Branch (916:35): [True: 0, False: 0]
  ------------------
  917|  6.55k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [Folded, False: 6.55k]
  |  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|  6.55k|        } else {
  924|  6.55k|            using std::get;
  925|  6.55k|            auto subs =
  926|  6.55k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 0, False: 6.55k]
  ------------------
  927|  6.55k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  6.55k|            auto next = get<1>(subs);
  929|  6.55k|            auto ts   = get<2>(subs);
  930|  6.55k|            auto tail = get<3>(subs);
  931|  6.55k|            IMMER_TRY {
  ------------------
  |  |   49|  6.55k|#define IMMER_TRY try
  ------------------
  932|  6.55k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 1.05k, False: 5.49k]
  ------------------
  933|  1.05k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 0, False: 1.05k]
  ------------------
  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.05k|                    } else {
  942|  1.05k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.05k|                        auto newr = newn->relaxed();
  944|  1.05k|                        newn->inner()[idx] = next;
  945|  1.05k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.05k|                        newr->d.count      = idx + 1;
  947|  1.05k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.05k, False: 0]
  ------------------
  948|  1.05k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [Folded, False: 1.05k]
  ------------------
  949|      0|                            pos.visit(dec_visitor{});
  950|  1.05k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.05k|                    }
  952|  5.49k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 3.56k, False: 1.93k]
  ------------------
  953|  3.56k|                    if (Mutating)
  ------------------
  |  Branch (953:25): [Folded, False: 3.56k]
  ------------------
  954|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|  3.56k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  3.56k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [Folded, False: 1.93k]
  |  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.93k|                } else {
  964|  1.93k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 0, False: 1.93k]
  ------------------
  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.93k|                    } else {
  969|  1.93k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|  1.93k|                        if (Mutating)
  ------------------
  |  Branch (970:29): [Folded, False: 1.93k]
  ------------------
  971|      0|                            pos.visit(dec_visitor{});
  972|  1.93k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|  1.93k|                    }
  974|  1.93k|                }
  975|  6.55k|            }
  976|  6.55k|            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|  6.55k|        }
  987|  6.55k|    }
_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.10k|    {
  992|  3.10k|        auto idx    = pos.index(last);
  993|  3.10k|        auto node   = pos.node();
  994|  3.10k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 3.10k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  3.10k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 3.10k]
  |  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.10k|        } else {
 1002|  3.10k|            using std::get;
 1003|  3.10k|            auto subs =
 1004|  3.10k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.10k]
  ------------------
 1005|  3.10k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  3.10k|            auto next = get<1>(subs);
 1007|  3.10k|            auto ts   = get<2>(subs);
 1008|  3.10k|            auto tail = get<3>(subs);
 1009|  3.10k|            IMMER_TRY {
  ------------------
  |  |   49|  3.10k|#define IMMER_TRY try
  ------------------
 1010|  3.10k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 731, False: 2.37k]
  ------------------
 1011|    731|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 731]
  ------------------
 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|    731|                    } else {
 1016|    731|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    731|                        newn->inner()[idx] = next;
 1018|    731|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 731]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    731|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    731|                    }
 1022|  2.37k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 929, False: 1.44k]
  ------------------
 1023|    929|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 929]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|    929|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.44k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 1.44k]
  |  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.44k|                } else {
 1034|  1.44k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 1.44k]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.44k|                    } else {
 1038|  1.44k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.44k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 1.44k]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|  1.44k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.44k|                    }
 1043|  1.44k|                }
 1044|  3.10k|            }
 1045|  3.10k|            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.10k|        }
 1055|  3.10k|    }
_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: 9.10k, False: 3.50k]
  ------------------
  995|  12.6k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 12.6k, Folded]
  |  Branch (995:25): [True: 7.17k, False: 5.44k]
  ------------------
  996|  7.17k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 5.31k, False: 1.85k]
  ------------------
  997|  7.17k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|  7.17k|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 7.17k, Folded]
  ------------------
  999|  7.17k|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|  7.17k|            return res;
 1001|  7.17k|        } else {
 1002|  5.44k|            using std::get;
 1003|  5.44k|            auto subs =
 1004|  5.44k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 3.79k, False: 1.65k]
  ------------------
 1005|  5.44k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  5.44k|            auto next = get<1>(subs);
 1007|  5.44k|            auto ts   = get<2>(subs);
 1008|  5.44k|            auto tail = get<3>(subs);
 1009|  5.44k|            IMMER_TRY {
  ------------------
  |  |   49|  5.44k|#define IMMER_TRY try
  ------------------
 1010|  5.44k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 1.13k, False: 4.30k]
  ------------------
 1011|  1.13k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 743, False: 396]
  ------------------
 1012|    743|                        node->inner()[idx] = next;
 1013|    743|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    743|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    743|                    } else {
 1016|    396|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    396|                        newn->inner()[idx] = next;
 1018|    396|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 396, Folded]
  ------------------
 1019|    396|                            pos.visit(dec_visitor{});
 1020|    396|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    396|                    }
 1022|  4.30k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 4.30k]
  ------------------
 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|  4.30k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 4.30k, Folded]
  |  Branch (1026:40): [True: 3.60k, False: 698]
  |  Branch (1026:52): [True: 2.46k, False: 1.14k]
  ------------------
 1027|  2.46k|                    auto newn = pos.node()->inner()[0];
 1028|  2.46k|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 595, False: 1.87k]
  ------------------
 1029|    595|                        newn->inc();
 1030|  2.46k|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 2.46k, Folded]
  ------------------
 1031|  2.46k|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|  2.46k|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  2.46k|                } else {
 1034|  1.84k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 1.18k, False: 661]
  ------------------
 1035|  1.18k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  1.18k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.18k|                    } else {
 1038|    661|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    661|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 661, Folded]
  ------------------
 1040|    661|                            pos.visit(dec_visitor{});
 1041|    661|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    661|                    }
 1043|  1.84k|                }
 1044|  5.44k|            }
 1045|  5.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|  5.44k|        }
 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.74k|    {
 1060|  1.74k|        auto old_tail_size = pos.count();
 1061|  1.74k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.74k|        auto node          = pos.node();
 1063|  1.74k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 1.74k, Folded]
  |  Branch (1063:42): [True: 682, False: 1.05k]
  ------------------
 1064|  1.74k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 729, False: 1.01k]
  ------------------
 1065|    729|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 729]
  ------------------
 1066|      0|                node->inc();
 1067|    729|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  1.01k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 603, False: 409]
  ------------------
 1069|    603|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    603|                              old_tail_size - new_tail_size);
 1071|    603|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    603|        } else {
 1073|    409|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    409|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 409, Folded]
  ------------------
 1075|    409|                pos.visit(dec_visitor{});
 1076|    409|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    409|        }
 1078|  1.74k|    }
_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.87k|    {
  992|  3.87k|        auto idx    = pos.index(last);
  993|  3.87k|        auto node   = pos.node();
  994|  3.87k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 3.87k, Folded]
  |  Branch (994:35): [True: 1.66k, False: 2.20k]
  ------------------
  995|  3.87k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 3.87k, Folded]
  |  Branch (995:25): [True: 1.70k, False: 2.17k]
  ------------------
  996|  1.70k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 946, False: 756]
  ------------------
  997|  1.70k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|  1.70k|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 1.70k, Folded]
  ------------------
  999|  1.70k|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|  1.70k|            return res;
 1001|  2.17k|        } else {
 1002|  2.17k|            using std::get;
 1003|  2.17k|            auto subs =
 1004|  2.17k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 719, False: 1.45k]
  ------------------
 1005|  2.17k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  2.17k|            auto next = get<1>(subs);
 1007|  2.17k|            auto ts   = get<2>(subs);
 1008|  2.17k|            auto tail = get<3>(subs);
 1009|  2.17k|            IMMER_TRY {
  ------------------
  |  |   49|  2.17k|#define IMMER_TRY try
  ------------------
 1010|  2.17k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 443, False: 1.72k]
  ------------------
 1011|    443|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 246, False: 197]
  ------------------
 1012|    246|                        node->inner()[idx] = next;
 1013|    246|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    246|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    246|                    } else {
 1016|    197|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    197|                        newn->inner()[idx] = next;
 1018|    197|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 197, Folded]
  ------------------
 1019|    197|                            pos.visit(dec_visitor{});
 1020|    197|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    197|                    }
 1022|  1.72k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 1.72k]
  ------------------
 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.72k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 1.72k, Folded]
  |  Branch (1026:40): [True: 1.15k, False: 573]
  |  Branch (1026:52): [True: 418, False: 736]
  ------------------
 1027|    418|                    auto newn = pos.node()->inner()[0];
 1028|    418|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 198, False: 220]
  ------------------
 1029|    198|                        newn->inc();
 1030|    418|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 418, Folded]
  ------------------
 1031|    418|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    418|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  1.30k|                } else {
 1034|  1.30k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 253, False: 1.05k]
  ------------------
 1035|    253|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|    253|                        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.30k|                }
 1044|  2.17k|            }
 1045|  2.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|  2.17k|        }
 1055|  3.87k|    }
_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|    648|    {
 1060|    648|        auto old_tail_size = pos.count();
 1061|    648|        auto new_tail_size = pos.index(last) + 1;
 1062|    648|        auto node          = pos.node();
 1063|    648|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 648, Folded]
  |  Branch (1063:42): [True: 201, False: 447]
  ------------------
 1064|    648|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 231, False: 417]
  ------------------
 1065|    231|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 231]
  ------------------
 1066|      0|                node->inc();
 1067|    231|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    417|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 195, False: 222]
  ------------------
 1069|    195|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    195|                              old_tail_size - new_tail_size);
 1071|    195|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    222|        } else {
 1073|    222|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    222|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 222, Folded]
  ------------------
 1075|    222|                pos.visit(dec_visitor{});
 1076|    222|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    222|        }
 1078|    648|    }
_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|    688|    {
 1378|    688|        auto node   = pos.node();
 1379|    688|        auto idx    = pos.index(first);
 1380|    688|        auto count  = pos.count();
 1381|    688|        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|    688|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 431, False: 257]
  ------------------
 1384|    688|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 431, False: 257]
  ------------------
 1385|    431|            auto data     = node->leaf();
 1386|    431|            auto newcount = count - idx;
 1387|    431|            std::move(data + idx, data + count, data);
 1388|    431|            detail::destroy_n(data + newcount, idx);
 1389|    431|            return std::make_tuple(0, node);
 1390|    431|        } else {
 1391|    257|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|    257|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 257, Folded]
  ------------------
 1393|    257|                pos.visit(dec_visitor{});
 1394|    257|            return std::make_tuple(0, newn);
 1395|    257|        }
 1396|    688|    }
_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|  33.7k|    {
 1247|  33.7k|        auto idx                = pos.subindex(first);
 1248|  33.7k|        auto count              = pos.count();
 1249|  33.7k|        auto node               = pos.node();
 1250|  33.7k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [True: 33.7k, Folded]
  |  Branch (1250:47): [True: 24.2k, False: 9.41k]
  ------------------
 1251|  33.7k|        auto left_size          = pos.size_before(idx);
 1252|  33.7k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  33.7k|        auto dropped_size       = first;
 1254|  33.7k|        auto child_dropped_size = dropped_size - left_size;
 1255|  33.7k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [True: 33.7k, Folded]
  |  Branch (1255:25): [True: 32.2k, False: 1.43k]
  |  Branch (1255:45): [True: 8.24k, False: 24.0k]
  ------------------
 1256|  8.24k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 4.96k, False: 3.28k]
  ------------------
 1257|  8.24k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|  8.24k|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 4.96k, False: 3.28k]
  ------------------
 1259|  4.96k|                pos.visit(dec_left_visitor{}, idx);
 1260|  3.28k|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [True: 3.28k, Folded]
  ------------------
 1261|  3.28k|                pos.visit(dec_visitor{});
 1262|  8.24k|            return r;
 1263|  25.4k|        } else {
 1264|  25.4k|            using std::get;
 1265|  25.4k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 19.3k, False: 6.13k]
  ------------------
 1266|  25.4k|                                   : node_t::make_inner_r_e(e);
 1267|  25.4k|            auto newr     = newn->relaxed();
 1268|  25.4k|            auto newcount = count - idx;
 1269|  25.4k|            auto new_child_size = child_size - child_dropped_size;
 1270|  25.4k|            IMMER_TRY {
  ------------------
  |  |   49|  25.4k|#define IMMER_TRY try
  ------------------
 1271|  25.4k|                auto subs =
 1272|  25.4k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 19.3k, False: 6.13k]
  ------------------
 1273|  25.4k|                           : pos.towards_sub_oh(
 1274|  6.13k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  25.4k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 19.3k, False: 6.13k]
  ------------------
 1276|  19.3k|                    pos.each_left(dec_visitor{}, idx);
 1277|  25.4k|                pos.copy_sizes(
 1278|  25.4k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  25.4k|                std::copy(node->inner() + idx + 1,
 1280|  25.4k|                          node->inner() + count,
 1281|  25.4k|                          newn->inner() + 1);
 1282|  25.4k|                newn->inner()[0] = get<1>(subs);
 1283|  25.4k|                newr->d.sizes[0] = new_child_size;
 1284|  25.4k|                newr->d.count    = newcount;
 1285|  25.4k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 25.4k, False: 0]
  ------------------
 1286|  25.4k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 6.13k, False: 19.3k]
  ------------------
 1287|  6.13k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  6.13k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [True: 6.13k, Folded]
  ------------------
 1289|  6.13k|                        pos.visit(dec_visitor{});
 1290|  6.13k|                }
 1291|  25.4k|                return std::make_tuple(pos.shift(), newn);
 1292|  25.4k|            }
 1293|  25.4k|            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|  25.4k|        }
 1299|  33.7k|    }
_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.44k|    {
 1247|  2.44k|        auto idx                = pos.subindex(first);
 1248|  2.44k|        auto count              = pos.count();
 1249|  2.44k|        auto node               = pos.node();
 1250|  2.44k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [Folded, False: 2.44k]
  |  Branch (1250:47): [True: 0, False: 0]
  ------------------
 1251|  2.44k|        auto left_size          = pos.size_before(idx);
 1252|  2.44k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  2.44k|        auto dropped_size       = first;
 1254|  2.44k|        auto child_dropped_size = dropped_size - left_size;
 1255|  2.44k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [True: 2.44k, Folded]
  |  Branch (1255:25): [True: 1.34k, False: 1.09k]
  |  Branch (1255:45): [True: 874, False: 475]
  ------------------
 1256|    874|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 0, False: 874]
  ------------------
 1257|    874|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|    874|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 0, False: 874]
  ------------------
 1259|      0|                pos.visit(dec_left_visitor{}, idx);
 1260|    874|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [Folded, False: 874]
  ------------------
 1261|      0|                pos.visit(dec_visitor{});
 1262|    874|            return r;
 1263|  1.57k|        } else {
 1264|  1.57k|            using std::get;
 1265|  1.57k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 0, False: 1.57k]
  ------------------
 1266|  1.57k|                                   : node_t::make_inner_r_e(e);
 1267|  1.57k|            auto newr     = newn->relaxed();
 1268|  1.57k|            auto newcount = count - idx;
 1269|  1.57k|            auto new_child_size = child_size - child_dropped_size;
 1270|  1.57k|            IMMER_TRY {
  ------------------
  |  |   49|  1.57k|#define IMMER_TRY try
  ------------------
 1271|  1.57k|                auto subs =
 1272|  1.57k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 0, False: 1.57k]
  ------------------
 1273|  1.57k|                           : pos.towards_sub_oh(
 1274|  1.57k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  1.57k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 0, False: 1.57k]
  ------------------
 1276|      0|                    pos.each_left(dec_visitor{}, idx);
 1277|  1.57k|                pos.copy_sizes(
 1278|  1.57k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  1.57k|                std::copy(node->inner() + idx + 1,
 1280|  1.57k|                          node->inner() + count,
 1281|  1.57k|                          newn->inner() + 1);
 1282|  1.57k|                newn->inner()[0] = get<1>(subs);
 1283|  1.57k|                newr->d.sizes[0] = new_child_size;
 1284|  1.57k|                newr->d.count    = newcount;
 1285|  1.57k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 1.57k, False: 0]
  ------------------
 1286|  1.57k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 1.57k, False: 0]
  ------------------
 1287|  1.57k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  1.57k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [Folded, False: 1.57k]
  ------------------
 1289|      0|                        pos.visit(dec_visitor{});
 1290|  1.57k|                }
 1291|  1.57k|                return std::make_tuple(pos.shift(), newn);
 1292|  1.57k|            }
 1293|  1.57k|            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.57k|        }
 1299|  2.44k|    }
_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.76k|    {
 1304|  2.76k|        auto idx    = pos.subindex(first);
 1305|  2.76k|        auto count  = pos.count();
 1306|  2.76k|        auto node   = pos.node();
 1307|  2.76k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 2.76k]
  ------------------
 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.76k|        auto left_size          = pos.size_before(idx);
 1313|  2.76k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.76k|        auto dropped_size       = first;
 1315|  2.76k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.76k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 2.76k, Folded]
  |  Branch (1316:25): [True: 1.63k, False: 1.12k]
  |  Branch (1316:45): [True: 1.19k, False: 448]
  ------------------
 1317|  1.19k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 1.19k]
  ------------------
 1318|  1.19k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  1.19k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 1.19k]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.19k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 1.19k]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|  1.19k|            return r;
 1324|  1.57k|        } else {
 1325|  1.57k|            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.57k|            auto newcount = count - idx;
 1330|  1.57k|            auto newn =
 1331|  1.57k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 1.57k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  1.57k|                       : node_t::make_inner_r_e(e);
 1336|  1.57k|            auto newr = newn->relaxed();
 1337|  1.57k|            IMMER_TRY {
  ------------------
  |  |   49|  1.57k|#define IMMER_TRY try
  ------------------
 1338|  1.57k|                auto subs =
 1339|  1.57k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 1.57k]
  ------------------
 1340|  1.57k|                           : pos.towards_sub_oh(
 1341|  1.57k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.57k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 1.57k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.57k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.57k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.57k, False: 0]
  ------------------
 1346|  1.57k|                pos.copy_sizes(
 1347|  1.57k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.57k|                newr->d.count    = newcount;
 1349|  1.57k|                newn->inner()[0] = get<1>(subs);
 1350|  1.57k|                std::copy(node->inner() + idx + 1,
 1351|  1.57k|                          node->inner() + count,
 1352|  1.57k|                          newn->inner() + 1);
 1353|  1.57k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.57k, False: 0]
  ------------------
 1354|  1.57k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.57k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 1.57k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  1.57k|                }
 1358|  1.57k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.57k|            }
 1360|  1.57k|            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.57k|        }
 1373|  2.76k|    }
_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|  2.68k|    {
 1304|  2.68k|        auto idx    = pos.subindex(first);
 1305|  2.68k|        auto count  = pos.count();
 1306|  2.68k|        auto node   = pos.node();
 1307|  2.68k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 2.68k]
  ------------------
 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.68k|        auto left_size          = pos.size_before(idx);
 1313|  2.68k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.68k|        auto dropped_size       = first;
 1315|  2.68k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.68k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 2.68k, Folded]
  |  Branch (1316:25): [True: 528, False: 2.15k]
  |  Branch (1316:45): [True: 314, False: 214]
  ------------------
 1317|    314|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 314]
  ------------------
 1318|    314|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|    314|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 314]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|    314|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 314]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|    314|            return r;
 1324|  2.36k|        } else {
 1325|  2.36k|            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.36k|            auto newcount = count - idx;
 1330|  2.36k|            auto newn =
 1331|  2.36k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 2.36k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  2.36k|                       : node_t::make_inner_r_e(e);
 1336|  2.36k|            auto newr = newn->relaxed();
 1337|  2.36k|            IMMER_TRY {
  ------------------
  |  |   49|  2.36k|#define IMMER_TRY try
  ------------------
 1338|  2.36k|                auto subs =
 1339|  2.36k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 2.36k]
  ------------------
 1340|  2.36k|                           : pos.towards_sub_oh(
 1341|  2.36k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.36k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 2.36k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.36k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.36k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.36k, False: 0]
  ------------------
 1346|  2.36k|                pos.copy_sizes(
 1347|  2.36k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.36k|                newr->d.count    = newcount;
 1349|  2.36k|                newn->inner()[0] = get<1>(subs);
 1350|  2.36k|                std::copy(node->inner() + idx + 1,
 1351|  2.36k|                          node->inner() + count,
 1352|  2.36k|                          newn->inner() + 1);
 1353|  2.36k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 2.36k, False: 0]
  ------------------
 1354|  2.36k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  2.36k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 2.36k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  2.36k|                }
 1358|  2.36k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.36k|            }
 1360|  2.36k|            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.36k|        }
 1373|  2.68k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1209|    321|    {
 1210|    321|        using node_t = node_type<Pos>;
 1211|    321|        auto node    = p.node();
 1212|    321|        if (node->dec()) {
  ------------------
  |  Branch (1212:13): [True: 321, False: 0]
  ------------------
 1213|    321|            p.each_left(dec_t{}, idx);
 1214|    321|            node_t::delete_inner(node, p.count());
 1215|    321|        }
 1216|    321|    }
_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.22k|    {
 1378|  3.22k|        auto node   = pos.node();
 1379|  3.22k|        auto idx    = pos.index(first);
 1380|  3.22k|        auto count  = pos.count();
 1381|  3.22k|        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.22k|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 740, False: 2.48k]
  ------------------
 1384|  3.22k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 740, False: 2.48k]
  ------------------
 1385|    740|            auto data     = node->leaf();
 1386|    740|            auto newcount = count - idx;
 1387|    740|            std::move(data + idx, data + count, data);
 1388|    740|            detail::destroy_n(data + newcount, idx);
 1389|    740|            return std::make_tuple(0, node);
 1390|  2.48k|        } else {
 1391|  2.48k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  2.48k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 2.48k, Folded]
  ------------------
 1393|  2.48k|                pos.visit(dec_visitor{});
 1394|  2.48k|            return std::make_tuple(0, newn);
 1395|  2.48k|        }
 1396|  3.22k|    }
_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.16k|    {
 1304|  2.16k|        auto idx    = pos.subindex(first);
 1305|  2.16k|        auto count  = pos.count();
 1306|  2.16k|        auto node   = pos.node();
 1307|  2.16k|        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.16k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 1.03k, False: 1.13k]
  ------------------
 1312|  2.16k|        auto left_size          = pos.size_before(idx);
 1313|  2.16k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.16k|        auto dropped_size       = first;
 1315|  2.16k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.16k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 2.16k]
  |  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.16k|        } else {
 1325|  2.16k|            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.16k|            auto newcount = count - idx;
 1330|  2.16k|            auto newn =
 1331|  2.16k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 1.03k, False: 1.13k]
  ------------------
 1332|  1.03k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  1.03k|                                                     norefs_tag{})) relaxed_t,
 1334|  1.03k|                          node)
 1335|  2.16k|                       : node_t::make_inner_r_e(e);
 1336|  2.16k|            auto newr = newn->relaxed();
 1337|  2.16k|            IMMER_TRY {
  ------------------
  |  |   49|  2.16k|#define IMMER_TRY try
  ------------------
 1338|  2.16k|                auto subs =
 1339|  2.16k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 1.03k, False: 1.13k]
  ------------------
 1340|  2.16k|                           : pos.towards_sub_oh(
 1341|  1.13k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.16k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 1.03k, False: 1.13k]
  ------------------
 1343|  1.03k|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.16k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.16k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.16k, False: 0]
  ------------------
 1346|  2.16k|                pos.copy_sizes(
 1347|  2.16k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.16k|                newr->d.count    = newcount;
 1349|  2.16k|                newn->inner()[0] = get<1>(subs);
 1350|  2.16k|                std::copy(node->inner() + idx + 1,
 1351|  2.16k|                          node->inner() + count,
 1352|  2.16k|                          newn->inner() + 1);
 1353|  2.16k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.13k, False: 1.03k]
  ------------------
 1354|  1.13k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.13k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.13k, Folded]
  ------------------
 1356|  1.13k|                        pos.visit(dec_visitor{});
 1357|  1.13k|                }
 1358|  2.16k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.16k|            }
 1360|  2.16k|            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.16k|        }
 1373|  2.16k|    }
_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|  9.57k|    {
 1378|  9.57k|        auto node   = pos.node();
 1379|  9.57k|        auto idx    = pos.index(first);
 1380|  9.57k|        auto count  = pos.count();
 1381|  9.57k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [Folded, False: 9.57k]
  ------------------
 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|  9.57k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 0, False: 9.57k]
  ------------------
 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|  9.57k|        } else {
 1391|  9.57k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  9.57k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [Folded, False: 9.57k]
  ------------------
 1393|      0|                pos.visit(dec_visitor{});
 1394|  9.57k|            return std::make_tuple(0, newn);
 1395|  9.57k|        }
 1396|  9.57k|    }
_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.21k|    {
 1304|  3.21k|        auto idx    = pos.subindex(first);
 1305|  3.21k|        auto count  = pos.count();
 1306|  3.21k|        auto node   = pos.node();
 1307|  3.21k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 3.21k]
  ------------------
 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.21k|        auto left_size          = pos.size_before(idx);
 1313|  3.21k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.21k|        auto dropped_size       = first;
 1315|  3.21k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.21k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 3.21k]
  |  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.21k|        } else {
 1325|  3.21k|            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.21k|            auto newcount = count - idx;
 1330|  3.21k|            auto newn =
 1331|  3.21k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 3.21k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  3.21k|                       : node_t::make_inner_r_e(e);
 1336|  3.21k|            auto newr = newn->relaxed();
 1337|  3.21k|            IMMER_TRY {
  ------------------
  |  |   49|  3.21k|#define IMMER_TRY try
  ------------------
 1338|  3.21k|                auto subs =
 1339|  3.21k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 3.21k]
  ------------------
 1340|  3.21k|                           : pos.towards_sub_oh(
 1341|  3.21k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  3.21k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 3.21k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  3.21k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  3.21k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 3.21k, False: 0]
  ------------------
 1346|  3.21k|                pos.copy_sizes(
 1347|  3.21k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  3.21k|                newr->d.count    = newcount;
 1349|  3.21k|                newn->inner()[0] = get<1>(subs);
 1350|  3.21k|                std::copy(node->inner() + idx + 1,
 1351|  3.21k|                          node->inner() + count,
 1352|  3.21k|                          newn->inner() + 1);
 1353|  3.21k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 3.21k, False: 0]
  ------------------
 1354|  3.21k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  3.21k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 3.21k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  3.21k|                }
 1358|  3.21k|                return std::make_tuple(pos.shift(), newn);
 1359|  3.21k|            }
 1360|  3.21k|            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.21k|        }
 1373|  3.21k|    }
_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.03k|    {
 1210|  4.03k|        using node_t = node_type<Pos>;
 1211|  4.03k|        auto node    = p.node();
 1212|  4.03k|        if (node->dec()) {
  ------------------
  |  Branch (1212:13): [True: 4.03k, False: 0]
  ------------------
 1213|  4.03k|            p.each_left(dec_t{}, idx);
 1214|  4.03k|            node_t::delete_inner(node, p.count());
 1215|  4.03k|        }
 1216|  4.03k|    }
_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|  8.20k|    {
 1378|  8.20k|        auto node   = pos.node();
 1379|  8.20k|        auto idx    = pos.index(first);
 1380|  8.20k|        auto count  = pos.count();
 1381|  8.20k|        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|  8.20k|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 5.27k, False: 2.93k]
  ------------------
 1384|  8.20k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 5.27k, False: 2.93k]
  ------------------
 1385|  5.27k|            auto data     = node->leaf();
 1386|  5.27k|            auto newcount = count - idx;
 1387|  5.27k|            std::move(data + idx, data + count, data);
 1388|  5.27k|            detail::destroy_n(data + newcount, idx);
 1389|  5.27k|            return std::make_tuple(0, node);
 1390|  5.27k|        } else {
 1391|  2.93k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  2.93k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 2.93k, Folded]
  ------------------
 1393|  2.93k|                pos.visit(dec_visitor{});
 1394|  2.93k|            return std::make_tuple(0, newn);
 1395|  2.93k|        }
 1396|  8.20k|    }
_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.46k|    {
 1304|  1.46k|        auto idx    = pos.subindex(first);
 1305|  1.46k|        auto count  = pos.count();
 1306|  1.46k|        auto node   = pos.node();
 1307|  1.46k|        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.46k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 454, False: 1.00k]
  ------------------
 1312|  1.46k|        auto left_size          = pos.size_before(idx);
 1313|  1.46k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  1.46k|        auto dropped_size       = first;
 1315|  1.46k|        auto child_dropped_size = dropped_size - left_size;
 1316|  1.46k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 1.46k]
  |  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.46k|        } else {
 1325|  1.46k|            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.46k|            auto newcount = count - idx;
 1330|  1.46k|            auto newn =
 1331|  1.46k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 454, False: 1.00k]
  ------------------
 1332|    454|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|    454|                                                     norefs_tag{})) relaxed_t,
 1334|    454|                          node)
 1335|  1.46k|                       : node_t::make_inner_r_e(e);
 1336|  1.46k|            auto newr = newn->relaxed();
 1337|  1.46k|            IMMER_TRY {
  ------------------
  |  |   49|  1.46k|#define IMMER_TRY try
  ------------------
 1338|  1.46k|                auto subs =
 1339|  1.46k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 454, False: 1.00k]
  ------------------
 1340|  1.46k|                           : pos.towards_sub_oh(
 1341|  1.00k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.46k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 454, False: 1.00k]
  ------------------
 1343|    454|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.46k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.46k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.46k, False: 0]
  ------------------
 1346|  1.46k|                pos.copy_sizes(
 1347|  1.46k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.46k|                newr->d.count    = newcount;
 1349|  1.46k|                newn->inner()[0] = get<1>(subs);
 1350|  1.46k|                std::copy(node->inner() + idx + 1,
 1351|  1.46k|                          node->inner() + count,
 1352|  1.46k|                          newn->inner() + 1);
 1353|  1.46k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.00k, False: 454]
  ------------------
 1354|  1.00k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.00k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.00k, Folded]
  ------------------
 1356|  1.00k|                        pos.visit(dec_visitor{});
 1357|  1.00k|                }
 1358|  1.46k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.46k|            }
 1360|  1.46k|            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.46k|        }
 1373|  1.46k|    }
_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|  15.7k|    {
 1378|  15.7k|        auto node   = pos.node();
 1379|  15.7k|        auto idx    = pos.index(first);
 1380|  15.7k|        auto count  = pos.count();
 1381|  15.7k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [Folded, False: 15.7k]
  ------------------
 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|  15.7k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 0, False: 15.7k]
  ------------------
 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|  15.7k|        } else {
 1391|  15.7k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  15.7k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [Folded, False: 15.7k]
  ------------------
 1393|      0|                pos.visit(dec_visitor{});
 1394|  15.7k|            return std::make_tuple(0, newn);
 1395|  15.7k|        }
 1396|  15.7k|    }
_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|  1.59k|    {
 1304|  1.59k|        auto idx    = pos.subindex(first);
 1305|  1.59k|        auto count  = pos.count();
 1306|  1.59k|        auto node   = pos.node();
 1307|  1.59k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 1.59k]
  ------------------
 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|  1.59k|        auto left_size          = pos.size_before(idx);
 1313|  1.59k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  1.59k|        auto dropped_size       = first;
 1315|  1.59k|        auto child_dropped_size = dropped_size - left_size;
 1316|  1.59k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 1.59k]
  |  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|  1.59k|        } else {
 1325|  1.59k|            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.59k|            auto newcount = count - idx;
 1330|  1.59k|            auto newn =
 1331|  1.59k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 1.59k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  1.59k|                       : node_t::make_inner_r_e(e);
 1336|  1.59k|            auto newr = newn->relaxed();
 1337|  1.59k|            IMMER_TRY {
  ------------------
  |  |   49|  1.59k|#define IMMER_TRY try
  ------------------
 1338|  1.59k|                auto subs =
 1339|  1.59k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 1.59k]
  ------------------
 1340|  1.59k|                           : pos.towards_sub_oh(
 1341|  1.59k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.59k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 1.59k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.59k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.59k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.59k, False: 0]
  ------------------
 1346|  1.59k|                pos.copy_sizes(
 1347|  1.59k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.59k|                newr->d.count    = newcount;
 1349|  1.59k|                newn->inner()[0] = get<1>(subs);
 1350|  1.59k|                std::copy(node->inner() + idx + 1,
 1351|  1.59k|                          node->inner() + count,
 1352|  1.59k|                          newn->inner() + 1);
 1353|  1.59k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.59k, False: 0]
  ------------------
 1354|  1.59k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.59k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 1.59k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  1.59k|                }
 1358|  1.59k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.59k|            }
 1360|  1.59k|            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.59k|        }
 1373|  1.59k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1198|  4.96k|    {
 1199|  4.96k|        using node_t = node_type<Pos>;
 1200|  4.96k|        auto node    = p.node();
 1201|  4.96k|        if (node->dec()) {
  ------------------
  |  Branch (1201:13): [True: 4.96k, False: 0]
  ------------------
 1202|  4.96k|            p.each_left(dec_t{}, idx);
 1203|  4.96k|            node_t::delete_inner_r(node, p.count());
 1204|  4.96k|        }
 1205|  4.96k|    }
_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|   124k|    {
 1247|   124k|        auto idx                = pos.subindex(first);
 1248|   124k|        auto count              = pos.count();
 1249|   124k|        auto node               = pos.node();
 1250|   124k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [True: 124k, Folded]
  |  Branch (1250:47): [True: 114k, False: 9.66k]
  ------------------
 1251|   124k|        auto left_size          = pos.size_before(idx);
 1252|   124k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|   124k|        auto dropped_size       = first;
 1254|   124k|        auto child_dropped_size = dropped_size - left_size;
 1255|   124k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [Folded, False: 124k]
  |  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|   124k|        } else {
 1264|   124k|            using std::get;
 1265|   124k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 114k, False: 9.66k]
  ------------------
 1266|   124k|                                   : node_t::make_inner_r_e(e);
 1267|   124k|            auto newr     = newn->relaxed();
 1268|   124k|            auto newcount = count - idx;
 1269|   124k|            auto new_child_size = child_size - child_dropped_size;
 1270|   124k|            IMMER_TRY {
  ------------------
  |  |   49|   124k|#define IMMER_TRY try
  ------------------
 1271|   124k|                auto subs =
 1272|   124k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 114k, False: 9.66k]
  ------------------
 1273|   124k|                           : pos.towards_sub_oh(
 1274|  9.66k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|   124k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 114k, False: 9.66k]
  ------------------
 1276|   114k|                    pos.each_left(dec_visitor{}, idx);
 1277|   124k|                pos.copy_sizes(
 1278|   124k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|   124k|                std::copy(node->inner() + idx + 1,
 1280|   124k|                          node->inner() + count,
 1281|   124k|                          newn->inner() + 1);
 1282|   124k|                newn->inner()[0] = get<1>(subs);
 1283|   124k|                newr->d.sizes[0] = new_child_size;
 1284|   124k|                newr->d.count    = newcount;
 1285|   124k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 124k, False: 0]
  ------------------
 1286|   124k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 9.66k, False: 114k]
  ------------------
 1287|  9.66k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  9.66k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [True: 9.66k, Folded]
  ------------------
 1289|  9.66k|                        pos.visit(dec_visitor{});
 1290|  9.66k|                }
 1291|   124k|                return std::make_tuple(pos.shift(), newn);
 1292|   124k|            }
 1293|   124k|            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|   124k|        }
 1299|   124k|    }
_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|  68.0k|    {
 1247|  68.0k|        auto idx                = pos.subindex(first);
 1248|  68.0k|        auto count              = pos.count();
 1249|  68.0k|        auto node               = pos.node();
 1250|  68.0k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [Folded, False: 68.0k]
  |  Branch (1250:47): [True: 0, False: 0]
  ------------------
 1251|  68.0k|        auto left_size          = pos.size_before(idx);
 1252|  68.0k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  68.0k|        auto dropped_size       = first;
 1254|  68.0k|        auto child_dropped_size = dropped_size - left_size;
 1255|  68.0k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [Folded, False: 68.0k]
  |  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|  68.0k|        } else {
 1264|  68.0k|            using std::get;
 1265|  68.0k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 0, False: 68.0k]
  ------------------
 1266|  68.0k|                                   : node_t::make_inner_r_e(e);
 1267|  68.0k|            auto newr     = newn->relaxed();
 1268|  68.0k|            auto newcount = count - idx;
 1269|  68.0k|            auto new_child_size = child_size - child_dropped_size;
 1270|  68.0k|            IMMER_TRY {
  ------------------
  |  |   49|  68.0k|#define IMMER_TRY try
  ------------------
 1271|  68.0k|                auto subs =
 1272|  68.0k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 0, False: 68.0k]
  ------------------
 1273|  68.0k|                           : pos.towards_sub_oh(
 1274|  68.0k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  68.0k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 0, False: 68.0k]
  ------------------
 1276|      0|                    pos.each_left(dec_visitor{}, idx);
 1277|  68.0k|                pos.copy_sizes(
 1278|  68.0k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  68.0k|                std::copy(node->inner() + idx + 1,
 1280|  68.0k|                          node->inner() + count,
 1281|  68.0k|                          newn->inner() + 1);
 1282|  68.0k|                newn->inner()[0] = get<1>(subs);
 1283|  68.0k|                newr->d.sizes[0] = new_child_size;
 1284|  68.0k|                newr->d.count    = newcount;
 1285|  68.0k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 68.0k, False: 0]
  ------------------
 1286|  68.0k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 68.0k, False: 0]
  ------------------
 1287|  68.0k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  68.0k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [Folded, False: 68.0k]
  ------------------
 1289|      0|                        pos.visit(dec_visitor{});
 1290|  68.0k|                }
 1291|  68.0k|                return std::make_tuple(pos.shift(), newn);
 1292|  68.0k|            }
 1293|  68.0k|            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|  68.0k|        }
 1299|  68.0k|    }
_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.19k|    {
 1304|  9.19k|        auto idx    = pos.subindex(first);
 1305|  9.19k|        auto count  = pos.count();
 1306|  9.19k|        auto node   = pos.node();
 1307|  9.19k|        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.19k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 6.83k, False: 2.35k]
  ------------------
 1312|  9.19k|        auto left_size          = pos.size_before(idx);
 1313|  9.19k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  9.19k|        auto dropped_size       = first;
 1315|  9.19k|        auto child_dropped_size = dropped_size - left_size;
 1316|  9.19k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 9.19k, Folded]
  |  Branch (1316:25): [True: 7.14k, False: 2.04k]
  |  Branch (1316:45): [True: 5.09k, False: 2.05k]
  ------------------
 1317|  5.09k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 4.03k, False: 1.05k]
  ------------------
 1318|  5.09k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  5.09k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 4.03k, False: 1.05k]
  ------------------
 1320|  4.03k|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.05k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 1.05k, Folded]
  ------------------
 1322|  1.05k|                pos.visit(dec_visitor{});
 1323|  5.09k|            return r;
 1324|  5.09k|        } else {
 1325|  4.10k|            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.10k|            auto newcount = count - idx;
 1330|  4.10k|            auto newn =
 1331|  4.10k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 2.80k, False: 1.29k]
  ------------------
 1332|  2.80k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  2.80k|                                                     norefs_tag{})) relaxed_t,
 1334|  2.80k|                          node)
 1335|  4.10k|                       : node_t::make_inner_r_e(e);
 1336|  4.10k|            auto newr = newn->relaxed();
 1337|  4.10k|            IMMER_TRY {
  ------------------
  |  |   49|  4.10k|#define IMMER_TRY try
  ------------------
 1338|  4.10k|                auto subs =
 1339|  4.10k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 2.80k, False: 1.29k]
  ------------------
 1340|  4.10k|                           : pos.towards_sub_oh(
 1341|  1.29k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  4.10k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 2.80k, False: 1.29k]
  ------------------
 1343|  2.80k|                    pos.each_left(dec_visitor{}, idx);
 1344|  4.10k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  4.10k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 4.10k, False: 0]
  ------------------
 1346|  4.10k|                pos.copy_sizes(
 1347|  4.10k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  4.10k|                newr->d.count    = newcount;
 1349|  4.10k|                newn->inner()[0] = get<1>(subs);
 1350|  4.10k|                std::copy(node->inner() + idx + 1,
 1351|  4.10k|                          node->inner() + count,
 1352|  4.10k|                          newn->inner() + 1);
 1353|  4.10k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.29k, False: 2.80k]
  ------------------
 1354|  1.29k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.29k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.29k, Folded]
  ------------------
 1356|  1.29k|                        pos.visit(dec_visitor{});
 1357|  1.29k|                }
 1358|  4.10k|                return std::make_tuple(pos.shift(), newn);
 1359|  4.10k|            }
 1360|  4.10k|            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.10k|        }
 1373|  9.19k|    }
_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.20k|    {
 1304|  3.20k|        auto idx    = pos.subindex(first);
 1305|  3.20k|        auto count  = pos.count();
 1306|  3.20k|        auto node   = pos.node();
 1307|  3.20k|        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.20k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 1.42k, False: 1.78k]
  ------------------
 1312|  3.20k|        auto left_size          = pos.size_before(idx);
 1313|  3.20k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.20k|        auto dropped_size       = first;
 1315|  3.20k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.20k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 3.20k, Folded]
  |  Branch (1316:25): [True: 1.70k, False: 1.50k]
  |  Branch (1316:45): [True: 1.49k, False: 207]
  ------------------
 1317|  1.49k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 321, False: 1.17k]
  ------------------
 1318|  1.49k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  1.49k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 321, False: 1.17k]
  ------------------
 1320|    321|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.17k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 1.17k, Folded]
  ------------------
 1322|  1.17k|                pos.visit(dec_visitor{});
 1323|  1.49k|            return r;
 1324|  1.70k|        } else {
 1325|  1.70k|            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.70k|            auto newcount = count - idx;
 1330|  1.70k|            auto newn =
 1331|  1.70k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 1.10k, False: 606]
  ------------------
 1332|  1.10k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  1.10k|                                                     norefs_tag{})) relaxed_t,
 1334|  1.10k|                          node)
 1335|  1.70k|                       : node_t::make_inner_r_e(e);
 1336|  1.70k|            auto newr = newn->relaxed();
 1337|  1.70k|            IMMER_TRY {
  ------------------
  |  |   49|  1.70k|#define IMMER_TRY try
  ------------------
 1338|  1.70k|                auto subs =
 1339|  1.70k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 1.10k, False: 606]
  ------------------
 1340|  1.70k|                           : pos.towards_sub_oh(
 1341|    606|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.70k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 1.10k, False: 606]
  ------------------
 1343|  1.10k|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.70k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.70k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.70k, False: 0]
  ------------------
 1346|  1.70k|                pos.copy_sizes(
 1347|  1.70k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.70k|                newr->d.count    = newcount;
 1349|  1.70k|                newn->inner()[0] = get<1>(subs);
 1350|  1.70k|                std::copy(node->inner() + idx + 1,
 1351|  1.70k|                          node->inner() + count,
 1352|  1.70k|                          newn->inner() + 1);
 1353|  1.70k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 606, False: 1.10k]
  ------------------
 1354|    606|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|    606|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 606, Folded]
  ------------------
 1356|    606|                        pos.visit(dec_visitor{});
 1357|    606|                }
 1358|  1.70k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.70k|            }
 1360|  1.70k|            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.70k|        }
 1373|  3.20k|    }
_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.12k]
  ------------------
  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.12k|                             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.6k|    {
  383|  29.6k|        auto nl = posl.node();
  384|  29.6k|        auto nr = posr.node();
  385|  29.6k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 9.65k, False: 19.9k]
  ------------------
  386|  9.65k|            return true;
  387|  19.9k|        auto cl = posl.count();
  388|  19.9k|        auto cr = posr.count();
  389|  19.9k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 19.9k, False: 0]
  ------------------
  390|  19.9k|        auto sbr = size_t{};
  391|  19.9k|        auto i   = count_t{};
  392|  19.9k|        auto j   = count_t{};
  393|  62.5k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 51.7k, False: 10.8k]
  ------------------
  394|  51.7k|            auto sbl = posl.size_before(i);
  395|  81.9k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 66.1k, False: 15.7k]
  |  Branch (395:34): [True: 30.1k, False: 36.0k]
  ------------------
  396|  30.1k|                ;
  397|  51.7k|            auto res =
  398|  51.7k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 32.6k, False: 19.1k]
  ------------------
  399|  51.7k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  51.7k|                    : posl.nth_sub(i,
  401|  19.1k|                                   for_each_chunk_p_visitor{},
  402|  19.1k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  51.7k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 9.12k, False: 42.6k]
  ------------------
  404|  9.12k|                return false;
  405|  51.7k|        }
  406|  10.8k|        return true;
  407|  19.9k|    }
_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.04k|        {
  337|  9.04k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  9.04k|        }
_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.59k|    {
  428|  9.59k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 4.47k, False: 5.12k]
  ------------------
  429|  4.47k|            return true;
  430|  5.12k|        auto cl = posl.count();
  431|  5.12k|        auto cr = posr.count();
  432|  5.12k|        auto mp = std::min(cl, cr);
  433|  5.12k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 3.80k, False: 1.32k]
  ------------------
  434|  5.12k|                          posl.node()->leaf() + mp,
  435|  5.12k|                          posr.node()->leaf()) &&
  436|  3.80k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 3.39k, False: 402]
  ------------------
  437|  3.80k|                          posl.node()->leaf() + posl.count(),
  438|  3.80k|                          first + (idx + mp));
  439|  9.59k|    }
_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.3k|        {
  330|  21.3k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  21.3k|        }
_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.53k|    {
  413|  4.53k|        return this_t::visit_relaxed(posl, posr, first, idx);
  414|  4.53k|    }
_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.53k|    {
  383|  4.53k|        auto nl = posl.node();
  384|  4.53k|        auto nr = posr.node();
  385|  4.53k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 4.53k]
  ------------------
  386|      0|            return true;
  387|  4.53k|        auto cl = posl.count();
  388|  4.53k|        auto cr = posr.count();
  389|  4.53k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 4.53k, False: 0]
  ------------------
  390|  4.53k|        auto sbr = size_t{};
  391|  4.53k|        auto i   = count_t{};
  392|  4.53k|        auto j   = count_t{};
  393|  12.9k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 10.8k, False: 2.11k]
  ------------------
  394|  10.8k|            auto sbl = posl.size_before(i);
  395|  16.9k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 12.5k, False: 4.40k]
  |  Branch (395:34): [True: 6.06k, False: 6.44k]
  ------------------
  396|  6.06k|                ;
  397|  10.8k|            auto res =
  398|  10.8k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 6.61k, False: 4.24k]
  ------------------
  399|  10.8k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  10.8k|                    : posl.nth_sub(i,
  401|  4.24k|                                   for_each_chunk_p_visitor{},
  402|  4.24k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  10.8k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 2.41k, False: 8.43k]
  ------------------
  404|  2.41k|                return false;
  405|  10.8k|        }
  406|  2.11k|        return true;
  407|  4.53k|    }
_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.57k|        {
  337|  3.57k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  3.57k|        }
_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.82k|    {
  428|  6.82k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 3.98k, False: 2.83k]
  ------------------
  429|  3.98k|            return true;
  430|  2.83k|        auto cl = posl.count();
  431|  2.83k|        auto cr = posr.count();
  432|  2.83k|        auto mp = std::min(cl, cr);
  433|  2.83k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 2.61k, False: 228]
  ------------------
  434|  2.83k|                          posl.node()->leaf() + mp,
  435|  2.83k|                          posr.node()->leaf()) &&
  436|  2.61k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 2.36k, False: 247]
  ------------------
  437|  2.61k|                          posl.node()->leaf() + posl.count(),
  438|  2.61k|                          first + (idx + mp));
  439|  6.82k|    }
_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.30k|        {
  330|  2.30k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.30k|        }
_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.77k|    {
  413|  2.77k|        return this_t::visit_relaxed(posl, posr, first, idx);
  414|  2.77k|    }
_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.77k|    {
  383|  2.77k|        auto nl = posl.node();
  384|  2.77k|        auto nr = posr.node();
  385|  2.77k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.77k]
  ------------------
  386|      0|            return true;
  387|  2.77k|        auto cl = posl.count();
  388|  2.77k|        auto cr = posr.count();
  389|  2.77k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.77k, False: 0]
  ------------------
  390|  2.77k|        auto sbr = size_t{};
  391|  2.77k|        auto i   = count_t{};
  392|  2.77k|        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.6k, False: 4.04k]
  |  Branch (395:34): [True: 7.31k, False: 6.31k]
  ------------------
  396|  7.31k|                ;
  397|  10.3k|            auto res =
  398|  10.3k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 5.80k, False: 4.55k]
  ------------------
  399|  10.3k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  10.3k|                    : posl.nth_sub(i,
  401|  4.55k|                                   for_each_chunk_p_visitor{},
  402|  4.55k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  10.3k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 392, False: 9.96k]
  ------------------
  404|    392|                return false;
  405|  10.3k|        }
  406|  2.38k|        return true;
  407|  2.77k|    }
_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.80k|        {
  337|  3.80k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  3.80k|        }
_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|    859|        {
  330|    859|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    859|        }
_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.14k|        {
  330|  1.14k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  1.14k|        }
_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.87k|    {
  420|  1.87k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 1.87k, False: 0]
  ------------------
  421|  1.87k|                   ? this_t::visit_regular(posl, posr.node())
  422|  1.87k|                   : this_t::visit_regular(posr, posl.node());
  423|  1.87k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  9.64k|    {
  444|  9.64k|        auto node = pos.node();
  445|  9.64k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 6.48k, False: 3.16k]
  |  Branch (445:33): [True: 1.63k, False: 1.52k]
  ------------------
  446|  9.64k|    }
_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|  12.6k|    {
  451|  12.6k|        auto node = pos.node();
  452|  12.6k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 8.54k, False: 4.07k]
  |  Branch (452:33): [True: 2.31k, False: 1.76k]
  ------------------
  453|  4.07k|                                           node->leaf() + pos.count(),
  454|  4.07k|                                           other->leaf());
  455|  12.6k|    }
_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.31k|    {
  444|  7.31k|        auto node = pos.node();
  445|  7.31k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 2.42k, False: 4.88k]
  |  Branch (445:33): [True: 2.70k, False: 2.17k]
  ------------------
  446|  7.31k|    }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  450|  2.88k|    {
  451|  2.88k|        auto node = pos.node();
  452|  2.88k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 1.58k, False: 1.30k]
  |  Branch (452:33): [True: 644, False: 661]
  ------------------
  453|  1.30k|                                           node->leaf() + pos.count(),
  454|  1.30k|                                           other->leaf());
  455|  2.88k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  3.87k|    {
  444|  3.87k|        auto node = pos.node();
  445|  3.87k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 483, False: 3.39k]
  |  Branch (445:33): [True: 2.43k, False: 957]
  ------------------
  446|  3.87k|    }
_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|   321k|    {
  113|   321k|        auto data = as_const(pos.node()->leaf());
  114|   321k|        return fn(data, data + pos.count());
  115|   321k|    }
_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.31M|        return [iter](auto f, auto e) mutable {
  368|  1.31M|            if (f == &*iter) {
  ------------------
  |  Branch (368:17): [True: 176k, False: 1.13M]
  ------------------
  369|   176k|                iter += e - f;
  370|   176k|                return true;
  371|   176k|            }
  372|  5.18M|            for (; f != e; ++f, ++iter)
  ------------------
  |  Branch (372:20): [True: 4.05M, False: 1.13M]
  ------------------
  373|  4.05M|                if (*f != *iter)
  ------------------
  |  Branch (373:21): [True: 3.73k, False: 4.04M]
  ------------------
  374|  3.73k|                    return false;
  375|  1.13M|            return true;
  376|  1.13M|        };
_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.18M|    {
   54|  9.18M|        return pos.towards(this_t{}, idx);
   55|  9.18M|    }
_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|   995k|    {
   60|   995k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|   995k|    }
_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|   344k|    {
   54|   344k|        return pos.towards(this_t{}, idx);
   55|   344k|    }
_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|   324k|    {
   60|   324k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|   324k|    }
_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|   998k|    {
   54|   998k|        return pos.towards(this_t{}, idx);
   55|   998k|    }
_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|  20.3k|    {
   60|  20.3k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|  20.3k|    }
_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|   104k|    {
   54|   104k|        return pos.towards(this_t{}, idx);
   55|   104k|    }
_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|  89.5k|    {
  107|  89.5k|        return pos.each_pred(this_t{}, fn);
  108|  89.5k|    }
_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|    728|        {
  330|    728|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    728|        }
_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.21k|    {
  420|  6.21k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 6.21k, False: 0]
  ------------------
  421|  6.21k|                   ? this_t::visit_regular(posl, posr.node())
  422|  6.21k|                   : this_t::visit_regular(posr, posl.node());
  423|  6.21k|    }
_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|   978k|    {
  113|   978k|        auto data = as_const(pos.node()->leaf());
  114|   978k|        return fn(data, data + pos.count());
  115|   978k|    }
_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|  17.0k|    {
  107|  17.0k|        return pos.each_pred(this_t{}, fn);
  108|  17.0k|    }
_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|  15.6k|    {
  113|  15.6k|        auto data = as_const(pos.node()->leaf());
  114|  15.6k|        return fn(data, data + pos.count());
  115|  15.6k|    }
_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|  5.74k|    {
  107|  5.74k|        return pos.each_pred(this_t{}, fn);
  108|  5.74k|    }
_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.50k|        {
  330|  2.50k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.50k|        }
_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.35k|    {
  383|  2.35k|        auto nl = posl.node();
  384|  2.35k|        auto nr = posr.node();
  385|  2.35k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.35k]
  ------------------
  386|      0|            return true;
  387|  2.35k|        auto cl = posl.count();
  388|  2.35k|        auto cr = posr.count();
  389|  2.35k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.35k, False: 0]
  ------------------
  390|  2.35k|        auto sbr = size_t{};
  391|  2.35k|        auto i   = count_t{};
  392|  2.35k|        auto j   = count_t{};
  393|  7.94k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 6.33k, False: 1.61k]
  ------------------
  394|  6.33k|            auto sbl = posl.size_before(i);
  395|  9.85k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 7.85k, False: 2.00k]
  |  Branch (395:34): [True: 3.52k, False: 4.32k]
  ------------------
  396|  3.52k|                ;
  397|  6.33k|            auto res =
  398|  6.33k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 4.01k, False: 2.31k]
  ------------------
  399|  6.33k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  6.33k|                    : posl.nth_sub(i,
  401|  2.31k|                                   for_each_chunk_p_visitor{},
  402|  2.31k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  6.33k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 745, False: 5.58k]
  ------------------
  404|    745|                return false;
  405|  6.33k|        }
  406|  1.61k|        return true;
  407|  2.35k|    }
_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.79k, False: 1.89k]
  ------------------
  429|  2.79k|            return true;
  430|  1.89k|        auto cl = posl.count();
  431|  1.89k|        auto cr = posr.count();
  432|  1.89k|        auto mp = std::min(cl, cr);
  433|  1.89k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 1.50k, False: 386]
  ------------------
  434|  1.89k|                          posl.node()->leaf() + mp,
  435|  1.89k|                          posr.node()->leaf()) &&
  436|  1.50k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 1.50k, False: 0]
  ------------------
  437|  1.50k|                          posl.node()->leaf() + posl.count(),
  438|  1.50k|                          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.72k|        {
  330|  2.72k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.72k|        }
_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.63k|    {
  383|  1.63k|        auto nl = posl.node();
  384|  1.63k|        auto nr = posr.node();
  385|  1.63k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 1.63k]
  ------------------
  386|      0|            return true;
  387|  1.63k|        auto cl = posl.count();
  388|  1.63k|        auto cr = posr.count();
  389|  1.63k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 1.63k, False: 0]
  ------------------
  390|  1.63k|        auto sbr = size_t{};
  391|  1.63k|        auto i   = count_t{};
  392|  1.63k|        auto j   = count_t{};
  393|  7.17k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 5.93k, False: 1.23k]
  ------------------
  394|  5.93k|            auto sbl = posl.size_before(i);
  395|  10.1k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 8.98k, False: 1.20k]
  |  Branch (395:34): [True: 4.25k, False: 4.73k]
  ------------------
  396|  4.25k|                ;
  397|  5.93k|            auto res =
  398|  5.93k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 3.71k, False: 2.22k]
  ------------------
  399|  5.93k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  5.93k|                    : posl.nth_sub(i,
  401|  2.22k|                                   for_each_chunk_p_visitor{},
  402|  2.22k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  5.93k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 395, False: 5.54k]
  ------------------
  404|    395|                return false;
  405|  5.93k|        }
  406|  1.23k|        return true;
  407|  1.63k|    }
_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.09k|    {
  420|  1.09k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 1.09k, False: 0]
  ------------------
  421|  1.09k|                   ? this_t::visit_regular(posl, posr.node())
  422|  1.09k|                   : this_t::visit_regular(posr, posl.node());
  423|  1.09k|    }
_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|   603k|    {
  107|   603k|        return pos.each_pred(this_t{}, fn);
  108|   603k|    }
_ZN5immer6detail4rbts14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_:
  366|  32.4k|    {
  367|  32.4k|        return [iter](auto f, auto e) mutable {
  368|  32.4k|            if (f == &*iter) {
  369|  32.4k|                iter += e - f;
  370|  32.4k|                return true;
  371|  32.4k|            }
  372|  32.4k|            for (; f != e; ++f, ++iter)
  373|  32.4k|                if (*f != *iter)
  374|  32.4k|                    return false;
  375|  32.4k|            return true;
  376|  32.4k|        };
  377|  32.4k|    }
_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.48k|        {
  350|  1.48k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 1.48k, False: 0]
  ------------------
  351|  1.48k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 1.12k, False: 363]
  ------------------
  352|  1.48k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  1.12k|                                                 shiftl,
  354|  1.12k|                                                 sizel,
  355|  1.12k|                                                 this_t{},
  356|  1.12k|                                                 posr,
  357|  1.12k|                                                 first,
  358|  1.12k|                                                 size_t{})
  359|  1.48k|                       : posr.first_sub_inner(
  360|    363|                             rrb{}, first, rootl, shiftl, sizel);
  361|  1.48k|        }
_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.06k|        {
  350|  6.06k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 6.06k, False: 0]
  ------------------
  351|  6.06k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 6.06k, False: 0]
  ------------------
  352|  6.06k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  6.06k|                                                 shiftl,
  354|  6.06k|                                                 sizel,
  355|  6.06k|                                                 this_t{},
  356|  6.06k|                                                 posr,
  357|  6.06k|                                                 first,
  358|  6.06k|                                                 size_t{})
  359|  6.06k|                       : posr.first_sub_inner(
  360|      0|                             rrb{}, first, rootl, shiftl, sizel);
  361|  6.06k|        }
_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|  6.98k|    {
  451|  6.98k|        auto node = pos.node();
  452|  6.98k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 3.84k, False: 3.13k]
  |  Branch (452:33): [True: 1.11k, False: 2.02k]
  ------------------
  453|  3.13k|                                           node->leaf() + pos.count(),
  454|  3.13k|                                           other->leaf());
  455|  6.98k|    }

_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.2M|{
 1839|  31.2M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 31.2M, False: 0]
  ------------------
 1840|  31.2M|    auto relaxed = node->relaxed();
 1841|  31.2M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 28.6M, False: 2.60M]
  ------------------
 1842|  28.6M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 28.6M, False: 0]
  ------------------
 1843|  28.6M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  28.6M|            .visit(v, std::forward<Args>(args)...);
 1845|  28.6M|    } else {
 1846|  2.60M|        return make_regular_sub_pos(node, shift, size)
 1847|  2.60M|            .visit(v, std::forward<Args>(args)...);
 1848|  2.60M|    }
 1849|  31.2M|}
_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|  97.7M|{
 1829|  97.7M|    assert(node);
  ------------------
  |  Branch (1829:5): [True: 97.7M, False: 0]
  ------------------
 1830|  97.7M|    assert(relaxed);
  ------------------
  |  Branch (1830:5): [True: 97.7M, False: 0]
  ------------------
 1831|  97.7M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1831:5): [True: 97.7M, False: 0]
  ------------------
 1832|  97.7M|    return {node, shift, relaxed};
 1833|  97.7M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1813|  36.6M|    {
 1814|  36.6M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  36.6M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
 1431|  59.7M|    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|  11.9M|    {
 1477|  11.9M|        each_left(v, relaxed_->d.count, args...);
 1478|  11.9M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1623|  12.1M|    {
 1624|  12.1M|        auto p = node_->inner();
 1625|  12.1M|        auto s = size_t{};
 1626|  12.1M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 2.16M, False: 9.94M]
  ------------------
 1627|  9.46M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 7.30M, False: 2.16M]
  ------------------
 1628|  7.30M|                IMMER_PREFETCH(p + i + 1);
 1629|  7.30M|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|  7.30M|                    .visit(v, args...);
 1631|  7.30M|                s = relaxed_->d.sizes[i];
 1632|  7.30M|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 7.30M, False: 0]
  ------------------
 1633|  7.30M|            }
 1634|  9.94M|        } else {
 1635|  9.94M|            auto ss = shift_ - B;
 1636|  39.5M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 29.5M, False: 9.94M]
  ------------------
 1637|  29.5M|                visit_maybe_relaxed_sub(
 1638|  29.5M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  29.5M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 29.5M, False: 0]
  ------------------
 1641|  29.5M|            }
 1642|  9.94M|        }
 1643|  12.1M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
 1430|  56.7M|    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.43M|{
 1045|  6.43M|    assert(node);
  ------------------
  |  Branch (1045:5): [True: 6.43M, False: 0]
  ------------------
 1046|  6.43M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1046:5): [True: 6.43M, False: 0]
  ------------------
 1047|  6.43M|    assert(size > 0);
  ------------------
  |  Branch (1047:5): [True: 6.43M, False: 0]
  ------------------
 1048|  6.43M|    assert(size <= (branches<NodeT::bits, size_t> << shift));
  ------------------
  |  Branch (1048:5): [True: 6.43M, False: 0]
  ------------------
 1049|  6.43M|    return {node, shift, size};
 1050|  6.43M|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1036|  2.61M|    {
 1037|  2.61M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.61M|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  785|  8.67M|    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|   633k|    {
  826|   633k|        return each_regular(*this, v, args...);
  827|   633k|    }
_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|   633k|{
  344|   633k|    constexpr auto B  = bits<Pos>;
  345|   633k|    constexpr auto BL = bits_leaf<Pos>;
  346|   633k|    auto n            = p.node()->inner();
  347|   633k|    auto last         = p.count() - 1;
  348|   633k|    auto e            = n + last;
  349|   633k|    if (p.shift() == BL) {
  ------------------
  |  Branch (349:9): [True: 67.8k, False: 565k]
  ------------------
  350|   132k|        for (; n != e; ++n) {
  ------------------
  |  Branch (350:16): [True: 65.0k, False: 67.8k]
  ------------------
  351|  65.0k|            IMMER_PREFETCH(n + 1);
  352|  65.0k|            make_full_leaf_pos(*n).visit(v, args...);
  353|  65.0k|        }
  354|  67.8k|        make_leaf_pos(*n, p.size()).visit(v, args...);
  355|   565k|    } else {
  356|   565k|        auto ss = p.shift() - B;
  357|  1.32M|        for (; n != e; ++n)
  ------------------
  |  Branch (357:16): [True: 763k, False: 565k]
  ------------------
  358|   763k|            make_full_pos(*n, ss).visit(v, args...);
  359|   565k|        make_regular_pos(*n, ss, p.size()).visit(v, args...);
  360|   565k|    }
  361|   633k|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  787|  8.17M|    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.49M|{
  215|  4.49M|    assert(node);
  ------------------
  |  Branch (215:5): [True: 4.49M, False: 0]
  ------------------
  216|  4.49M|    return {node};
  217|  4.49M|}
_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.36M|    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.79M|    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.09M|{
  120|  1.09M|    assert(node);
  ------------------
  |  Branch (120:5): [True: 1.09M, False: 0]
  ------------------
  121|  1.09M|    assert(size > 0);
  ------------------
  |  Branch (121:5): [True: 1.09M, False: 0]
  ------------------
  122|  1.09M|    return {node, size};
  123|  1.09M|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  786|  4.59M|    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|   506k|    {
  113|   506k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|   506k|    }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  104|  1.10M|    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.15M|    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.20M|    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.54M|{
 1413|  6.54M|    assert(node);
  ------------------
  |  Branch (1413:5): [True: 6.54M, False: 0]
  ------------------
 1414|  6.54M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1414:5): [True: 6.54M, False: 0]
  ------------------
 1415|  6.54M|    return {node, shift};
 1416|  6.54M|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1405|  3.64M|    {
 1406|  3.64M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.64M|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
 1159|  4.52M|    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|   246k|    {
 1186|   246k|        auto p = node_->inner();
 1187|   246k|        auto e = p + branches<B>;
 1188|   246k|        if (shift_ == BL) {
  ------------------
  |  Branch (1188:13): [True: 189k, False: 57.2k]
  ------------------
 1189|   945k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1189:20): [True: 756k, False: 189k]
  ------------------
 1190|   756k|                IMMER_PREFETCH(p + 1);
 1191|   756k|                make_full_leaf_pos(*p).visit(v, args...);
 1192|   756k|            }
 1193|   189k|        } else {
 1194|  57.2k|            auto ss = shift_ - B;
 1195|   286k|            for (; p != e; ++p)
  ------------------
  |  Branch (1195:20): [True: 229k, False: 57.2k]
  ------------------
 1196|   229k|                make_full_pos(*p, ss).visit(v, args...);
 1197|  57.2k|        }
 1198|   246k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
 1158|  1.91M|    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.88M|{
  691|  5.88M|    assert(node);
  ------------------
  |  Branch (691:5): [True: 5.88M, False: 0]
  ------------------
  692|  5.88M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (692:5): [True: 5.88M, False: 0]
  ------------------
  693|  5.88M|    assert(size > 0);
  ------------------
  |  Branch (693:5): [True: 5.88M, False: 0]
  ------------------
  694|  5.88M|    return {node, shift, size};
  695|  5.88M|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  336|  2.46M|    {
  337|  2.46M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.46M|    }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  231|  10.7M|    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.32M|    {
  244|  2.32M|        return each_regular(*this, v, args...);
  245|  2.32M|    }
_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.32M|{
  344|  2.32M|    constexpr auto B  = bits<Pos>;
  345|  2.32M|    constexpr auto BL = bits_leaf<Pos>;
  346|  2.32M|    auto n            = p.node()->inner();
  347|  2.32M|    auto last         = p.count() - 1;
  348|  2.32M|    auto e            = n + last;
  349|  2.32M|    if (p.shift() == BL) {
  ------------------
  |  Branch (349:9): [True: 431k, False: 1.88M]
  ------------------
  350|   865k|        for (; n != e; ++n) {
  ------------------
  |  Branch (350:16): [True: 434k, False: 431k]
  ------------------
  351|   434k|            IMMER_PREFETCH(n + 1);
  352|   434k|            make_full_leaf_pos(*n).visit(v, args...);
  353|   434k|        }
  354|   431k|        make_leaf_pos(*n, p.size()).visit(v, args...);
  355|  1.88M|    } else {
  356|  1.88M|        auto ss = p.shift() - B;
  357|  4.52M|        for (; n != e; ++n)
  ------------------
  |  Branch (357:16): [True: 2.63M, False: 1.88M]
  ------------------
  358|  2.63M|            make_full_pos(*n, ss).visit(v, args...);
  359|  1.88M|        make_regular_pos(*n, ss, p.size()).visit(v, args...);
  360|  1.88M|    }
  361|  2.32M|}
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  233|  10.3M|    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.46M|    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.2M|    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|  9.94M|    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.2M|    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.5M|{
  152|  18.5M|    assert(node);
  ------------------
  |  Branch (152:5): [True: 18.5M, False: 0]
  ------------------
  153|  18.5M|    assert(count <= branches<NodeT::bits_leaf>);
  ------------------
  |  Branch (153:5): [True: 18.5M, False: 0]
  ------------------
  154|  18.5M|    return {node, count};
  155|  18.5M|}
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  144|  10.5M|    {
  145|  10.5M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  10.5M|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  136|  16.1M|    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.86M|    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.63M|{
   89|  1.63M|    assert(node);
  ------------------
  |  Branch (89:5): [True: 1.63M, False: 0]
  ------------------
   90|  1.63M|    return {node};
   91|  1.63M|}
_ZN5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
   81|  1.63M|    {
   82|  1.63M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
   83|  1.63M|    }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
   75|  1.63M|    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|  7.99k|    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|   556k|    {
 1814|   556k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   556k|    }
_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.00M|    {
 1444|  6.00M|        return size_sbh(offset, size_before(offset));
 1445|  6.00M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
 1448|  6.28M|    {
 1449|  6.28M|        assert(size_before_hint == size_before(offset));
  ------------------
  |  Branch (1449:9): [True: 6.28M, False: 0]
  ------------------
 1450|  6.28M|        return relaxed_->d.sizes[offset] - size_before_hint;
 1451|  6.28M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
 1438|  17.3M|    {
 1439|  17.3M|        return offset ? relaxed_->d.sizes[offset - 1] : 0;
  ------------------
  |  Branch (1439:16): [True: 11.2M, False: 6.09M]
  ------------------
 1440|  17.3M|    }
_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|   542k|    {
 1738|   542k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 542k, False: 0]
  ------------------
 1739|   542k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 542k, False: 0]
  ------------------
 1740|   542k|        auto child   = node_->inner()[offset_hint];
 1741|   542k|        auto is_leaf = shift_ == BL;
 1742|   542k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 542k]
  ------------------
 1743|   542k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|   542k|                   : visit_maybe_relaxed_sub(
 1745|   542k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|   542k|    }
_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|   542k|{
 1839|   542k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 542k, False: 0]
  ------------------
 1840|   542k|    auto relaxed = node->relaxed();
 1841|   542k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 344k, False: 197k]
  ------------------
 1842|   344k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 344k, False: 0]
  ------------------
 1843|   344k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   344k|            .visit(v, std::forward<Args>(args)...);
 1845|   344k|    } else {
 1846|   197k|        return make_regular_sub_pos(node, shift, size)
 1847|   197k|            .visit(v, std::forward<Args>(args)...);
 1848|   197k|    }
 1849|   542k|}
_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|   197k|    {
 1037|   197k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   197k|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  788|  2.43M|    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|   532k|    {
  953|   532k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|   532k|    }
_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|   532k|{
  678|   532k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 532k, False: 0]
  ------------------
  679|   532k|    constexpr auto B  = bits<Pos>;
  680|   532k|    constexpr auto BL = bits_leaf<Pos>;
  681|   532k|    auto child        = p.node()->inner()[offset_hint];
  682|   532k|    auto is_leaf      = p.shift() == BL;
  683|   532k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 532k]
  ------------------
  684|   532k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   532k|                         .visit(v, args...);
  686|   532k|}
_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.28M|    {
  337|  2.28M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.28M|    }
_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.75M|    {
  331|  1.75M|        return last_oh_regular(*this, v, offset_hint, args...);
  332|  1.75M|    }
_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.75M|{
  678|  1.75M|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.75M, False: 0]
  ------------------
  679|  1.75M|    constexpr auto B  = bits<Pos>;
  680|  1.75M|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.75M|    auto child        = p.node()->inner()[offset_hint];
  682|  1.75M|    auto is_leaf      = p.shift() == BL;
  683|  1.75M|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.75M]
  ------------------
  684|  1.75M|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.75M|                         .visit(v, args...);
  686|  1.75M|}
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
 1432|  21.7M|    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|   357k|    {
 1037|   357k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   357k|    }
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|  41.1k|    {
  145|  41.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  41.1k|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  139|  1.15M|    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|   349k|{
 1839|   349k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 349k, False: 0]
  ------------------
 1840|   349k|    auto relaxed = node->relaxed();
 1841|   349k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 308k, False: 41.9k]
  ------------------
 1842|   308k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 308k, False: 0]
  ------------------
 1843|   308k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   308k|            .visit(v, std::forward<Args>(args)...);
 1845|   308k|    } else {
 1846|  41.9k|        return make_regular_sub_pos(node, shift, size)
 1847|  41.9k|            .visit(v, std::forward<Args>(args)...);
 1848|  41.9k|    }
 1849|   349k|}
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|   308k|    {
 1814|   308k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   308k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
 1454|  29.8M|    {
 1455|  29.8M|        auto offset = idx >> shift_;
 1456|  40.7M|        while (relaxed_->d.sizes[offset] <= idx)
  ------------------
  |  Branch (1456:16): [True: 10.9M, False: 29.8M]
  ------------------
 1457|  10.9M|            ++offset;
 1458|  29.8M|        return offset;
 1459|  29.8M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7relaxedEv:
 1435|   308k|    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|   308k|    {
 1687|   308k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 308k, False: 0]
  ------------------
 1688|   308k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 71.7k, False: 236k]
  ------------------
 1689|   308k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|   308k|    }
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|   308k|    {
 1699|   308k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|   308k|    }
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|   308k|    {
 1718|   308k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 308k, False: 0]
  ------------------
 1719|   308k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 71.7k, False: 236k]
  |  Branch (1719:9): [True: 308k, False: 0]
  ------------------
 1720|   308k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|   308k|        auto child     = node_->inner()[offset_hint];
 1722|   308k|        auto is_leaf   = shift_ == BL;
 1723|   308k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|   308k|        auto next_idx  = idx - left_size_hint;
 1725|   308k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 53.4k, False: 254k]
  ------------------
 1726|   308k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  53.4k|                         .visit(v, next_idx, args...)
 1728|   308k|                   : visit_maybe_relaxed_sub(
 1729|   254k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|   308k|    }
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|  53.4k|    {
  145|  53.4k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  53.4k|    }
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|  41.9k|    {
 1037|  41.9k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  41.9k|    }
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|  41.9k|    {
  939|  41.9k|        return towards_oh_ch_regular(
  940|  41.9k|            *this, v, idx, offset_hint, count(), args...);
  941|  41.9k|    }
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|  41.9k|{
  633|  41.9k|    constexpr auto B  = bits<Pos>;
  634|  41.9k|    constexpr auto BL = bits_leaf<Pos>;
  635|  41.9k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 41.9k, False: 0]
  ------------------
  636|  41.9k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 41.9k, False: 0]
  ------------------
  637|  41.9k|    auto is_leaf = p.shift() == BL;
  638|  41.9k|    auto child   = p.node()->inner()[offset_hint];
  639|  41.9k|    auto is_full = offset_hint + 1 != count_hint;
  640|  41.9k|    return is_full
  ------------------
  |  Branch (640:12): [True: 23.4k, False: 18.4k]
  ------------------
  641|  41.9k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 13.3k, False: 10.1k]
  ------------------
  642|  23.4k|                          : make_full_pos(child, p.shift() - B)
  643|  10.1k|                                .visit(v, idx, args...))
  644|  41.9k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 15.8k, False: 2.64k]
  ------------------
  645|  18.4k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  18.4k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  2.64k|                            .visit(v, idx, args...));
  648|  41.9k|}
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|  25.1k|    {
  208|  25.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  25.1k|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  202|   403k|    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|  15.9k|    {
 1406|  15.9k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  15.9k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
 1162|  2.09M|    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|  15.9k|    {
 1330|  15.9k|        return towards_oh(v, idx, offset_hint, args...);
 1331|  15.9k|    }
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|  15.9k|    {
 1337|  15.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 15.9k, False: 0]
  ------------------
 1338|  15.9k|        auto is_leaf = shift_ == BL;
 1339|  15.9k|        auto child   = node_->inner()[offset_hint];
 1340|  15.9k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 11.1k, False: 4.86k]
  ------------------
 1341|  15.9k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  15.9k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  15.9k|    }
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|  16.8k|    {
  113|  16.8k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  16.8k|    }
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|  3.01k|    {
  337|  3.01k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.01k|    }
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|  3.01k|    {
  317|  3.01k|        return towards_oh_ch_regular(
  318|  3.01k|            *this, v, idx, offset_hint, count(), args...);
  319|  3.01k|    }
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|  3.01k|{
  633|  3.01k|    constexpr auto B  = bits<Pos>;
  634|  3.01k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.01k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.01k, False: 0]
  ------------------
  636|  3.01k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.01k, False: 0]
  ------------------
  637|  3.01k|    auto is_leaf = p.shift() == BL;
  638|  3.01k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.01k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.01k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.64k, False: 1.37k]
  ------------------
  641|  3.01k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 639, False: 1.00k]
  ------------------
  642|  1.64k|                          : make_full_pos(child, p.shift() - B)
  643|  1.00k|                                .visit(v, idx, args...))
  644|  3.01k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 998, False: 375]
  ------------------
  645|  1.37k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.37k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    375|                            .visit(v, idx, args...));
  648|  3.01k|}
_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|  37.9k|{
 1839|  37.9k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 37.9k, False: 0]
  ------------------
 1840|  37.9k|    auto relaxed = node->relaxed();
 1841|  37.9k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 30.9k, False: 7.00k]
  ------------------
 1842|  30.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 30.9k, False: 0]
  ------------------
 1843|  30.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  30.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  30.9k|    } else {
 1846|  7.00k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.00k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.00k|    }
 1849|  37.9k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1813|  30.9k|    {
 1814|  30.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  30.9k|    }
_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|  21.9k|    {
 1687|  21.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 21.9k, False: 0]
  ------------------
 1688|  21.9k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 21.9k]
  ------------------
 1689|  21.9k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  21.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|  21.9k|    {
 1699|  21.9k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  21.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|  21.9k|    {
 1718|  21.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 21.9k, False: 0]
  ------------------
 1719|  21.9k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 21.9k]
  |  Branch (1719:9): [True: 21.9k, False: 0]
  ------------------
 1720|  21.9k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  21.9k|        auto child     = node_->inner()[offset_hint];
 1722|  21.9k|        auto is_leaf   = shift_ == BL;
 1723|  21.9k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  21.9k|        auto next_idx  = idx - left_size_hint;
 1725|  21.9k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 1.92k, False: 20.0k]
  ------------------
 1726|  21.9k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  1.92k|                         .visit(v, next_idx, args...)
 1728|  21.9k|                   : visit_maybe_relaxed_sub(
 1729|  20.0k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  21.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|  1.92k|    {
  145|  1.92k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.92k|    }
_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|  20.5k|    {
 1687|  20.5k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 20.5k, False: 0]
  ------------------
 1688|  20.5k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 13.3k, False: 7.18k]
  ------------------
 1689|  20.5k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  20.5k|    }
_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|  20.5k|    {
 1699|  20.5k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  20.5k|    }
_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|  20.5k|    {
 1718|  20.5k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 20.5k, False: 0]
  ------------------
 1719|  20.5k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 13.3k, False: 7.18k]
  |  Branch (1719:9): [True: 20.5k, False: 0]
  ------------------
 1720|  20.5k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  20.5k|        auto child     = node_->inner()[offset_hint];
 1722|  20.5k|        auto is_leaf   = shift_ == BL;
 1723|  20.5k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  20.5k|        auto next_idx  = idx - left_size_hint;
 1725|  20.5k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 4.92k, False: 15.6k]
  ------------------
 1726|  20.5k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  4.92k|                         .visit(v, next_idx, args...)
 1728|  20.5k|                   : visit_maybe_relaxed_sub(
 1729|  15.6k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  20.5k|    }
_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|  4.92k|    {
  145|  4.92k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  4.92k|    }
_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|  15.6k|{
 1839|  15.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 15.6k, False: 0]
  ------------------
 1840|  15.6k|    auto relaxed = node->relaxed();
 1841|  15.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 11.4k, False: 4.12k]
  ------------------
 1842|  11.4k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 11.4k, False: 0]
  ------------------
 1843|  11.4k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  11.4k|            .visit(v, std::forward<Args>(args)...);
 1845|  11.4k|    } else {
 1846|  4.12k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.12k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.12k|    }
 1849|  15.6k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1813|  11.4k|    {
 1814|  11.4k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  11.4k|    }
_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.12k|    {
 1037|  4.12k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.12k|    }
_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.68k|    {
  928|  7.68k|        return towards_oh_ch_regular(
  929|  7.68k|            *this, v, idx, offset_hint, count(), args...);
  930|  7.68k|    }
_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.68k|{
  633|  7.68k|    constexpr auto B  = bits<Pos>;
  634|  7.68k|    constexpr auto BL = bits_leaf<Pos>;
  635|  7.68k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 7.68k, False: 0]
  ------------------
  636|  7.68k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 7.68k, False: 0]
  ------------------
  637|  7.68k|    auto is_leaf = p.shift() == BL;
  638|  7.68k|    auto child   = p.node()->inner()[offset_hint];
  639|  7.68k|    auto is_full = offset_hint + 1 != count_hint;
  640|  7.68k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.89k, False: 4.78k]
  ------------------
  641|  7.68k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.92k, False: 968]
  ------------------
  642|  2.89k|                          : make_full_pos(child, p.shift() - B)
  643|    968|                                .visit(v, idx, args...))
  644|  7.68k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.07k, False: 3.71k]
  ------------------
  645|  4.78k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  4.78k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  3.71k|                            .visit(v, idx, args...));
  648|  7.68k|}
_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.48k|    {
  208|  6.48k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  6.48k|    }
_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.47k|    {
 1406|  2.47k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.47k|    }
_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|  3.86k|    {
 1337|  3.86k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 3.86k, False: 0]
  ------------------
 1338|  3.86k|        auto is_leaf = shift_ == BL;
 1339|  3.86k|        auto child   = node_->inner()[offset_hint];
 1340|  3.86k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 2.76k, False: 1.09k]
  ------------------
 1341|  3.86k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  3.86k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  3.86k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1161|   178k|    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.58k|    {
  113|  2.58k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.58k|    }
_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.01k|    {
  337|  5.01k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  5.01k|    }
_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.01k|    {
  306|  5.01k|        return towards_oh_ch_regular(
  307|  5.01k|            *this, v, idx, offset_hint, count(), args...);
  308|  5.01k|    }
_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.01k|{
  633|  5.01k|    constexpr auto B  = bits<Pos>;
  634|  5.01k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.01k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.01k, False: 0]
  ------------------
  636|  5.01k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.01k, False: 0]
  ------------------
  637|  5.01k|    auto is_leaf = p.shift() == BL;
  638|  5.01k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.01k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.01k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.20k, False: 2.81k]
  ------------------
  641|  5.01k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.78k, False: 413]
  ------------------
  642|  2.20k|                          : make_full_pos(child, p.shift() - B)
  643|    413|                                .visit(v, idx, args...))
  644|  5.01k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.51k, False: 1.29k]
  ------------------
  645|  2.81k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.81k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.29k|                            .visit(v, idx, args...));
  648|  5.01k|}
_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|  7.00k|    {
 1037|  7.00k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.00k|    }
_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.44k|    {
  928|  3.44k|        return towards_oh_ch_regular(
  929|  3.44k|            *this, v, idx, offset_hint, count(), args...);
  930|  3.44k|    }
_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.44k|{
  633|  3.44k|    constexpr auto B  = bits<Pos>;
  634|  3.44k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.44k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.44k, False: 0]
  ------------------
  636|  3.44k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.44k, False: 0]
  ------------------
  637|  3.44k|    auto is_leaf = p.shift() == BL;
  638|  3.44k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.44k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.44k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.73k, False: 707]
  ------------------
  641|  3.44k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 744, False: 1.99k]
  ------------------
  642|  2.73k|                          : make_full_pos(child, p.shift() - B)
  643|  1.99k|                                .visit(v, idx, args...))
  644|  3.44k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 707, False: 0]
  ------------------
  645|    707|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    707|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  3.44k|}
_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.35k|    {
  208|  1.35k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.35k|    }
_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.59k|    {
 1406|  2.59k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.59k|    }
_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: 606, False: 601]
  ------------------
 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|    707|    {
  113|    707|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    707|    }
_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|  22.1k|{
 1839|  22.1k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 22.1k, False: 0]
  ------------------
 1840|  22.1k|    auto relaxed = node->relaxed();
 1841|  22.1k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 14.4k, False: 7.66k]
  ------------------
 1842|  14.4k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 14.4k, False: 0]
  ------------------
 1843|  14.4k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  14.4k|            .visit(v, std::forward<Args>(args)...);
 1845|  14.4k|    } else {
 1846|  7.66k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.66k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.66k|    }
 1849|  22.1k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1813|  14.4k|    {
 1814|  14.4k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  14.4k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
 1434|  9.46M|    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.49k|    {
 1706|  4.49k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.49k, False: 0]
  ------------------
 1707|  4.49k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 3.76k, False: 734]
  ------------------
 1708|  4.49k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.49k|    }
_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.49k|    {
 1718|  4.49k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.49k, False: 0]
  ------------------
 1719|  4.49k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 3.76k, False: 734]
  |  Branch (1719:9): [True: 4.49k, False: 0]
  ------------------
 1720|  4.49k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.49k|        auto child     = node_->inner()[offset_hint];
 1722|  4.49k|        auto is_leaf   = shift_ == BL;
 1723|  4.49k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.49k|        auto next_idx  = idx - left_size_hint;
 1725|  4.49k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.49k]
  ------------------
 1726|  4.49k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.49k|                   : visit_maybe_relaxed_sub(
 1729|  4.49k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.49k|    }
_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|  49.7k|    {
 1706|  49.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 49.7k, False: 0]
  ------------------
 1707|  49.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 14.7k, False: 35.0k]
  ------------------
 1708|  49.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  49.7k|    }
_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|  49.7k|    {
 1718|  49.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 49.7k, False: 0]
  ------------------
 1719|  49.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 14.7k, False: 35.0k]
  |  Branch (1719:9): [True: 49.7k, False: 0]
  ------------------
 1720|  49.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  49.7k|        auto child     = node_->inner()[offset_hint];
 1722|  49.7k|        auto is_leaf   = shift_ == BL;
 1723|  49.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  49.7k|        auto next_idx  = idx - left_size_hint;
 1725|  49.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 7.89k, False: 41.8k]
  ------------------
 1726|  49.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  7.89k|                         .visit(v, next_idx, args...)
 1728|  49.7k|                   : visit_maybe_relaxed_sub(
 1729|  41.8k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  49.7k|    }
_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|  7.89k|    {
  145|  7.89k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  7.89k|    }
_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|  41.8k|{
 1839|  41.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 41.8k, False: 0]
  ------------------
 1840|  41.8k|    auto relaxed = node->relaxed();
 1841|  41.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 39.7k, False: 2.06k]
  ------------------
 1842|  39.7k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 39.7k, False: 0]
  ------------------
 1843|  39.7k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  39.7k|            .visit(v, std::forward<Args>(args)...);
 1845|  39.7k|    } else {
 1846|  2.06k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.06k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.06k|    }
 1849|  41.8k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1813|  39.7k|    {
 1814|  39.7k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  39.7k|    }
_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.06k|    {
 1037|  2.06k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.06k|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
  791|   226k|    {
  792|   226k|        return size_t{offset} << shift_;
  793|   226k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
  803|  27.0k|    {
  804|  27.0k|        assert(size_before_hint == size_before(offset));
  ------------------
  |  Branch (804:9): [True: 27.0k, False: 0]
  ------------------
  805|  27.0k|        return offset == subindex(size_ - 1) ? size_ - size_before_hint
  ------------------
  |  Branch (805:16): [True: 14.9k, False: 12.0k]
  ------------------
  806|  27.0k|                                             : size_t{1} << shift_;
  807|  27.0k|    }
_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: 5.00k, False: 3.50k]
  ------------------
  664|  8.51k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  8.51k|                      : make_full_pos(child, p.shift() - B)
  666|  3.50k|                            .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|  27.0k|    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.73k|    {
  208|  9.73k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  9.73k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJmEEEDcT_DpOT0_:
 1405|  5.59k|    {
 1406|  5.59k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  5.59k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
 1163|  18.3k|    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|  37.6k|    {
 1171|  37.6k|        return size_t{offset} << shift_;
 1172|  37.6k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
 1166|  18.3k|    {
 1167|  18.3k|        return size_t{1} << shift_;
 1168|  18.3k|    }
_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|  6.81k|    {
 1349|  6.81k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 6.81k, False: 0]
  ------------------
 1350|  6.81k|        auto is_leaf = shift_ == BL;
 1351|  6.81k|        auto child   = node_->inner()[offset_hint];
 1352|  6.81k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  6.81k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 4.72k, False: 2.08k]
  ------------------
 1354|  6.81k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  6.81k|                   : make_full_pos(child, shift_ - B)
 1356|  2.08k|                         .visit(v, idx - lsize, args...);
 1357|  6.81k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
 1175|  16.2k|    {
 1176|  16.2k|        auto e = sizes + n;
 1177|  41.5k|        for (; sizes != e; ++sizes) {
  ------------------
  |  Branch (1177:16): [True: 25.2k, False: 16.2k]
  ------------------
 1178|  25.2k|            init = *sizes = init + (size_t{1} << shift_);
 1179|       |            assert(init);
  ------------------
  |  Branch (1179:13): [True: 25.2k, False: 0]
  ------------------
 1180|  25.2k|        }
 1181|  16.2k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
 1160|   809k|    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|   292k|    {
  811|   292k|        if (n) {
  ------------------
  |  Branch (811:13): [True: 287k, False: 5.19k]
  ------------------
  812|   287k|            auto last = offset + n - 1;
  813|   287k|            auto e    = sizes + n - 1;
  814|   570k|            for (; sizes != e; ++sizes) {
  ------------------
  |  Branch (814:20): [True: 283k, False: 287k]
  ------------------
  815|   283k|                init = *sizes = init + (size_t{1} << shift_);
  816|   283k|                assert(init);
  ------------------
  |  Branch (816:17): [True: 283k, False: 0]
  ------------------
  817|   283k|            }
  818|   287k|            *sizes = init + size(last);
  819|       |            assert(*sizes);
  ------------------
  |  Branch (819:13): [True: 287k, False: 0]
  ------------------
  820|   287k|        }
  821|   292k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEj:
  797|   302k|    {
  798|   302k|        return offset == subindex(size_ - 1) ? size_ - size_before(offset)
  ------------------
  |  Branch (798:16): [True: 153k, False: 148k]
  ------------------
  799|   302k|                                             : size_t{1} << shift_;
  800|   302k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
 1462|  4.63M|    {
 1463|  4.63M|        auto e     = sizes + n;
 1464|  4.63M|        auto prev  = size_before(offset);
 1465|  4.63M|        auto these = relaxed_->d.sizes + offset;
 1466|  13.2M|        for (; sizes != e; ++sizes, ++these) {
  ------------------
  |  Branch (1466:16): [True: 8.57M, False: 4.63M]
  ------------------
 1467|  8.57M|            auto this_size = *these;
 1468|  8.57M|            init = *sizes = init + (this_size - prev);
 1469|  8.57M|            assert(init);
  ------------------
  |  Branch (1469:13): [True: 8.57M, False: 0]
  ------------------
 1470|  8.57M|            prev = this_size;
 1471|  8.57M|        }
 1472|  4.63M|    }
_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.66k|    {
 1037|  7.66k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.66k|    }
_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.50k|    {
  947|  3.50k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.50k|    }
_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.50k|{
  654|  3.50k|    constexpr auto B  = bits<Pos>;
  655|  3.50k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.50k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.50k, False: 0]
  ------------------
  657|  3.50k|    auto is_leaf = p.shift() == BL;
  658|  3.50k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.50k|    auto lsize   = offset_hint << p.shift();
  660|  3.50k|    auto size    = p.this_size();
  661|  3.50k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.50k|    return is_full
  ------------------
  |  Branch (662:12): [True: 1.21k, False: 2.28k]
  ------------------
  663|  3.50k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 1.21k]
  ------------------
  664|  1.21k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  1.21k|                      : make_full_pos(child, p.shift() - B)
  666|  1.21k|                            .visit(v, idx - lsize, args...))
  667|  3.50k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 2.28k]
  ------------------
  668|  2.28k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  2.28k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  2.28k|                            .visit(v, idx - lsize, args...));
  672|  3.50k|}
_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.48k|    {
 1406|  1.48k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.48k|    }
_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|    270|    {
 1349|    270|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 270, False: 0]
  ------------------
 1350|    270|        auto is_leaf = shift_ == BL;
 1351|    270|        auto child   = node_->inner()[offset_hint];
 1352|    270|        auto lsize   = size_t{offset_hint} << shift_;
 1353|    270|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 270]
  ------------------
 1354|    270|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|    270|                   : make_full_pos(child, shift_ - B)
 1356|    270|                         .visit(v, idx - lsize, args...);
 1357|    270|    }
_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.28k|    {
 1037|  2.28k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.28k|    }
_ZN5immer6detail4rbts30make_singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaPT_j:
  766|  7.99k|{
  767|  7.99k|    assert(leaf);
  ------------------
  |  Branch (767:5): [True: 7.99k, False: 0]
  ------------------
  768|  7.99k|    IMMER_ASSERT_TAGGED(leaf->kind() == NodeT::kind_t::leaf);
  ------------------
  |  |   68|  7.99k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (768:5): [True: 7.99k, False: 0]
  ------------------
  769|  7.99k|    assert(count > 0);
  ------------------
  |  Branch (769:5): [True: 7.99k, False: 0]
  ------------------
  770|  7.99k|    return singleton_regular_sub_pos<NodeT>{leaf, count};
  771|  7.99k|}
_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|  7.99k|    {
  760|  7.99k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  761|  7.99k|    }
_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|  7.99k|{
 1839|  7.99k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 7.99k, False: 0]
  ------------------
 1840|  7.99k|    auto relaxed = node->relaxed();
 1841|  7.99k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 5.54k, False: 2.45k]
  ------------------
 1842|  5.54k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 5.54k, False: 0]
  ------------------
 1843|  5.54k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  5.54k|            .visit(v, std::forward<Args>(args)...);
 1845|  5.54k|    } else {
 1846|  2.45k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.45k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.45k|    }
 1849|  7.99k|}
_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.54k|    {
 1814|  5.54k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  5.54k|    }
_ZNK5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  735|  26.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|  7.99k|    {
  745|  7.99k|    }
_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.0M|    {
 1814|  21.0M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  21.0M|    }
_ZN5immer6detail4rbts12null_sub_pos14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  707|  2.38M|    {
  708|  2.38M|    }
_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|  7.99k|    {
  745|  7.99k|    }
_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.0M|    {
 1814|  21.0M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  21.0M|    }
_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.38M|    {
  708|  2.38M|    }
_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|  17.4k|    {
 1763|  17.4k|        auto child      = node_->inner()[0];
 1764|  17.4k|        auto child_size = relaxed_->d.sizes[0];
 1765|  17.4k|        auto is_leaf    = shift_ == BL;
 1766|  17.4k|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 17.4k, False: 0]
  ------------------
 1767|  17.4k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 17.4k]
  ------------------
 1768|  17.4k|                       : visit_maybe_relaxed_sub(
 1769|  17.4k|                             child, shift_ - B, child_size, v, args...);
 1770|  17.4k|    }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
   76|  7.99k|    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.98M|    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|  17.4k|{
 1839|  17.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 17.4k, False: 0]
  ------------------
 1840|  17.4k|    auto relaxed = node->relaxed();
 1841|  17.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 17.0k, False: 399]
  ------------------
 1842|  17.0k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 17.0k, False: 0]
  ------------------
 1843|  17.0k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  17.0k|            .visit(v, std::forward<Args>(args)...);
 1845|  17.0k|    } else {
 1846|    399|        return make_regular_sub_pos(node, shift, size)
 1847|    399|            .visit(v, std::forward<Args>(args)...);
 1848|    399|    }
 1849|  17.4k|}
_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.0k|    {
 1814|  17.0k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  17.0k|    }
_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|    399|    {
 1037|    399|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    399|    }
_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|    659|    {
  971|    659|        auto is_leaf = shift_ == BL;
  972|    659|        auto child   = node_->inner()[0];
  973|    659|        auto is_full = size_ >= (size_t{1} << shift_);
  974|    659|        return is_full
  ------------------
  |  Branch (974:16): [True: 659, False: 0]
  ------------------
  975|    659|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 659]
  ------------------
  976|    659|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|    659|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|    659|                   : (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|    659|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  201|   157k|    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.01k|    {
 1406|  1.01k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.01k|    }
_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|    351|    {
 1362|    351|        auto is_leaf = shift_ == BL;
 1363|    351|        auto child   = node_->inner()[0];
 1364|    351|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 351]
  ------------------
 1365|    351|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|    351|    }
_ZN5immer6detail4rbts12null_sub_pos13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  711|   122k|    {
  712|   122k|    }
_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|   138k|    {
 1305|   138k|        each_i(v, 1, branches<B>, args...);
 1306|   138k|    }
_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|   138k|    {
 1264|   138k|        auto p = node_->inner() + i;
 1265|   138k|        auto e = node_->inner() + n;
 1266|   138k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 68.3k, False: 70.0k]
  ------------------
 1267|   273k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 204k, False: 68.3k]
  ------------------
 1268|   204k|                IMMER_PREFETCH(p + 1);
 1269|   204k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|   204k|            }
 1271|  70.0k|        } else {
 1272|  70.0k|            auto ss = shift_ - B;
 1273|   280k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 210k, False: 70.0k]
  ------------------
 1274|   210k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  70.0k|        }
 1276|   138k|    }
_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.15M|    {
  208|  1.15M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.15M|    }
_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|   802k|    {
 1406|   802k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   802k|    }
_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|   122k|    {
  712|   122k|    }
_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|   138k|    {
 1305|   138k|        each_i(v, 1, branches<B>, args...);
 1306|   138k|    }
_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|   138k|    {
 1264|   138k|        auto p = node_->inner() + i;
 1265|   138k|        auto e = node_->inner() + n;
 1266|   138k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 68.3k, False: 70.0k]
  ------------------
 1267|   273k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 204k, False: 68.3k]
  ------------------
 1268|   204k|                IMMER_PREFETCH(p + 1);
 1269|   204k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|   204k|            }
 1271|  70.0k|        } else {
 1272|  70.0k|            auto ss = shift_ - B;
 1273|   280k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 210k, False: 70.0k]
  ------------------
 1274|   210k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  70.0k|        }
 1276|   138k|    }
_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.15M|    {
  208|  1.15M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.15M|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  200|  1.15M|    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|   802k|    {
 1406|   802k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   802k|    }
_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|    659|    {
  754|    659|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|    659|    }
_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|    659|    {
  145|    659|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    659|    }
_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|    659|    {
 1371|    659|        assert(shift_ == BL);
  ------------------
  |  Branch (1371:9): [True: 659, False: 0]
  ------------------
 1372|    659|        auto child = node_->inner()[0];
 1373|    659|        return make_full_leaf_pos(child).visit(v, args...);
 1374|    659|    }
_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.85k|    {
  208|  2.85k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  2.85k|    }
_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|   157k|    {
  907|   157k|        if (count() > 1)
  ------------------
  |  Branch (907:13): [True: 148k, False: 8.75k]
  ------------------
  908|   148k|            each_right_sub_(v, 1, args...);
  909|   157k|    }
_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|   148k|    {
  880|   148k|        auto last  = count() - 1;
  881|   148k|        auto lsize = size_ - (last << shift_);
  882|   148k|        auto n     = node()->inner() + i;
  883|   148k|        auto e     = node()->inner() + last;
  884|   148k|        if (shift() == BL) {
  ------------------
  |  Branch (884:13): [True: 80.5k, False: 68.3k]
  ------------------
  885|   239k|            for (; n != e; ++n) {
  ------------------
  |  Branch (885:20): [True: 158k, False: 80.5k]
  ------------------
  886|   158k|                IMMER_PREFETCH(n + 1);
  887|   158k|                make_full_leaf_pos(*n).visit(v, args...);
  888|   158k|            }
  889|  80.5k|            make_leaf_sub_pos(*n, lsize).visit(v, args...);
  890|  80.5k|        } else {
  891|  68.3k|            auto ss = shift_ - B;
  892|   182k|            for (; n != e; ++n)
  ------------------
  |  Branch (892:20): [True: 114k, False: 68.3k]
  ------------------
  893|   114k|                make_full_pos(*n, ss).visit(v, args...);
  894|  68.3k|            make_regular_sub_pos(*n, ss, lsize).visit(v, args...);
  895|  68.3k|        }
  896|   148k|    }
_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|   722k|    {
 1037|   722k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   722k|    }
_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|   157k|    {
  907|   157k|        if (count() > 1)
  ------------------
  |  Branch (907:13): [True: 148k, False: 8.75k]
  ------------------
  908|   148k|            each_right_sub_(v, 1, args...);
  909|   157k|    }
_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|   148k|    {
  880|   148k|        auto last  = count() - 1;
  881|   148k|        auto lsize = size_ - (last << shift_);
  882|   148k|        auto n     = node()->inner() + i;
  883|   148k|        auto e     = node()->inner() + last;
  884|   148k|        if (shift() == BL) {
  ------------------
  |  Branch (884:13): [True: 80.5k, False: 68.3k]
  ------------------
  885|   239k|            for (; n != e; ++n) {
  ------------------
  |  Branch (885:20): [True: 158k, False: 80.5k]
  ------------------
  886|   158k|                IMMER_PREFETCH(n + 1);
  887|   158k|                make_full_leaf_pos(*n).visit(v, args...);
  888|   158k|            }
  889|  80.5k|            make_leaf_sub_pos(*n, lsize).visit(v, args...);
  890|  80.5k|        } else {
  891|  68.3k|            auto ss = shift_ - B;
  892|   182k|            for (; n != e; ++n)
  ------------------
  |  Branch (892:20): [True: 114k, False: 68.3k]
  ------------------
  893|   114k|                make_full_pos(*n, ss).visit(v, args...);
  894|  68.3k|            make_regular_sub_pos(*n, ss, lsize).visit(v, args...);
  895|  68.3k|        }
  896|   148k|    }
_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|   722k|    {
 1037|   722k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   722k|    }
_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.19k|    {
  754|  2.19k|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|  2.19k|    }
_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.19k|    {
  145|  2.19k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.19k|    }
_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.19k|    {
  987|  2.19k|        assert(shift_ == BL);
  ------------------
  |  Branch (987:9): [True: 2.19k, False: 0]
  ------------------
  988|  2.19k|        auto child   = node_->inner()[0];
  989|  2.19k|        auto is_full = size_ >= branches<BL>;
  990|  2.19k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (990:16): [True: 2.19k, False: 0]
  ------------------
  991|  2.19k|                       : make_leaf_sub_pos(child, size_).visit(v, args...);
  992|  2.19k|    }
_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.14k|    {
  145|  5.14k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.14k|    }
_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.05M|    {
 1648|  3.05M|        each_right(v, 1, std::forward<Args>(args)...);
 1649|  3.05M|    }
_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.05M|    {
 1654|  3.05M|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 3.05M, False: 0]
  ------------------
 1655|  3.05M|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 3.05M, False: 0]
  ------------------
 1656|  3.05M|        auto s = relaxed_->d.sizes[start - 1];
 1657|  3.05M|        auto p = node_->inner();
 1658|  3.05M|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 378k, False: 2.67M]
  ------------------
 1659|   956k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 577k, False: 378k]
  ------------------
 1660|   577k|                IMMER_PREFETCH(p + i + 1);
 1661|   577k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|   577k|                    .visit(v, args...);
 1663|   577k|                s = relaxed_->d.sizes[i];
 1664|   577k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 577k, False: 0]
  ------------------
 1665|   577k|            }
 1666|  2.67M|        } else {
 1667|  2.67M|            auto ss = shift_ - B;
 1668|  9.28M|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 6.61M, False: 2.67M]
  ------------------
 1669|  6.61M|                visit_maybe_relaxed_sub(
 1670|  6.61M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  6.61M|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 6.61M, False: 0]
  ------------------
 1673|  6.61M|            }
 1674|  2.67M|        }
 1675|  3.05M|    }
_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.7M|{
 1839|  13.7M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 13.7M, False: 0]
  ------------------
 1840|  13.7M|    auto relaxed = node->relaxed();
 1841|  13.7M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 13.0M, False: 653k]
  ------------------
 1842|  13.0M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 13.0M, False: 0]
  ------------------
 1843|  13.0M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  13.0M|            .visit(v, std::forward<Args>(args)...);
 1845|  13.0M|    } else {
 1846|   653k|        return make_regular_sub_pos(node, shift, size)
 1847|   653k|            .visit(v, std::forward<Args>(args)...);
 1848|   653k|    }
 1849|  13.7M|}
_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.05M|    {
 1648|  3.05M|        each_right(v, 1, std::forward<Args>(args)...);
 1649|  3.05M|    }
_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.05M|    {
 1654|  3.05M|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 3.05M, False: 0]
  ------------------
 1655|  3.05M|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 3.05M, False: 0]
  ------------------
 1656|  3.05M|        auto s = relaxed_->d.sizes[start - 1];
 1657|  3.05M|        auto p = node_->inner();
 1658|  3.05M|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 378k, False: 2.67M]
  ------------------
 1659|   956k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 577k, False: 378k]
  ------------------
 1660|   577k|                IMMER_PREFETCH(p + i + 1);
 1661|   577k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|   577k|                    .visit(v, args...);
 1663|   577k|                s = relaxed_->d.sizes[i];
 1664|   577k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 577k, False: 0]
  ------------------
 1665|   577k|            }
 1666|  2.67M|        } else {
 1667|  2.67M|            auto ss = shift_ - B;
 1668|  9.28M|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 6.61M, False: 2.67M]
  ------------------
 1669|  6.61M|                visit_maybe_relaxed_sub(
 1670|  6.61M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  6.61M|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 6.61M, False: 0]
  ------------------
 1673|  6.61M|            }
 1674|  2.67M|        }
 1675|  3.05M|    }
_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.7M|{
 1839|  13.7M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 13.7M, False: 0]
  ------------------
 1840|  13.7M|    auto relaxed = node->relaxed();
 1841|  13.7M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 13.0M, False: 653k]
  ------------------
 1842|  13.0M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 13.0M, False: 0]
  ------------------
 1843|  13.0M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  13.0M|            .visit(v, std::forward<Args>(args)...);
 1845|  13.0M|    } else {
 1846|   653k|        return make_regular_sub_pos(node, shift, size)
 1847|   653k|            .visit(v, std::forward<Args>(args)...);
 1848|   653k|    }
 1849|  13.7M|}
_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.14k|    {
  754|  5.14k|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|  5.14k|    }
_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.14k|    {
  145|  5.14k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.14k|    }
_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.14k|    {
 1775|  5.14k|        assert(shift_ == BL);
  ------------------
  |  Branch (1775:9): [True: 5.14k, False: 0]
  ------------------
 1776|  5.14k|        auto child      = node_->inner()[0];
 1777|  5.14k|        auto child_size = relaxed_->d.sizes[0];
 1778|  5.14k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1779|  5.14k|    }
_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.45k|    {
 1037|  2.45k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.45k|    }
_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|   528k|{
 1839|   528k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 528k, False: 0]
  ------------------
 1840|   528k|    auto relaxed = node->relaxed();
 1841|   528k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 513k, False: 14.5k]
  ------------------
 1842|   513k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 513k, False: 0]
  ------------------
 1843|   513k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   513k|            .visit(v, std::forward<Args>(args)...);
 1845|   513k|    } else {
 1846|  14.5k|        return make_regular_sub_pos(node, shift, size)
 1847|  14.5k|            .visit(v, std::forward<Args>(args)...);
 1848|  14.5k|    }
 1849|   528k|}
_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|   513k|    {
 1814|   513k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   513k|    }
_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|   513k|{
 1839|   513k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 513k, False: 0]
  ------------------
 1840|   513k|    auto relaxed = node->relaxed();
 1841|   513k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 500k, False: 13.4k]
  ------------------
 1842|   500k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 500k, False: 0]
  ------------------
 1843|   500k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   500k|            .visit(v, std::forward<Args>(args)...);
 1845|   500k|    } else {
 1846|  13.4k|        return make_regular_sub_pos(node, shift, size)
 1847|  13.4k|            .visit(v, std::forward<Args>(args)...);
 1848|  13.4k|    }
 1849|   513k|}
_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|   500k|    {
 1814|   500k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   500k|    }
_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: 1.94k]
  ------------------
 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|  1.94k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.94k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.94k|    }
 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|  4.89k|    {
 1037|  4.89k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.89k|    }
_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|  2.95k|    {
  959|  2.95k|        auto offset  = count() - 1;
  960|  2.95k|        auto child   = node_->inner()[offset];
  961|  2.95k|        auto is_leaf = shift_ == BL;
  962|  2.95k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|  2.95k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 0, False: 2.95k]
  ------------------
  964|  2.95k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  2.95k|                             .visit(v, args...);
  966|  2.95k|    }
_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|   963k|    {
  914|   963k|        each_left(v, count() - 1, args...);
  915|   963k|    }
_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|   963k|    {
  874|   963k|        return each_left_regular(*this, v, last, args...);
  875|   963k|    }
_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|   963k|{
  576|   963k|    constexpr auto B  = bits<Pos>;
  577|   963k|    constexpr auto BL = bits_leaf<Pos>;
  578|   963k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 963k, False: 0]
  ------------------
  579|   963k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 443k, False: 520k]
  ------------------
  580|   443k|        auto n = p.node()->inner();
  581|   443k|        auto e = n + last;
  582|  1.23M|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 795k, False: 443k]
  ------------------
  583|   795k|            IMMER_PREFETCH(n + 1);
  584|   795k|            make_full_leaf_pos(*n).visit(v, args...);
  585|   795k|        }
  586|   520k|    } else {
  587|   520k|        auto n  = p.node()->inner();
  588|   520k|        auto e  = n + last;
  589|   520k|        auto ss = p.shift() - B;
  590|   998k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 478k, False: 520k]
  ------------------
  591|   478k|            make_full_pos(*n, ss).visit(v, args...);
  592|   520k|    }
  593|   963k|}
_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|   963k|    {
  914|   963k|        each_left(v, count() - 1, args...);
  915|   963k|    }
_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|   963k|    {
  874|   963k|        return each_left_regular(*this, v, last, args...);
  875|   963k|    }
_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|   963k|{
  576|   963k|    constexpr auto B  = bits<Pos>;
  577|   963k|    constexpr auto BL = bits_leaf<Pos>;
  578|   963k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 963k, False: 0]
  ------------------
  579|   963k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 443k, False: 520k]
  ------------------
  580|   443k|        auto n = p.node()->inner();
  581|   443k|        auto e = n + last;
  582|  1.23M|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 795k, False: 443k]
  ------------------
  583|   795k|            IMMER_PREFETCH(n + 1);
  584|   795k|            make_full_leaf_pos(*n).visit(v, args...);
  585|   795k|        }
  586|   520k|    } else {
  587|   520k|        auto n  = p.node()->inner();
  588|   520k|        auto e  = n + last;
  589|   520k|        auto ss = p.shift() - B;
  590|   998k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 478k, False: 520k]
  ------------------
  591|   478k|            make_full_pos(*n, ss).visit(v, args...);
  592|   520k|    }
  593|   963k|}
_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|   818k|    {
 1763|   818k|        auto child      = node_->inner()[0];
 1764|   818k|        auto child_size = relaxed_->d.sizes[0];
 1765|   818k|        auto is_leaf    = shift_ == BL;
 1766|   818k|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 818k, False: 0]
  ------------------
 1767|   818k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 818k]
  ------------------
 1768|   818k|                       : visit_maybe_relaxed_sub(
 1769|   818k|                             child, shift_ - B, child_size, v, args...);
 1770|   818k|    }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  106|   528k|    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|   818k|{
 1839|   818k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 818k, False: 0]
  ------------------
 1840|   818k|    auto relaxed = node->relaxed();
 1841|   818k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 685k, False: 133k]
  ------------------
 1842|   685k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 685k, False: 0]
  ------------------
 1843|   685k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   685k|            .visit(v, std::forward<Args>(args)...);
 1845|   685k|    } else {
 1846|   133k|        return make_regular_sub_pos(node, shift, size)
 1847|   133k|            .visit(v, std::forward<Args>(args)...);
 1848|   133k|    }
 1849|   818k|}
_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|   685k|    {
 1814|   685k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   685k|    }
_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|   133k|    {
 1037|   133k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   133k|    }
_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|    758|    {
  959|    758|        auto offset  = count() - 1;
  960|    758|        auto child   = node_->inner()[offset];
  961|    758|        auto is_leaf = shift_ == BL;
  962|    758|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|    758|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 0, False: 758]
  ------------------
  964|    758|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|    758|                             .visit(v, args...);
  966|    758|    }
_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.16k|    {
 1037|  1.16k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.16k|    }
_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|  66.4k|    {
  971|  66.4k|        auto is_leaf = shift_ == BL;
  972|  66.4k|        auto child   = node_->inner()[0];
  973|  66.4k|        auto is_full = size_ >= (size_t{1} << shift_);
  974|  66.4k|        return is_full
  ------------------
  |  Branch (974:16): [True: 66.4k, False: 0]
  ------------------
  975|  66.4k|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 66.4k]
  ------------------
  976|  66.4k|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|  66.4k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|  66.4k|                   : (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|  66.4k|    }
_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|   135k|    {
 1406|   135k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   135k|    }
_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|  69.1k|    {
 1362|  69.1k|        auto is_leaf = shift_ == BL;
 1363|  69.1k|        auto child   = node_->inner()[0];
 1364|  69.1k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 69.1k]
  ------------------
 1365|  69.1k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|  69.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_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  958|   135k|    {
  959|   135k|        auto offset  = count() - 1;
  960|   135k|        auto child   = node_->inner()[offset];
  961|   135k|        auto is_leaf = shift_ == BL;
  962|   135k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   135k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 66.6k, False: 68.6k]
  ------------------
  964|   135k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  68.6k|                             .visit(v, args...);
  966|   135k|    }
_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|  67.6k|    {
  145|  67.6k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  67.6k|    }
_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|  67.6k|    {
 1371|  67.6k|        assert(shift_ == BL);
  ------------------
  |  Branch (1371:9): [True: 67.6k, False: 0]
  ------------------
 1372|  67.6k|        auto child = node_->inner()[0];
 1373|  67.6k|        return make_full_leaf_pos(child).visit(v, args...);
 1374|  67.6k|    }
_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|   154k|    {
  208|   154k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   154k|    }
_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|  68.8k|    {
 1037|  68.8k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  68.8k|    }
_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: 83.7k, False: 56.7k]
  ------------------
  964|   140k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  56.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|  87.1k|    {
  145|  87.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  87.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|  87.1k|    {
  987|  87.1k|        assert(shift_ == BL);
  ------------------
  |  Branch (987:9): [True: 87.1k, False: 0]
  ------------------
  988|  87.1k|        auto child   = node_->inner()[0];
  989|  87.1k|        auto is_full = size_ >= branches<BL>;
  990|  87.1k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (990:16): [True: 87.1k, False: 0]
  ------------------
  991|  87.1k|                       : make_leaf_sub_pos(child, size_).visit(v, args...);
  992|  87.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|   373k|    {
  145|   373k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   373k|    }
_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|  65.9k|    {
 1037|  65.9k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  65.9k|    }
_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|   683k|    {
  959|   683k|        auto offset  = count() - 1;
  960|   683k|        auto child   = node_->inner()[offset];
  961|   683k|        auto is_leaf = shift_ == BL;
  962|   683k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   683k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 292k, False: 391k]
  ------------------
  964|   683k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|   391k|                             .visit(v, args...);
  966|   683k|    }
_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|   373k|    {
  145|   373k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   373k|    }
_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|   373k|    {
 1775|   373k|        assert(shift_ == BL);
  ------------------
  |  Branch (1775:9): [True: 373k, False: 0]
  ------------------
 1776|   373k|        auto child      = node_->inner()[0];
 1777|   373k|        auto child_size = relaxed_->d.sizes[0];
 1778|   373k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1779|   373k|    }
_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|   808k|    {
 1037|   808k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   808k|    }
_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.64M|    {
 1618|  4.64M|        each_left(v, relaxed_->d.count - 1, args...);
 1619|  4.64M|    }
_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.64M|    {
 1624|  4.64M|        auto p = node_->inner();
 1625|  4.64M|        auto s = size_t{};
 1626|  4.64M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 84.8k, False: 4.55M]
  ------------------
 1627|   256k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 171k, False: 84.8k]
  ------------------
 1628|   171k|                IMMER_PREFETCH(p + i + 1);
 1629|   171k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|   171k|                    .visit(v, args...);
 1631|   171k|                s = relaxed_->d.sizes[i];
 1632|   171k|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 171k, False: 0]
  ------------------
 1633|   171k|            }
 1634|  4.55M|        } else {
 1635|  4.55M|            auto ss = shift_ - B;
 1636|  11.6M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 7.11M, False: 4.55M]
  ------------------
 1637|  7.11M|                visit_maybe_relaxed_sub(
 1638|  7.11M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  7.11M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 7.11M, False: 0]
  ------------------
 1641|  7.11M|            }
 1642|  4.55M|        }
 1643|  4.64M|    }
_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.64M|    {
 1618|  4.64M|        each_left(v, relaxed_->d.count - 1, args...);
 1619|  4.64M|    }
_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.64M|    {
 1624|  4.64M|        auto p = node_->inner();
 1625|  4.64M|        auto s = size_t{};
 1626|  4.64M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 84.8k, False: 4.55M]
  ------------------
 1627|   256k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 171k, False: 84.8k]
  ------------------
 1628|   171k|                IMMER_PREFETCH(p + i + 1);
 1629|   171k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|   171k|                    .visit(v, args...);
 1631|   171k|                s = relaxed_->d.sizes[i];
 1632|   171k|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 171k, False: 0]
  ------------------
 1633|   171k|            }
 1634|  4.55M|        } else {
 1635|  4.55M|            auto ss = shift_ - B;
 1636|  11.6M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 7.11M, False: 4.55M]
  ------------------
 1637|  7.11M|                visit_maybe_relaxed_sub(
 1638|  7.11M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  7.11M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 7.11M, False: 0]
  ------------------
 1641|  7.11M|            }
 1642|  4.55M|        }
 1643|  4.64M|    }
_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.83M|    {
 1763|  1.83M|        auto child      = node_->inner()[0];
 1764|  1.83M|        auto child_size = relaxed_->d.sizes[0];
 1765|  1.83M|        auto is_leaf    = shift_ == BL;
 1766|  1.83M|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 1.83M, False: 0]
  ------------------
 1767|  1.83M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 1.83M]
  ------------------
 1768|  1.83M|                       : visit_maybe_relaxed_sub(
 1769|  1.83M|                             child, shift_ - B, child_size, v, args...);
 1770|  1.83M|    }
_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.83M|{
 1839|  1.83M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.83M, False: 0]
  ------------------
 1840|  1.83M|    auto relaxed = node->relaxed();
 1841|  1.83M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.83M, False: 704]
  ------------------
 1842|  1.83M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.83M, False: 0]
  ------------------
 1843|  1.83M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.83M|            .visit(v, std::forward<Args>(args)...);
 1845|  1.83M|    } else {
 1846|    704|        return make_regular_sub_pos(node, shift, size)
 1847|    704|            .visit(v, std::forward<Args>(args)...);
 1848|    704|    }
 1849|  1.83M|}
_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.83M|    {
 1814|  1.83M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.83M|    }
_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|    704|    {
 1037|    704|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    704|    }
_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|  46.5k|    {
 1751|  46.5k|        auto offset     = relaxed_->d.count - 1;
 1752|  46.5k|        auto child      = node_->inner()[offset];
 1753|  46.5k|        auto child_size = size(offset);
 1754|  46.5k|        auto is_leaf    = shift_ == BL;
 1755|  46.5k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 0, False: 46.5k]
  ------------------
 1756|  46.5k|                       : visit_maybe_relaxed_sub(
 1757|  46.5k|                             child, shift_ - B, child_size, v, args...);
 1758|  46.5k|    }
_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|  46.5k|{
 1839|  46.5k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 46.5k, False: 0]
  ------------------
 1840|  46.5k|    auto relaxed = node->relaxed();
 1841|  46.5k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 46.1k, False: 403]
  ------------------
 1842|  46.1k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 46.1k, False: 0]
  ------------------
 1843|  46.1k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  46.1k|            .visit(v, std::forward<Args>(args)...);
 1845|  46.1k|    } else {
 1846|    403|        return make_regular_sub_pos(node, shift, size)
 1847|    403|            .visit(v, std::forward<Args>(args)...);
 1848|    403|    }
 1849|  46.5k|}
_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|  46.1k|    {
 1814|  46.1k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  46.1k|    }
_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|  1.20k|    {
  971|  1.20k|        auto is_leaf = shift_ == BL;
  972|  1.20k|        auto child   = node_->inner()[0];
  973|  1.20k|        auto is_full = size_ >= (size_t{1} << shift_);
  974|  1.20k|        return is_full
  ------------------
  |  Branch (974:16): [True: 1.20k, False: 0]
  ------------------
  975|  1.20k|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 1.20k]
  ------------------
  976|  1.20k|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|  1.20k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|  1.20k|                   : (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|  1.20k|    }
_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|  1.83k|    {
 1406|  1.83k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.83k|    }
_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|    628|    {
 1362|    628|        auto is_leaf = shift_ == BL;
 1363|    628|        auto child   = node_->inner()[0];
 1364|    628|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 628]
  ------------------
 1365|    628|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|    628|    }
_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|  1.57k|    {
 1751|  1.57k|        auto offset     = relaxed_->d.count - 1;
 1752|  1.57k|        auto child      = node_->inner()[offset];
 1753|  1.57k|        auto child_size = size(offset);
 1754|  1.57k|        auto is_leaf    = shift_ == BL;
 1755|  1.57k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 997, False: 573]
  ------------------
 1756|  1.57k|                       : visit_maybe_relaxed_sub(
 1757|    573|                             child, shift_ - B, child_size, v, args...);
 1758|  1.57k|    }
_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|    573|{
 1839|    573|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 573, False: 0]
  ------------------
 1840|    573|    auto relaxed = node->relaxed();
 1841|    573|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 364, False: 209]
  ------------------
 1842|    364|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 364, False: 0]
  ------------------
 1843|    364|        return make_relaxed_pos(node, shift, relaxed)
 1844|    364|            .visit(v, std::forward<Args>(args)...);
 1845|    364|    } else {
 1846|    209|        return make_regular_sub_pos(node, shift, size)
 1847|    209|            .visit(v, std::forward<Args>(args)...);
 1848|    209|    }
 1849|    573|}
_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|    364|    {
 1814|    364|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    364|    }
_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|  12.9k|    {
 1751|  12.9k|        auto offset     = relaxed_->d.count - 1;
 1752|  12.9k|        auto child      = node_->inner()[offset];
 1753|  12.9k|        auto child_size = size(offset);
 1754|  12.9k|        auto is_leaf    = shift_ == BL;
 1755|  12.9k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 3.36k, False: 9.60k]
  ------------------
 1756|  12.9k|                       : visit_maybe_relaxed_sub(
 1757|  9.60k|                             child, shift_ - B, child_size, v, args...);
 1758|  12.9k|    }
_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|  9.60k|{
 1839|  9.60k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 9.60k, False: 0]
  ------------------
 1840|  9.60k|    auto relaxed = node->relaxed();
 1841|  9.60k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 400, False: 9.20k]
  ------------------
 1842|    400|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 400, False: 0]
  ------------------
 1843|    400|        return make_relaxed_pos(node, shift, relaxed)
 1844|    400|            .visit(v, std::forward<Args>(args)...);
 1845|  9.20k|    } else {
 1846|  9.20k|        return make_regular_sub_pos(node, shift, size)
 1847|  9.20k|            .visit(v, std::forward<Args>(args)...);
 1848|  9.20k|    }
 1849|  9.60k|}
_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|    400|    {
 1814|    400|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    400|    }
_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.24M|    {
 1751|  2.24M|        auto offset     = relaxed_->d.count - 1;
 1752|  2.24M|        auto child      = node_->inner()[offset];
 1753|  2.24M|        auto child_size = size(offset);
 1754|  2.24M|        auto is_leaf    = shift_ == BL;
 1755|  2.24M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 80.4k, False: 2.16M]
  ------------------
 1756|  2.24M|                       : visit_maybe_relaxed_sub(
 1757|  2.16M|                             child, shift_ - B, child_size, v, args...);
 1758|  2.24M|    }
_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: 417k]
  ------------------
 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|   417k|        return make_regular_sub_pos(node, shift, size)
 1847|   417k|            .visit(v, std::forward<Args>(args)...);
 1848|   417k|    }
 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|  13.4k|    {
 1037|  13.4k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  13.4k|    }
_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.5k|    {
 1037|  14.5k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  14.5k|    }
_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.5k|{
 1839|  14.5k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 14.5k, False: 0]
  ------------------
 1840|  14.5k|    auto relaxed = node->relaxed();
 1841|  14.5k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 7.00k, False: 7.49k]
  ------------------
 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.49k|    } else {
 1846|  7.49k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.49k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.49k|    }
 1849|  14.5k|}
_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|  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_26concat_trees_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  7.49k|    {
 1037|  7.49k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.49k|    }
_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|  71.5k|    {
 1814|  71.5k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  71.5k|    }
_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|  66.0k|    {
 1738|  66.0k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 66.0k, False: 0]
  ------------------
 1739|  66.0k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 66.0k, False: 0]
  ------------------
 1740|  66.0k|        auto child   = node_->inner()[offset_hint];
 1741|  66.0k|        auto is_leaf = shift_ == BL;
 1742|  66.0k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 66.0k]
  ------------------
 1743|  66.0k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|  66.0k|                   : visit_maybe_relaxed_sub(
 1745|  66.0k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|  66.0k|    }
_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|  66.0k|{
 1839|  66.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 66.0k, False: 0]
  ------------------
 1840|  66.0k|    auto relaxed = node->relaxed();
 1841|  66.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 9.53k, False: 56.5k]
  ------------------
 1842|  9.53k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 9.53k, False: 0]
  ------------------
 1843|  9.53k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  9.53k|            .visit(v, std::forward<Args>(args)...);
 1845|  56.5k|    } else {
 1846|  56.5k|        return make_regular_sub_pos(node, shift, size)
 1847|  56.5k|            .visit(v, std::forward<Args>(args)...);
 1848|  56.5k|    }
 1849|  66.0k|}
_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|  56.5k|    {
 1037|  56.5k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  56.5k|    }
_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|   212k|    {
  953|   212k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|   212k|    }
_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|   212k|{
  678|   212k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 212k, False: 0]
  ------------------
  679|   212k|    constexpr auto B  = bits<Pos>;
  680|   212k|    constexpr auto BL = bits_leaf<Pos>;
  681|   212k|    auto child        = p.node()->inner()[offset_hint];
  682|   212k|    auto is_leaf      = p.shift() == BL;
  683|   212k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 212k]
  ------------------
  684|   212k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   212k|                         .visit(v, args...);
  686|   212k|}
_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|  1.00M|    {
  337|  1.00M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  1.00M|    }
_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|   793k|    {
  331|   793k|        return last_oh_regular(*this, v, offset_hint, args...);
  332|   793k|    }
_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|   793k|{
  678|   793k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 793k, False: 0]
  ------------------
  679|   793k|    constexpr auto B  = bits<Pos>;
  680|   793k|    constexpr auto BL = bits_leaf<Pos>;
  681|   793k|    auto child        = p.node()->inner()[offset_hint];
  682|   793k|    auto is_leaf      = p.shift() == BL;
  683|   793k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 793k]
  ------------------
  684|   793k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   793k|                         .visit(v, args...);
  686|   793k|}
_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.66k|    {
  331|  1.66k|        return last_oh_regular(*this, v, offset_hint, args...);
  332|  1.66k|    }
_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.66k|{
  678|  1.66k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.66k, False: 0]
  ------------------
  679|  1.66k|    constexpr auto B  = bits<Pos>;
  680|  1.66k|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.66k|    auto child        = p.node()->inner()[offset_hint];
  682|  1.66k|    auto is_leaf      = p.shift() == BL;
  683|  1.66k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.66k]
  ------------------
  684|  1.66k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.66k|                         .visit(v, args...);
  686|  1.66k|}
_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.14k|    {
  337|  3.14k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.14k|    }
_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.48k|    {
  953|  1.48k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|  1.48k|    }
_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.48k|{
  678|  1.48k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.48k, False: 0]
  ------------------
  679|  1.48k|    constexpr auto B  = bits<Pos>;
  680|  1.48k|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.48k|    auto child        = p.node()->inner()[offset_hint];
  682|  1.48k|    auto is_leaf      = p.shift() == BL;
  683|  1.48k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.48k]
  ------------------
  684|  1.48k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.48k|                         .visit(v, args...);
  686|  1.48k|}
_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|  9.07k|    {
 1738|  9.07k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 9.07k, False: 0]
  ------------------
 1739|  9.07k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 9.07k, False: 0]
  ------------------
 1740|  9.07k|        auto child   = node_->inner()[offset_hint];
 1741|  9.07k|        auto is_leaf = shift_ == BL;
 1742|  9.07k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 9.07k]
  ------------------
 1743|  9.07k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|  9.07k|                   : visit_maybe_relaxed_sub(
 1745|  9.07k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|  9.07k|    }
_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|  9.07k|{
 1839|  9.07k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 9.07k, False: 0]
  ------------------
 1840|  9.07k|    auto relaxed = node->relaxed();
 1841|  9.07k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 7.97k, False: 1.09k]
  ------------------
 1842|  7.97k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 7.97k, False: 0]
  ------------------
 1843|  7.97k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  7.97k|            .visit(v, std::forward<Args>(args)...);
 1845|  7.97k|    } else {
 1846|  1.09k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.09k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.09k|    }
 1849|  9.07k|}
_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.97k|    {
 1814|  7.97k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  7.97k|    }
_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.09k|    {
 1037|  1.09k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.09k|    }
_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|   161k|    {
 1037|   161k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   161k|    }
_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|  22.6k|{
 1839|  22.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 22.6k, False: 0]
  ------------------
 1840|  22.6k|    auto relaxed = node->relaxed();
 1841|  22.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 18.4k, False: 4.13k]
  ------------------
 1842|  18.4k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 18.4k, False: 0]
  ------------------
 1843|  18.4k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  18.4k|            .visit(v, std::forward<Args>(args)...);
 1845|  18.4k|    } else {
 1846|  4.13k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.13k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.13k|    }
 1849|  22.6k|}
_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|  18.4k|    {
 1814|  18.4k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  18.4k|    }
_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|  49.4k|    {
 1687|  49.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 49.4k, False: 0]
  ------------------
 1688|  49.4k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 17.1k, False: 32.2k]
  ------------------
 1689|  49.4k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  49.4k|    }
_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|  49.4k|    {
 1699|  49.4k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  49.4k|    }
_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|  49.4k|    {
 1718|  49.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 49.4k, False: 0]
  ------------------
 1719|  49.4k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 17.1k, False: 32.2k]
  |  Branch (1719:9): [True: 49.4k, False: 0]
  ------------------
 1720|  49.4k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  49.4k|        auto child     = node_->inner()[offset_hint];
 1722|  49.4k|        auto is_leaf   = shift_ == BL;
 1723|  49.4k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  49.4k|        auto next_idx  = idx - left_size_hint;
 1725|  49.4k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 15.3k, False: 34.0k]
  ------------------
 1726|  49.4k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  15.3k|                         .visit(v, next_idx, args...)
 1728|  49.4k|                   : visit_maybe_relaxed_sub(
 1729|  34.0k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  49.4k|    }
_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|  15.3k|    {
  145|  15.3k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  15.3k|    }
_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|  34.0k|{
 1839|  34.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 34.0k, False: 0]
  ------------------
 1840|  34.0k|    auto relaxed = node->relaxed();
 1841|  34.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 30.9k, False: 3.13k]
  ------------------
 1842|  30.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 30.9k, False: 0]
  ------------------
 1843|  30.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  30.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  30.9k|    } else {
 1846|  3.13k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.13k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.13k|    }
 1849|  34.0k|}
_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|  30.9k|    {
 1814|  30.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  30.9k|    }
_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.13k|    {
 1037|  3.13k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.13k|    }
_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.26k|    {
  939|  7.26k|        return towards_oh_ch_regular(
  940|  7.26k|            *this, v, idx, offset_hint, count(), args...);
  941|  7.26k|    }
_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.26k|{
  633|  7.26k|    constexpr auto B  = bits<Pos>;
  634|  7.26k|    constexpr auto BL = bits_leaf<Pos>;
  635|  7.26k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 7.26k, False: 0]
  ------------------
  636|  7.26k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 7.26k, False: 0]
  ------------------
  637|  7.26k|    auto is_leaf = p.shift() == BL;
  638|  7.26k|    auto child   = p.node()->inner()[offset_hint];
  639|  7.26k|    auto is_full = offset_hint + 1 != count_hint;
  640|  7.26k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.91k, False: 2.34k]
  ------------------
  641|  7.26k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.33k, False: 3.57k]
  ------------------
  642|  4.91k|                          : make_full_pos(child, p.shift() - B)
  643|  3.57k|                                .visit(v, idx, args...))
  644|  7.26k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 429, False: 1.91k]
  ------------------
  645|  2.34k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.34k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.91k|                            .visit(v, idx, args...));
  648|  7.26k|}
_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.02k|    {
  208|  6.02k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  6.02k|    }
_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|  4.88k|    {
 1406|  4.88k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  4.88k|    }
_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|  4.88k|    {
 1330|  4.88k|        return towards_oh(v, idx, offset_hint, args...);
 1331|  4.88k|    }
_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|  4.88k|    {
 1337|  4.88k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 4.88k, False: 0]
  ------------------
 1338|  4.88k|        auto is_leaf = shift_ == BL;
 1339|  4.88k|        auto child   = node_->inner()[offset_hint];
 1340|  4.88k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 3.85k, False: 1.02k]
  ------------------
 1341|  4.88k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  4.88k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  4.88k|    }
_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.23k|    {
  113|  1.23k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  1.23k|    }
_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|  2.49k|    {
  337|  2.49k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.49k|    }
_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|  2.49k|    {
  317|  2.49k|        return towards_oh_ch_regular(
  318|  2.49k|            *this, v, idx, offset_hint, count(), args...);
  319|  2.49k|    }
_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|  2.49k|{
  633|  2.49k|    constexpr auto B  = bits<Pos>;
  634|  2.49k|    constexpr auto BL = bits_leaf<Pos>;
  635|  2.49k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 2.49k, False: 0]
  ------------------
  636|  2.49k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 2.49k, False: 0]
  ------------------
  637|  2.49k|    auto is_leaf = p.shift() == BL;
  638|  2.49k|    auto child   = p.node()->inner()[offset_hint];
  639|  2.49k|    auto is_full = offset_hint + 1 != count_hint;
  640|  2.49k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.11k, False: 1.37k]
  ------------------
  641|  2.49k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 832, False: 280]
  ------------------
  642|  1.11k|                          : make_full_pos(child, p.shift() - B)
  643|    280|                                .visit(v, idx, args...))
  644|  2.49k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 807, False: 571]
  ------------------
  645|  1.37k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.37k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    571|                            .visit(v, idx, args...));
  648|  2.49k|}
_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.13k|    {
 1037|  4.13k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.13k|    }
_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|  65.3k|{
 1839|  65.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 65.3k, False: 0]
  ------------------
 1840|  65.3k|    auto relaxed = node->relaxed();
 1841|  65.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 52.7k, False: 12.6k]
  ------------------
 1842|  52.7k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 52.7k, False: 0]
  ------------------
 1843|  52.7k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  52.7k|            .visit(v, std::forward<Args>(args)...);
 1845|  52.7k|    } 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|  65.3k|}
_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|  52.7k|    {
 1814|  52.7k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  52.7k|    }
_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|  31.4k|    {
 1687|  31.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 31.4k, False: 0]
  ------------------
 1688|  31.4k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 31.4k]
  ------------------
 1689|  31.4k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  31.4k|    }
_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|  31.4k|    {
 1699|  31.4k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  31.4k|    }
_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|  31.4k|    {
 1718|  31.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 31.4k, False: 0]
  ------------------
 1719|  31.4k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 31.4k]
  |  Branch (1719:9): [True: 31.4k, False: 0]
  ------------------
 1720|  31.4k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  31.4k|        auto child     = node_->inner()[offset_hint];
 1722|  31.4k|        auto is_leaf   = shift_ == BL;
 1723|  31.4k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  31.4k|        auto next_idx  = idx - left_size_hint;
 1725|  31.4k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 1.00k, False: 30.4k]
  ------------------
 1726|  31.4k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  1.00k|                         .visit(v, next_idx, args...)
 1728|  31.4k|                   : visit_maybe_relaxed_sub(
 1729|  30.4k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  31.4k|    }
_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.00k|    {
  145|  1.00k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.00k|    }
_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|  15.9k|    {
 1687|  15.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 15.9k, False: 0]
  ------------------
 1688|  15.9k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 15.9k]
  ------------------
 1689|  15.9k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  15.9k|    }
_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|  15.9k|    {
 1699|  15.9k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  15.9k|    }
_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|  15.9k|    {
 1718|  15.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 15.9k, False: 0]
  ------------------
 1719|  15.9k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 15.9k]
  |  Branch (1719:9): [True: 15.9k, False: 0]
  ------------------
 1720|  15.9k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  15.9k|        auto child     = node_->inner()[offset_hint];
 1722|  15.9k|        auto is_leaf   = shift_ == BL;
 1723|  15.9k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  15.9k|        auto next_idx  = idx - left_size_hint;
 1725|  15.9k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 568, False: 15.3k]
  ------------------
 1726|  15.9k|                   ? make_leaf_sub_pos(child, next_size)
 1727|    568|                         .visit(v, next_idx, args...)
 1728|  15.9k|                   : visit_maybe_relaxed_sub(
 1729|  15.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  15.9k|    }
_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|    568|    {
  145|    568|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    568|    }
_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|  15.3k|{
 1839|  15.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 15.3k, False: 0]
  ------------------
 1840|  15.3k|    auto relaxed = node->relaxed();
 1841|  15.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 13.7k, False: 1.56k]
  ------------------
 1842|  13.7k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 13.7k, False: 0]
  ------------------
 1843|  13.7k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  13.7k|            .visit(v, std::forward<Args>(args)...);
 1845|  13.7k|    } else {
 1846|  1.56k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.56k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.56k|    }
 1849|  15.3k|}
_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|  13.7k|    {
 1814|  13.7k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  13.7k|    }
_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.56k|    {
 1037|  1.56k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.56k|    }
_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.39k|    {
  928|  2.39k|        return towards_oh_ch_regular(
  929|  2.39k|            *this, v, idx, offset_hint, count(), args...);
  930|  2.39k|    }
_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.39k|{
  633|  2.39k|    constexpr auto B  = bits<Pos>;
  634|  2.39k|    constexpr auto BL = bits_leaf<Pos>;
  635|  2.39k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 2.39k, False: 0]
  ------------------
  636|  2.39k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 2.39k, False: 0]
  ------------------
  637|  2.39k|    auto is_leaf = p.shift() == BL;
  638|  2.39k|    auto child   = p.node()->inner()[offset_hint];
  639|  2.39k|    auto is_full = offset_hint + 1 != count_hint;
  640|  2.39k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.98k, False: 408]
  ------------------
  641|  2.39k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 709, False: 1.27k]
  ------------------
  642|  1.98k|                          : make_full_pos(child, p.shift() - B)
  643|  1.27k|                                .visit(v, idx, args...))
  644|  2.39k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 408, False: 0]
  ------------------
  645|    408|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    408|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  2.39k|}
_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.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_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  1.75k|    {
 1406|  1.75k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.75k|    }
_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.22k|    {
 1337|  1.22k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.22k, False: 0]
  ------------------
 1338|  1.22k|        auto is_leaf = shift_ == BL;
 1339|  1.22k|        auto child   = node_->inner()[offset_hint];
 1340|  1.22k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 745, False: 478]
  ------------------
 1341|  1.22k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.22k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.22k|    }
_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|  2.93k|    {
 1337|  2.93k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 2.93k, False: 0]
  ------------------
 1338|  2.93k|        auto is_leaf = shift_ == BL;
 1339|  2.93k|        auto child   = node_->inner()[offset_hint];
 1340|  2.93k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 1.93k, False: 1.00k]
  ------------------
 1341|  2.93k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  2.93k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  2.93k|    }
_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.63k|    {
  208|  5.63k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.63k|    }
_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.13k|    {
 1406|  4.13k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  4.13k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1405|  3.30k|    {
 1406|  3.30k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.30k|    }
_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|  7.57k|    {
 1337|  7.57k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 7.57k, False: 0]
  ------------------
 1338|  7.57k|        auto is_leaf = shift_ == BL;
 1339|  7.57k|        auto child   = node_->inner()[offset_hint];
 1340|  7.57k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 6.13k, False: 1.43k]
  ------------------
 1341|  7.57k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  7.57k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  7.57k|    }
_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|  9.55k|    {
  208|  9.55k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  9.55k|    }
_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|  2.91k|    {
 1406|  2.91k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.91k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1310|  3.88k|    {
 1311|  3.88k|        each_i(v, start, branches<B>, args...);
 1312|  3.88k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6each_iINS1_11dec_visitorEJEEEvT_jjDpOT0_:
 1263|  6.33k|    {
 1264|  6.33k|        auto p = node_->inner() + i;
 1265|  6.33k|        auto e = node_->inner() + n;
 1266|  6.33k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 3.76k, False: 2.57k]
  ------------------
 1267|  11.7k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 7.96k, False: 3.76k]
  ------------------
 1268|  7.96k|                IMMER_PREFETCH(p + 1);
 1269|  7.96k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|  7.96k|            }
 1271|  3.76k|        } else {
 1272|  2.57k|            auto ss = shift_ - B;
 1273|  7.33k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 4.76k, False: 2.57k]
  ------------------
 1274|  4.76k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  2.57k|        }
 1276|  6.33k|    }
_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|    408|    {
  113|    408|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    408|    }
_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.34k|    {
  306|  5.34k|        return towards_oh_ch_regular(
  307|  5.34k|            *this, v, idx, offset_hint, count(), args...);
  308|  5.34k|    }
_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.34k|{
  633|  5.34k|    constexpr auto B  = bits<Pos>;
  634|  5.34k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.34k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.34k, False: 0]
  ------------------
  636|  5.34k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.34k, False: 0]
  ------------------
  637|  5.34k|    auto is_leaf = p.shift() == BL;
  638|  5.34k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.34k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.34k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.84k, False: 2.50k]
  ------------------
  641|  5.34k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.66k, False: 1.17k]
  ------------------
  642|  2.84k|                          : make_full_pos(child, p.shift() - B)
  643|  1.17k|                                .visit(v, idx, args...))
  644|  5.34k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.14k, False: 1.35k]
  ------------------
  645|  2.50k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.50k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.35k|                            .visit(v, idx, args...));
  648|  5.34k|}
_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.56k|    {
  113|  2.56k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.56k|    }
_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|  5.95k|    {
  337|  5.95k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  5.95k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
  336|  3.61k|    {
  337|  3.61k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.61k|    }
_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.77k|    {
  306|  3.77k|        return towards_oh_ch_regular(
  307|  3.77k|            *this, v, idx, offset_hint, count(), args...);
  308|  3.77k|    }
_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.77k|{
  633|  3.77k|    constexpr auto B  = bits<Pos>;
  634|  3.77k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.77k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.77k, False: 0]
  ------------------
  636|  3.77k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.77k, False: 0]
  ------------------
  637|  3.77k|    auto is_leaf = p.shift() == BL;
  638|  3.77k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.77k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.77k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.01k, False: 2.76k]
  ------------------
  641|  3.77k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 724, False: 286]
  ------------------
  642|  1.01k|                          : make_full_pos(child, p.shift() - B)
  643|    286|                                .visit(v, idx, args...))
  644|  3.77k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.79k, False: 962]
  ------------------
  645|  2.76k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.76k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    962|                            .visit(v, idx, args...));
  648|  3.77k|}
_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.45k|    {
  113|  2.45k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.45k|    }
_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.16k|    {
  337|  3.16k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.16k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
  285|  5.34k|    {
  286|  5.34k|        return each_right_regular(*this, v, start, args...);
  287|  5.34k|    }
_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.34k|{
  598|  5.34k|    constexpr auto B  = bits<Pos>;
  599|  5.34k|    constexpr auto BL = bits_leaf<Pos>;
  600|       |
  601|  5.34k|    if (p.shift() == BL) {
  ------------------
  |  Branch (601:9): [True: 2.81k, False: 2.53k]
  ------------------
  602|  2.81k|        auto n    = p.node()->inner() + start;
  603|  2.81k|        auto last = p.count() - 1;
  604|  2.81k|        auto e    = p.node()->inner() + last;
  605|  2.81k|        if (n <= e) {
  ------------------
  |  Branch (605:13): [True: 1.66k, False: 1.14k]
  ------------------
  606|  2.71k|            for (; n != e; ++n) {
  ------------------
  |  Branch (606:20): [True: 1.05k, False: 1.66k]
  ------------------
  607|  1.05k|                IMMER_PREFETCH(n + 1);
  608|  1.05k|                make_full_leaf_pos(*n).visit(v, args...);
  609|  1.05k|            }
  610|  1.66k|            make_leaf_pos(*n, p.size()).visit(v, args...);
  611|  1.66k|        }
  612|  2.81k|    } else {
  613|  2.53k|        auto n    = p.node()->inner() + start;
  614|  2.53k|        auto last = p.count() - 1;
  615|  2.53k|        auto e    = p.node()->inner() + last;
  616|  2.53k|        auto ss   = p.shift() - B;
  617|  2.53k|        if (n <= e) {
  ------------------
  |  Branch (617:13): [True: 1.17k, False: 1.35k]
  ------------------
  618|  2.35k|            for (; n != e; ++n)
  ------------------
  |  Branch (618:20): [True: 1.17k, False: 1.17k]
  ------------------
  619|  1.17k|                make_full_pos(*n, ss).visit(v, args...);
  620|  1.17k|            make_regular_pos(*n, ss, p.size()).visit(v, args...);
  621|  1.17k|        }
  622|  2.53k|    }
  623|  5.34k|}
_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|  9.99k|    {
  928|  9.99k|        return towards_oh_ch_regular(
  929|  9.99k|            *this, v, idx, offset_hint, count(), args...);
  930|  9.99k|    }
_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|  9.99k|{
  633|  9.99k|    constexpr auto B  = bits<Pos>;
  634|  9.99k|    constexpr auto BL = bits_leaf<Pos>;
  635|  9.99k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 9.99k, False: 0]
  ------------------
  636|  9.99k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 9.99k, False: 0]
  ------------------
  637|  9.99k|    auto is_leaf = p.shift() == BL;
  638|  9.99k|    auto child   = p.node()->inner()[offset_hint];
  639|  9.99k|    auto is_full = offset_hint + 1 != count_hint;
  640|  9.99k|    return is_full
  ------------------
  |  Branch (640:12): [True: 3.98k, False: 6.01k]
  ------------------
  641|  9.99k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.03k, False: 1.95k]
  ------------------
  642|  3.98k|                          : make_full_pos(child, p.shift() - B)
  643|  1.95k|                                .visit(v, idx, args...))
  644|  9.99k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.41k, False: 4.59k]
  ------------------
  645|  6.01k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  6.01k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  4.59k|                            .visit(v, idx, args...));
  648|  9.99k|}
_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.74k|    {
  928|  6.74k|        return towards_oh_ch_regular(
  929|  6.74k|            *this, v, idx, offset_hint, count(), args...);
  930|  6.74k|    }
_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.74k|{
  633|  6.74k|    constexpr auto B  = bits<Pos>;
  634|  6.74k|    constexpr auto BL = bits_leaf<Pos>;
  635|  6.74k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 6.74k, False: 0]
  ------------------
  636|  6.74k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 6.74k, False: 0]
  ------------------
  637|  6.74k|    auto is_leaf = p.shift() == BL;
  638|  6.74k|    auto child   = p.node()->inner()[offset_hint];
  639|  6.74k|    auto is_full = offset_hint + 1 != count_hint;
  640|  6.74k|    return is_full
  ------------------
  |  Branch (640:12): [True: 3.88k, False: 2.85k]
  ------------------
  641|  6.74k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.69k, False: 1.19k]
  ------------------
  642|  3.88k|                          : make_full_pos(child, p.shift() - B)
  643|  1.19k|                                .visit(v, idx, args...))
  644|  6.74k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 654, False: 2.20k]
  ------------------
  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|  2.20k|                            .visit(v, idx, args...));
  648|  6.74k|}
_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.3k|    {
  868|  15.3k|        return each_right_regular(*this, v, start, args...);
  869|  15.3k|    }
_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.3k|{
  598|  15.3k|    constexpr auto B  = bits<Pos>;
  599|  15.3k|    constexpr auto BL = bits_leaf<Pos>;
  600|       |
  601|  15.3k|    if (p.shift() == BL) {
  ------------------
  |  Branch (601:9): [True: 5.27k, False: 10.0k]
  ------------------
  602|  5.27k|        auto n    = p.node()->inner() + start;
  603|  5.27k|        auto last = p.count() - 1;
  604|  5.27k|        auto e    = p.node()->inner() + last;
  605|  5.27k|        if (n <= e) {
  ------------------
  |  Branch (605:13): [True: 3.20k, False: 2.06k]
  ------------------
  606|  5.64k|            for (; n != e; ++n) {
  ------------------
  |  Branch (606:20): [True: 2.43k, False: 3.20k]
  ------------------
  607|  2.43k|                IMMER_PREFETCH(n + 1);
  608|  2.43k|                make_full_leaf_pos(*n).visit(v, args...);
  609|  2.43k|            }
  610|  3.20k|            make_leaf_pos(*n, p.size()).visit(v, args...);
  611|  3.20k|        }
  612|  10.0k|    } else {
  613|  10.0k|        auto n    = p.node()->inner() + start;
  614|  10.0k|        auto last = p.count() - 1;
  615|  10.0k|        auto e    = p.node()->inner() + last;
  616|  10.0k|        auto ss   = p.shift() - B;
  617|  10.0k|        if (n <= e) {
  ------------------
  |  Branch (617:13): [True: 5.44k, False: 4.59k]
  ------------------
  618|  7.80k|            for (; n != e; ++n)
  ------------------
  |  Branch (618:20): [True: 2.36k, False: 5.44k]
  ------------------
  619|  2.36k|                make_full_pos(*n, ss).visit(v, args...);
  620|  5.44k|            make_regular_pos(*n, ss, p.size()).visit(v, args...);
  621|  5.44k|        }
  622|  10.0k|    }
  623|  15.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1813|  41.7k|    {
 1814|  41.7k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  41.7k|    }
_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|  22.8k|    {
 1687|  22.8k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 22.8k, False: 0]
  ------------------
 1688|  22.8k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 17.3k, False: 5.43k]
  ------------------
 1689|  22.8k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  22.8k|    }
_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|  22.8k|    {
 1699|  22.8k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  22.8k|    }
_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|  22.8k|    {
 1718|  22.8k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 22.8k, False: 0]
  ------------------
 1719|  22.8k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 17.3k, False: 5.43k]
  |  Branch (1719:9): [True: 22.8k, False: 0]
  ------------------
 1720|  22.8k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  22.8k|        auto child     = node_->inner()[offset_hint];
 1722|  22.8k|        auto is_leaf   = shift_ == BL;
 1723|  22.8k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  22.8k|        auto next_idx  = idx - left_size_hint;
 1725|  22.8k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 3.79k, False: 19.0k]
  ------------------
 1726|  22.8k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  3.79k|                         .visit(v, next_idx, args...)
 1728|  22.8k|                   : visit_maybe_relaxed_sub(
 1729|  19.0k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  22.8k|    }
_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.79k|    {
  145|  3.79k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.79k|    }
_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.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: 11.8k, False: 7.16k]
  ------------------
 1842|  11.8k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 11.8k, False: 0]
  ------------------
 1843|  11.8k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  11.8k|            .visit(v, std::forward<Args>(args)...);
 1845|  11.8k|    } else {
 1846|  7.16k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.16k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.16k|    }
 1849|  19.0k|}
_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.8k|    {
 1814|  11.8k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  11.8k|    }
_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.16k|    {
 1037|  7.16k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.16k|    }
_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.7k|    {
 1037|  10.7k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  10.7k|    }
_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|  14.7k|    {
 1687|  14.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 14.7k, False: 0]
  ------------------
 1688|  14.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 9.00k, False: 5.74k]
  ------------------
 1689|  14.7k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  14.7k|    }
_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|  14.7k|    {
 1699|  14.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  14.7k|    }
_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|  14.7k|    {
 1718|  14.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 14.7k, False: 0]
  ------------------
 1719|  14.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 9.00k, False: 5.74k]
  |  Branch (1719:9): [True: 14.7k, False: 0]
  ------------------
 1720|  14.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  14.7k|        auto child     = node_->inner()[offset_hint];
 1722|  14.7k|        auto is_leaf   = shift_ == BL;
 1723|  14.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  14.7k|        auto next_idx  = idx - left_size_hint;
 1725|  14.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 5.08k, False: 9.66k]
  ------------------
 1726|  14.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  5.08k|                         .visit(v, next_idx, args...)
 1728|  14.7k|                   : visit_maybe_relaxed_sub(
 1729|  9.66k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  14.7k|    }
_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|  5.08k|    {
  145|  5.08k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.08k|    }
_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|  9.66k|{
 1839|  9.66k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 9.66k, False: 0]
  ------------------
 1840|  9.66k|    auto relaxed = node->relaxed();
 1841|  9.66k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 6.55k, False: 3.10k]
  ------------------
 1842|  6.55k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 6.55k, False: 0]
  ------------------
 1843|  6.55k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  6.55k|            .visit(v, std::forward<Args>(args)...);
 1845|  6.55k|    } else {
 1846|  3.10k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.10k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.10k|    }
 1849|  9.66k|}
_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|  6.55k|    {
 1814|  6.55k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  6.55k|    }
_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.10k|    {
 1037|  3.10k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.10k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1653|  54.2k|    {
 1654|  54.2k|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 54.2k, False: 0]
  ------------------
 1655|  54.2k|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 54.2k, False: 0]
  ------------------
 1656|  54.2k|        auto s = relaxed_->d.sizes[start - 1];
 1657|  54.2k|        auto p = node_->inner();
 1658|  54.2k|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 4.79k, False: 49.4k]
  ------------------
 1659|  12.4k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 7.69k, False: 4.79k]
  ------------------
 1660|  7.69k|                IMMER_PREFETCH(p + i + 1);
 1661|  7.69k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|  7.69k|                    .visit(v, args...);
 1663|  7.69k|                s = relaxed_->d.sizes[i];
 1664|  7.69k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 7.69k, False: 0]
  ------------------
 1665|  7.69k|            }
 1666|  49.4k|        } else {
 1667|  49.4k|            auto ss = shift_ - B;
 1668|   151k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 102k, False: 49.4k]
  ------------------
 1669|   102k|                visit_maybe_relaxed_sub(
 1670|   102k|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|   102k|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 102k, False: 0]
  ------------------
 1673|   102k|            }
 1674|  49.4k|        }
 1675|  54.2k|    }
_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.31k|    {
  928|  5.31k|        return towards_oh_ch_regular(
  929|  5.31k|            *this, v, idx, offset_hint, count(), args...);
  930|  5.31k|    }
_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.31k|{
  633|  5.31k|    constexpr auto B  = bits<Pos>;
  634|  5.31k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.31k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.31k, False: 0]
  ------------------
  636|  5.31k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.31k, False: 0]
  ------------------
  637|  5.31k|    auto is_leaf = p.shift() == BL;
  638|  5.31k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.31k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.31k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.66k, False: 648]
  ------------------
  641|  5.31k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.17k, False: 3.49k]
  ------------------
  642|  4.66k|                          : make_full_pos(child, p.shift() - B)
  643|  3.49k|                                .visit(v, idx, args...))
  644|  5.31k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 648, False: 0]
  ------------------
  645|    648|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    648|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  5.31k|}
_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.74k|    {
  208|  1.74k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.74k|    }
_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.87k|    {
 1406|  3.87k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.87k|    }
_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|    946|    {
 1337|    946|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 946, False: 0]
  ------------------
 1338|    946|        auto is_leaf = shift_ == BL;
 1339|    946|        auto child   = node_->inner()[offset_hint];
 1340|    946|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 566, False: 380]
  ------------------
 1341|    946|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|    946|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|    946|    }
_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|    648|    {
  113|    648|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    648|    }
_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|    688|    {
  145|    688|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    688|    }
_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|  41.7k|{
 1839|  41.7k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 41.7k, False: 0]
  ------------------
 1840|  41.7k|    auto relaxed = node->relaxed();
 1841|  41.7k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 33.7k, False: 8.04k]
  ------------------
 1842|  33.7k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 33.7k, False: 0]
  ------------------
 1843|  33.7k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  33.7k|            .visit(v, std::forward<Args>(args)...);
 1845|  33.7k|    } else {
 1846|  8.04k|        return make_regular_sub_pos(node, shift, size)
 1847|  8.04k|            .visit(v, std::forward<Args>(args)...);
 1848|  8.04k|    }
 1849|  41.7k|}
_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|  33.7k|    {
 1814|  33.7k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  33.7k|    }
_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|  4.96k|    {
 1706|  4.96k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.96k, False: 0]
  ------------------
 1707|  4.96k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 4.17k, False: 786]
  ------------------
 1708|  4.96k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.96k|    }
_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|  4.96k|    {
 1718|  4.96k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.96k, False: 0]
  ------------------
 1719|  4.96k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 4.17k, False: 786]
  |  Branch (1719:9): [True: 4.96k, False: 0]
  ------------------
 1720|  4.96k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.96k|        auto child     = node_->inner()[offset_hint];
 1722|  4.96k|        auto is_leaf   = shift_ == BL;
 1723|  4.96k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.96k|        auto next_idx  = idx - left_size_hint;
 1725|  4.96k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.96k]
  ------------------
 1726|  4.96k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.96k|                   : visit_maybe_relaxed_sub(
 1729|  4.96k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.96k|    }
_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.15k|    {
 1706|  4.15k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.15k, False: 0]
  ------------------
 1707|  4.15k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 3.52k, False: 634]
  ------------------
 1708|  4.15k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.15k|    }
_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.15k|    {
 1718|  4.15k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.15k, False: 0]
  ------------------
 1719|  4.15k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 3.52k, False: 634]
  |  Branch (1719:9): [True: 4.15k, False: 0]
  ------------------
 1720|  4.15k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.15k|        auto child     = node_->inner()[offset_hint];
 1722|  4.15k|        auto is_leaf   = shift_ == BL;
 1723|  4.15k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.15k|        auto next_idx  = idx - left_size_hint;
 1725|  4.15k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.15k]
  ------------------
 1726|  4.15k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.15k|                   : visit_maybe_relaxed_sub(
 1729|  4.15k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.15k|    }
_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.15k|{
 1839|  4.15k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 4.15k, False: 0]
  ------------------
 1840|  4.15k|    auto relaxed = node->relaxed();
 1841|  4.15k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.44k, False: 1.71k]
  ------------------
 1842|  2.44k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.44k, False: 0]
  ------------------
 1843|  2.44k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.44k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.44k|    } else {
 1846|  1.71k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.71k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.71k|    }
 1849|  4.15k|}
_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.44k|    {
 1814|  2.44k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.44k|    }
_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.71k|    {
 1037|  1.71k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.71k|    }
_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.24k|    {
  947|  2.24k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  2.24k|    }
_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.24k|{
  654|  2.24k|    constexpr auto B  = bits<Pos>;
  655|  2.24k|    constexpr auto BL = bits_leaf<Pos>;
  656|  2.24k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 2.24k, False: 0]
  ------------------
  657|  2.24k|    auto is_leaf = p.shift() == BL;
  658|  2.24k|    auto child   = p.node()->inner()[offset_hint];
  659|  2.24k|    auto lsize   = offset_hint << p.shift();
  660|  2.24k|    auto size    = p.this_size();
  661|  2.24k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  2.24k|    return is_full
  ------------------
  |  Branch (662:12): [True: 1.19k, False: 1.05k]
  ------------------
  663|  2.24k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 1.19k]
  ------------------
  664|  1.19k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  1.19k|                      : make_full_pos(child, p.shift() - B)
  666|  1.19k|                            .visit(v, idx - lsize, args...))
  667|  2.24k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 1.05k]
  ------------------
  668|  1.05k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  1.05k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  1.05k|                            .visit(v, idx - lsize, args...));
  672|  2.24k|}
_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|  2.68k|    {
 1406|  2.68k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.68k|    }
_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.48k|    {
 1349|  1.48k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 1.48k, False: 0]
  ------------------
 1350|  1.48k|        auto is_leaf = shift_ == BL;
 1351|  1.48k|        auto child   = node_->inner()[offset_hint];
 1352|  1.48k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  1.48k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 1.48k]
  ------------------
 1354|  1.48k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  1.48k|                   : make_full_pos(child, shift_ - B)
 1356|  1.48k|                         .visit(v, idx - lsize, args...);
 1357|  1.48k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1405|    321|    {
 1406|    321|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|    321|    }
_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.13k|    {
 1349|  2.13k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 2.13k, False: 0]
  ------------------
 1350|  2.13k|        auto is_leaf = shift_ == BL;
 1351|  2.13k|        auto child   = node_->inner()[offset_hint];
 1352|  2.13k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  2.13k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 1.26k, False: 868]
  ------------------
 1354|  2.13k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  2.13k|                   : make_full_pos(child, shift_ - B)
 1356|    868|                         .visit(v, idx - lsize, args...);
 1357|  2.13k|    }
_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.22k|    {
  208|  3.22k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  3.22k|    }
_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.16k|    {
 1406|  2.16k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.16k|    }
_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|  7.31k|    {
 1349|  7.31k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 7.31k, False: 0]
  ------------------
 1350|  7.31k|        auto is_leaf = shift_ == BL;
 1351|  7.31k|        auto child   = node_->inner()[offset_hint];
 1352|  7.31k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  7.31k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 5.83k, False: 1.48k]
  ------------------
 1354|  7.31k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  7.31k|                   : make_full_pos(child, shift_ - B)
 1356|  1.48k|                         .visit(v, idx - lsize, args...);
 1357|  7.31k|    }
_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|  9.57k|    {
  208|  9.57k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  9.57k|    }
_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.21k|    {
 1406|  3.21k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.21k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1316|  2.45k|    {
 1317|  2.45k|        each_i(v, 0, last, args...);
 1318|  2.45k|    }
_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.05k|    {
 1037|  1.05k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.05k|    }
_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.03k|    {
 1037|  4.03k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.03k|    }
_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.25k|    {
  947|  3.25k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.25k|    }
_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.25k|{
  654|  3.25k|    constexpr auto B  = bits<Pos>;
  655|  3.25k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.25k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.25k, False: 0]
  ------------------
  657|  3.25k|    auto is_leaf = p.shift() == BL;
  658|  3.25k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.25k|    auto lsize   = offset_hint << p.shift();
  660|  3.25k|    auto size    = p.this_size();
  661|  3.25k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.25k|    return is_full
  ------------------
  |  Branch (662:12): [True: 3.25k, False: 0]
  ------------------
  663|  3.25k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 1.96k, False: 1.29k]
  ------------------
  664|  3.25k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  3.25k|                      : make_full_pos(child, p.shift() - B)
  666|  1.29k|                            .visit(v, idx - lsize, args...))
  667|  3.25k|               : (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.25k|}
_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.47k|    {
  947|  5.47k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  5.47k|    }
_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.47k|{
  654|  5.47k|    constexpr auto B  = bits<Pos>;
  655|  5.47k|    constexpr auto BL = bits_leaf<Pos>;
  656|  5.47k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 5.47k, False: 0]
  ------------------
  657|  5.47k|    auto is_leaf = p.shift() == BL;
  658|  5.47k|    auto child   = p.node()->inner()[offset_hint];
  659|  5.47k|    auto lsize   = offset_hint << p.shift();
  660|  5.47k|    auto size    = p.this_size();
  661|  5.47k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  5.47k|    return is_full
  ------------------
  |  Branch (662:12): [True: 5.47k, False: 0]
  ------------------
  663|  5.47k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 3.74k, False: 1.72k]
  ------------------
  664|  5.47k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  5.47k|                      : make_full_pos(child, p.shift() - B)
  666|  1.72k|                            .visit(v, idx - lsize, args...))
  667|  5.47k|               : (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.47k|}
_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.29k|    {
  874|  7.29k|        return each_left_regular(*this, v, last, args...);
  875|  7.29k|    }
_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.29k|{
  576|  7.29k|    constexpr auto B  = bits<Pos>;
  577|  7.29k|    constexpr auto BL = bits_leaf<Pos>;
  578|  7.29k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 7.29k, False: 0]
  ------------------
  579|  7.29k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 1.96k, False: 5.33k]
  ------------------
  580|  1.96k|        auto n = p.node()->inner();
  581|  1.96k|        auto e = n + last;
  582|  4.23k|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 2.27k, False: 1.96k]
  ------------------
  583|  2.27k|            IMMER_PREFETCH(n + 1);
  584|  2.27k|            make_full_leaf_pos(*n).visit(v, args...);
  585|  2.27k|        }
  586|  5.33k|    } else {
  587|  5.33k|        auto n  = p.node()->inner();
  588|  5.33k|        auto e  = n + last;
  589|  5.33k|        auto ss = p.shift() - B;
  590|  7.42k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 2.09k, False: 5.33k]
  ------------------
  591|  2.09k|            make_full_pos(*n, ss).visit(v, args...);
  592|  5.33k|    }
  593|  7.29k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1813|  4.96k|    {
 1814|  4.96k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  4.96k|    }
_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|   134k|    {
 1706|   134k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 134k, False: 0]
  ------------------
 1707|   134k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 8.36k, False: 125k]
  ------------------
 1708|   134k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|   134k|    }
_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|   134k|    {
 1718|   134k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 134k, False: 0]
  ------------------
 1719|   134k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 8.36k, False: 125k]
  |  Branch (1719:9): [True: 134k, False: 0]
  ------------------
 1720|   134k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|   134k|        auto child     = node_->inner()[offset_hint];
 1722|   134k|        auto is_leaf   = shift_ == BL;
 1723|   134k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|   134k|        auto next_idx  = idx - left_size_hint;
 1725|   134k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 8.20k, False: 125k]
  ------------------
 1726|   134k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  8.20k|                         .visit(v, next_idx, args...)
 1728|   134k|                   : visit_maybe_relaxed_sub(
 1729|   125k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|   134k|    }
_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|  8.20k|    {
  145|  8.20k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  8.20k|    }
_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|   125k|{
 1839|   125k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 125k, False: 0]
  ------------------
 1840|   125k|    auto relaxed = node->relaxed();
 1841|   125k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 124k, False: 1.46k]
  ------------------
 1842|   124k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 124k, False: 0]
  ------------------
 1843|   124k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   124k|            .visit(v, std::forward<Args>(args)...);
 1845|   124k|    } 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|   125k|}
_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|   124k|    {
 1814|   124k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   124k|    }
_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.46k|    {
 1037|  1.46k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.46k|    }
_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|  85.4k|    {
 1706|  85.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 85.4k, False: 0]
  ------------------
 1707|  85.4k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 25.5k, False: 59.8k]
  ------------------
 1708|  85.4k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  85.4k|    }
_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|  85.4k|    {
 1718|  85.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 85.4k, False: 0]
  ------------------
 1719|  85.4k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 25.5k, False: 59.8k]
  |  Branch (1719:9): [True: 85.4k, False: 0]
  ------------------
 1720|  85.4k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  85.4k|        auto child     = node_->inner()[offset_hint];
 1722|  85.4k|        auto is_leaf   = shift_ == BL;
 1723|  85.4k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  85.4k|        auto next_idx  = idx - left_size_hint;
 1725|  85.4k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 15.7k, False: 69.6k]
  ------------------
 1726|  85.4k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  15.7k|                         .visit(v, next_idx, args...)
 1728|  85.4k|                   : visit_maybe_relaxed_sub(
 1729|  69.6k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  85.4k|    }
_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|  15.7k|    {
  145|  15.7k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  15.7k|    }
_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|  69.6k|{
 1839|  69.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 69.6k, False: 0]
  ------------------
 1840|  69.6k|    auto relaxed = node->relaxed();
 1841|  69.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 68.0k, False: 1.59k]
  ------------------
 1842|  68.0k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 68.0k, False: 0]
  ------------------
 1843|  68.0k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  68.0k|            .visit(v, std::forward<Args>(args)...);
 1845|  68.0k|    } else {
 1846|  1.59k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.59k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.59k|    }
 1849|  69.6k|}
_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|  68.0k|    {
 1814|  68.0k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  68.0k|    }
_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|  1.59k|    {
 1037|  1.59k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.59k|    }
_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.04k|    {
 1037|  8.04k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  8.04k|    }
_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.03k|    {
  947|  4.03k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  4.03k|    }
_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.03k|{
  654|  4.03k|    constexpr auto B  = bits<Pos>;
  655|  4.03k|    constexpr auto BL = bits_leaf<Pos>;
  656|  4.03k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 4.03k, False: 0]
  ------------------
  657|  4.03k|    auto is_leaf = p.shift() == BL;
  658|  4.03k|    auto child   = p.node()->inner()[offset_hint];
  659|  4.03k|    auto lsize   = offset_hint << p.shift();
  660|  4.03k|    auto size    = p.this_size();
  661|  4.03k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  4.03k|    return is_full
  ------------------
  |  Branch (662:12): [True: 2.88k, False: 1.15k]
  ------------------
  663|  4.03k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 2.88k]
  ------------------
  664|  2.88k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  2.88k|                      : make_full_pos(child, p.shift() - B)
  666|  2.88k|                            .visit(v, idx - lsize, args...))
  667|  4.03k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 1.15k]
  ------------------
  668|  1.15k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  1.15k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  1.15k|                            .visit(v, idx - lsize, args...));
  672|  4.03k|}
_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.20k|    {
 1406|  3.20k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.20k|    }
_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|    321|    {
 1349|    321|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 321, False: 0]
  ------------------
 1350|    321|        auto is_leaf = shift_ == BL;
 1351|    321|        auto child   = node_->inner()[offset_hint];
 1352|    321|        auto lsize   = size_t{offset_hint} << shift_;
 1353|    321|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 321]
  ------------------
 1354|    321|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|    321|                   : make_full_pos(child, shift_ - B)
 1356|    321|                         .visit(v, idx - lsize, args...);
 1357|    321|    }
_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.15k|    {
 1037|  1.15k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.15k|    }
_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|  18.4k|{
 1839|  18.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 18.4k, False: 0]
  ------------------
 1840|  18.4k|    auto relaxed = node->relaxed();
 1841|  18.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 12.3k, False: 6.06k]
  ------------------
 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.06k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.06k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.06k|    }
 1849|  18.4k|}
_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.22k, False: 3.14k]
  ------------------
 1842|  9.22k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 9.22k, False: 0]
  ------------------
 1843|  9.22k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  9.22k|            .visit(v, std::forward<Args>(args)...);
 1845|  9.22k|    } else {
 1846|  3.14k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.14k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.14k|    }
 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.22k|    {
 1814|  9.22k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  9.22k|    }
_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.6k|    {
 1794|  32.6k|        auto child      = node_->inner()[offset];
 1795|  32.6k|        auto child_size = size(offset);
 1796|  32.6k|        auto is_leaf    = shift_ == BL;
 1797|  32.6k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 8.72k, False: 23.8k]
  ------------------
 1798|  32.6k|                       : visit_maybe_relaxed_sub(
 1799|  23.8k|                             child, shift_ - B, child_size, v, args...);
 1800|  32.6k|    }
_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.04k|    {
  145|  9.04k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  9.04k|    }
_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.04k|    {
 1805|  9.04k|        assert(shift_ == BL);
  ------------------
  |  Branch (1805:9): [True: 9.04k, False: 0]
  ------------------
 1806|  9.04k|        auto child      = node_->inner()[offset];
 1807|  9.04k|        auto child_size = size(offset);
 1808|  9.04k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1809|  9.04k|    }
_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.59k|    {
  145|  9.59k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  9.59k|    }
_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.8k|{
 1839|  23.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 23.8k, False: 0]
  ------------------
 1840|  23.8k|    auto relaxed = node->relaxed();
 1841|  23.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 21.3k, False: 2.50k]
  ------------------
 1842|  21.3k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 21.3k, False: 0]
  ------------------
 1843|  21.3k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  21.3k|            .visit(v, std::forward<Args>(args)...);
 1845|  21.3k|    } else {
 1846|  2.50k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.50k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.50k|    }
 1849|  23.8k|}
_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.3k|    {
 1814|  21.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  21.3k|    }
_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.3k|    {
 1794|  21.3k|        auto child      = node_->inner()[offset];
 1795|  21.3k|        auto child_size = size(offset);
 1796|  21.3k|        auto is_leaf    = shift_ == BL;
 1797|  21.3k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 21.3k]
  ------------------
 1798|  21.3k|                       : visit_maybe_relaxed_sub(
 1799|  21.3k|                             child, shift_ - B, child_size, v, args...);
 1800|  21.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_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  21.3k|{
 1839|  21.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 21.3k, False: 0]
  ------------------
 1840|  21.3k|    auto relaxed = node->relaxed();
 1841|  21.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 20.3k, False: 998]
  ------------------
 1842|  20.3k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 20.3k, False: 0]
  ------------------
 1843|  20.3k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  20.3k|            .visit(v, std::forward<Args>(args)...);
 1845|  20.3k|    } else {
 1846|    998|        return make_regular_sub_pos(node, shift, size)
 1847|    998|            .visit(v, std::forward<Args>(args)...);
 1848|    998|    }
 1849|  21.3k|}
_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.3k|    {
 1814|  20.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  20.3k|    }
_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.39k|    {
 1037|  1.39k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.39k|    }
_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.61k|    {
 1794|  6.61k|        auto child      = node_->inner()[offset];
 1795|  6.61k|        auto child_size = size(offset);
 1796|  6.61k|        auto is_leaf    = shift_ == BL;
 1797|  6.61k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 3.57k, False: 3.03k]
  ------------------
 1798|  6.61k|                       : visit_maybe_relaxed_sub(
 1799|  3.03k|                             child, shift_ - B, child_size, v, args...);
 1800|  6.61k|    }
_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.57k|    {
  145|  3.57k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.57k|    }
_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.57k|    {
 1026|  3.57k|        assert(shift_ == BL);
  ------------------
  |  Branch (1026:9): [True: 3.57k, False: 0]
  ------------------
 1027|  3.57k|        auto child   = node_->inner()[idx];
 1028|  3.57k|        auto lsize   = size(idx);
 1029|  3.57k|        auto is_full = idx + 1 < count();
 1030|  3.57k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1030:16): [True: 3.02k, False: 554]
  ------------------
 1031|  3.57k|                       : make_leaf_sub_pos(child, lsize).visit(v, args...);
 1032|  3.57k|    }
_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.82k|    {
  208|  6.82k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  6.82k|    }
_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|  3.03k|{
 1839|  3.03k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 3.03k, False: 0]
  ------------------
 1840|  3.03k|    auto relaxed = node->relaxed();
 1841|  3.03k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.30k, False: 728]
  ------------------
 1842|  2.30k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.30k, False: 0]
  ------------------
 1843|  2.30k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.30k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.30k|    } else {
 1846|    728|        return make_regular_sub_pos(node, shift, size)
 1847|    728|            .visit(v, std::forward<Args>(args)...);
 1848|    728|    }
 1849|  3.03k|}
_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.30k|    {
 1814|  2.30k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.30k|    }
_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.30k|    {
 1008|  2.30k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 2.30k, False: 0]
  ------------------
 1009|  2.30k|        auto is_leaf = shift_ == BL;
 1010|  2.30k|        auto child   = node_->inner()[idx];
 1011|  2.30k|        auto lsize   = size(idx);
 1012|  2.30k|        auto is_full = idx + 1 < count();
 1013|  2.30k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 1.91k, False: 393]
  ------------------
 1014|  2.30k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 0, False: 1.91k]
  ------------------
 1015|  1.91k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  1.91k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  2.30k|                   : (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.30k|    }
_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.77k|    {
 1406|  2.77k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.77k|    }
_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.80k|    {
 1794|  5.80k|        auto child      = node_->inner()[offset];
 1795|  5.80k|        auto child_size = size(offset);
 1796|  5.80k|        auto is_leaf    = shift_ == BL;
 1797|  5.80k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 3.80k, False: 2.00k]
  ------------------
 1798|  5.80k|                       : visit_maybe_relaxed_sub(
 1799|  2.00k|                             child, shift_ - B, child_size, v, args...);
 1800|  5.80k|    }
_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.80k|    {
  145|  3.80k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.80k|    }
_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.80k|    {
 1397|  3.80k|        assert(shift_ == BL);
  ------------------
  |  Branch (1397:9): [True: 3.80k, False: 0]
  ------------------
 1398|  3.80k|        assert(idx < count());
  ------------------
  |  Branch (1398:9): [True: 3.80k, False: 0]
  ------------------
 1399|  3.80k|        auto child = node_->inner()[idx];
 1400|  3.80k|        return make_full_leaf_pos(child).visit(v, args...);
 1401|  3.80k|    }
_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|  2.00k|{
 1839|  2.00k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.00k, False: 0]
  ------------------
 1840|  2.00k|    auto relaxed = node->relaxed();
 1841|  2.00k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 859, False: 1.14k]
  ------------------
 1842|    859|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 859, False: 0]
  ------------------
 1843|    859|        return make_relaxed_pos(node, shift, relaxed)
 1844|    859|            .visit(v, std::forward<Args>(args)...);
 1845|  1.14k|    } else {
 1846|  1.14k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.14k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.14k|    }
 1849|  2.00k|}
_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|    859|    {
 1814|    859|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    859|    }
_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|    859|    {
 1387|    859|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 859, False: 0]
  ------------------
 1388|    859|        auto is_leaf = shift_ == BL;
 1389|    859|        auto child   = node_->inner()[idx];
 1390|    859|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 0, False: 859]
  ------------------
 1391|    859|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|    859|    }
_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.14k|    {
 1037|  1.14k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.14k|    }
_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.14k|    {
 1387|  1.14k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 1.14k, False: 0]
  ------------------
 1388|  1.14k|        auto is_leaf = shift_ == BL;
 1389|  1.14k|        auto child   = node_->inner()[idx];
 1390|  1.14k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 0, False: 1.14k]
  ------------------
 1391|  1.14k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  1.14k|    }
_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.87k|    {
 1406|  1.87k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.87k|    }
_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.16k|    {
 1223|  3.16k|        auto p  = node_->inner();
 1224|  3.16k|        auto p2 = other->inner();
 1225|  3.16k|        auto e  = p + branches<B>;
 1226|  3.16k|        if (shift_ == BL) {
  ------------------
  |  Branch (1226:13): [True: 2.46k, False: 696]
  ------------------
 1227|  9.72k|            for (; p != e; ++p, ++p2) {
  ------------------
  |  Branch (1227:20): [True: 8.39k, False: 1.33k]
  ------------------
 1228|  8.39k|                IMMER_PREFETCH(p + 1);
 1229|  8.39k|                if (!make_full_leaf_pos(*p).visit(v, *p2, args...))
  ------------------
  |  Branch (1229:21): [True: 1.13k, False: 7.25k]
  ------------------
 1230|  1.13k|                    return false;
 1231|  8.39k|            }
 1232|  2.46k|        } else {
 1233|    696|            auto ss = shift_ - B;
 1234|  2.55k|            for (; p != e; ++p, ++p2)
  ------------------
  |  Branch (1234:20): [True: 2.25k, False: 302]
  ------------------
 1235|  2.25k|                if (!make_full_pos(*p, ss).visit(v, *p2, args...))
  ------------------
  |  Branch (1235:21): [True: 394, False: 1.85k]
  ------------------
 1236|    394|                    return false;
 1237|    696|        }
 1238|  1.63k|        return true;
 1239|  3.16k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  207|  12.6k|    {
  208|  12.6k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  12.6k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
 1405|  7.77k|    {
 1406|  7.77k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  7.77k|    }
_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|  4.88k|    {
  838|  4.88k|        return each_pred_zip_regular(*this, v, other, args...);
  839|  4.88k|    }
_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|  4.88k|{
  393|  4.88k|    constexpr auto B  = bits<Pos>;
  394|  4.88k|    constexpr auto BL = bits_leaf<Pos>;
  395|       |
  396|  4.88k|    auto n    = p.node()->inner();
  397|  4.88k|    auto n2   = other->inner();
  398|  4.88k|    auto last = p.count() - 1;
  399|  4.88k|    auto e    = n + last;
  400|  4.88k|    if (p.shift() == BL) {
  ------------------
  |  Branch (400:9): [True: 1.52k, False: 3.36k]
  ------------------
  401|  3.87k|        for (; n != e; ++n, ++n2) {
  ------------------
  |  Branch (401:16): [True: 2.75k, False: 1.12k]
  ------------------
  402|  2.75k|            IMMER_PREFETCH(n + 1);
  403|  2.75k|            IMMER_PREFETCH(n2 + 1);
  404|  2.75k|            if (!make_full_leaf_pos(*n).visit(v, *n2, args...))
  ------------------
  |  Branch (404:17): [True: 395, False: 2.35k]
  ------------------
  405|    395|                return false;
  406|  2.75k|        }
  407|  1.12k|        return make_leaf_pos(*n, p.size()).visit(v, *n2, args...);
  408|  3.36k|    } else {
  409|  3.36k|        auto ss = p.shift() - B;
  410|  6.73k|        for (; n != e; ++n, ++n2)
  ------------------
  |  Branch (410:16): [True: 4.04k, False: 2.69k]
  ------------------
  411|  4.04k|            if (!make_full_pos(*n, ss).visit(v, *n2, args...))
  ------------------
  |  Branch (411:17): [True: 675, False: 3.36k]
  ------------------
  412|    675|                return false;
  413|  2.69k|        return make_regular_pos(*n, ss, p.size()).visit(v, *n2, args...);
  414|  3.36k|    }
  415|  4.88k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  112|  2.88k|    {
  113|  2.88k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.88k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  336|  3.87k|    {
  337|  3.87k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.87k|    }
_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.39k|    {
  256|  3.39k|        return each_pred_zip_regular(*this, v, other, args...);
  257|  3.39k|    }
_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.39k|{
  393|  3.39k|    constexpr auto B  = bits<Pos>;
  394|  3.39k|    constexpr auto BL = bits_leaf<Pos>;
  395|       |
  396|  3.39k|    auto n    = p.node()->inner();
  397|  3.39k|    auto n2   = other->inner();
  398|  3.39k|    auto last = p.count() - 1;
  399|  3.39k|    auto e    = n + last;
  400|  3.39k|    if (p.shift() == BL) {
  ------------------
  |  Branch (400:9): [True: 1.99k, False: 1.39k]
  ------------------
  401|  3.23k|        for (; n != e; ++n, ++n2) {
  ------------------
  |  Branch (401:16): [True: 1.47k, False: 1.76k]
  ------------------
  402|  1.47k|            IMMER_PREFETCH(n + 1);
  403|  1.47k|            IMMER_PREFETCH(n2 + 1);
  404|  1.47k|            if (!make_full_leaf_pos(*n).visit(v, *n2, args...))
  ------------------
  |  Branch (404:17): [True: 234, False: 1.24k]
  ------------------
  405|    234|                return false;
  406|  1.47k|        }
  407|  1.76k|        return make_leaf_pos(*n, p.size()).visit(v, *n2, args...);
  408|  1.99k|    } else {
  409|  1.39k|        auto ss = p.shift() - B;
  410|  2.66k|        for (; n != e; ++n, ++n2)
  ------------------
  |  Branch (410:16): [True: 1.48k, False: 1.18k]
  ------------------
  411|  1.48k|            if (!make_full_pos(*n, ss).visit(v, *n2, args...))
  ------------------
  |  Branch (411:17): [True: 213, False: 1.27k]
  ------------------
  412|    213|                return false;
  413|  1.18k|        return make_regular_pos(*n, ss, p.size()).visit(v, *n2, args...);
  414|  1.39k|    }
  415|  3.39k|}
_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.55k|    {
 1387|  4.55k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 4.55k, False: 0]
  ------------------
 1388|  4.55k|        auto is_leaf = shift_ == BL;
 1389|  4.55k|        auto child   = node_->inner()[idx];
 1390|  4.55k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 3.15k, False: 1.40k]
  ------------------
 1391|  4.55k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  4.55k|    }
_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|   321k|    {
  208|   321k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   321k|    }
_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.52M|{
 1839|  9.52M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 9.52M, False: 0]
  ------------------
 1840|  9.52M|    auto relaxed = node->relaxed();
 1841|  9.52M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 9.18M, False: 344k]
  ------------------
 1842|  9.18M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 9.18M, False: 0]
  ------------------
 1843|  9.18M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  9.18M|            .visit(v, std::forward<Args>(args)...);
 1845|  9.18M|    } else {
 1846|   344k|        return make_regular_sub_pos(node, shift, size)
 1847|   344k|            .visit(v, std::forward<Args>(args)...);
 1848|   344k|    }
 1849|  9.52M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1813|  9.18M|    {
 1814|  9.18M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  9.18M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
 1679|  9.18M|    {
 1680|  9.18M|        return towards_oh(v, idx, subindex(idx), args...);
 1681|  9.18M|    }
_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.18M|    {
 1687|  9.18M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 9.18M, False: 0]
  ------------------
 1688|  9.18M|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 4.91M, False: 4.26M]
  ------------------
 1689|  9.18M|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  9.18M|    }
_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.18M|    {
 1699|  9.18M|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  9.18M|    }
_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.18M|    {
 1718|  9.18M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 9.18M, False: 0]
  ------------------
 1719|  9.18M|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 4.91M, False: 4.26M]
  |  Branch (1719:9): [True: 9.18M, False: 0]
  ------------------
 1720|  9.18M|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  9.18M|        auto child     = node_->inner()[offset_hint];
 1722|  9.18M|        auto is_leaf   = shift_ == BL;
 1723|  9.18M|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  9.18M|        auto next_idx  = idx - left_size_hint;
 1725|  9.18M|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 995k, False: 8.18M]
  ------------------
 1726|  9.18M|                   ? make_leaf_sub_pos(child, next_size)
 1727|   995k|                         .visit(v, next_idx, args...)
 1728|  9.18M|                   : visit_maybe_relaxed_sub(
 1729|  8.18M|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  9.18M|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  144|   995k|    {
  145|   995k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   995k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1036|   344k|    {
 1037|   344k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   344k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
  919|   344k|    {
  920|   344k|        return towards_oh_ch_regular(
  921|   344k|            *this, v, idx, index(idx), count(), args...);
  922|   344k|    }
_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|   344k|{
  633|   344k|    constexpr auto B  = bits<Pos>;
  634|   344k|    constexpr auto BL = bits_leaf<Pos>;
  635|   344k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 344k, False: 0]
  ------------------
  636|   344k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 344k, False: 0]
  ------------------
  637|   344k|    auto is_leaf = p.shift() == BL;
  638|   344k|    auto child   = p.node()->inner()[offset_hint];
  639|   344k|    auto is_full = offset_hint + 1 != count_hint;
  640|   344k|    return is_full
  ------------------
  |  Branch (640:12): [True: 251k, False: 92.4k]
  ------------------
  641|   344k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 39.1k, False: 212k]
  ------------------
  642|   251k|                          : make_full_pos(child, p.shift() - B)
  643|   212k|                                .visit(v, idx, args...))
  644|   344k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 15.1k, False: 77.3k]
  ------------------
  645|  92.4k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  92.4k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  77.3k|                            .visit(v, idx, args...));
  648|   344k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  207|   324k|    {
  208|   324k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   324k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1405|   998k|    {
 1406|   998k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   998k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
 1322|   998k|    {
 1323|   998k|        return towards_oh(v, idx, index(idx), args...);
 1324|   998k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_18region_for_visitorIiEEJEEEDcT_mjDpOT0_:
 1336|   998k|    {
 1337|   998k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 998k, False: 0]
  ------------------
 1338|   998k|        auto is_leaf = shift_ == BL;
 1339|   998k|        auto child   = node_->inner()[offset_hint];
 1340|   998k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 278k, False: 720k]
  ------------------
 1341|   998k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|   998k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|   998k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  112|  20.3k|    {
  113|  20.3k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  20.3k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  336|   104k|    {
  337|   104k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|   104k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
  297|   104k|    {
  298|   104k|        return towards_oh_ch_regular(
  299|   104k|            *this, v, idx, index(idx), count(), args...);
  300|   104k|    }
_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|   104k|{
  633|   104k|    constexpr auto B  = bits<Pos>;
  634|   104k|    constexpr auto BL = bits_leaf<Pos>;
  635|   104k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 104k, False: 0]
  ------------------
  636|   104k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 104k, False: 0]
  ------------------
  637|   104k|    auto is_leaf = p.shift() == BL;
  638|   104k|    auto child   = p.node()->inner()[offset_hint];
  639|   104k|    auto is_full = offset_hint + 1 != count_hint;
  640|   104k|    return is_full
  ------------------
  |  Branch (640:12): [True: 72.1k, False: 32.1k]
  ------------------
  641|   104k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 6.84k, False: 65.2k]
  ------------------
  642|  72.1k|                          : make_full_pos(child, p.shift() - B)
  643|  65.2k|                                .visit(v, idx, args...))
  644|   104k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 5.24k, False: 26.8k]
  ------------------
  645|  32.1k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  32.1k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  26.8k|                            .visit(v, idx, args...));
  648|   104k|}
_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|  89.5k|    {
 1406|  89.5k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  89.5k|    }
_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|  89.5k|    {
 1203|  89.5k|        auto p = node_->inner();
 1204|  89.5k|        auto e = p + branches<B>;
 1205|  89.5k|        if (shift_ == BL) {
  ------------------
  |  Branch (1205:13): [True: 69.7k, False: 19.7k]
  ------------------
 1206|   346k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1206:20): [True: 277k, False: 68.8k]
  ------------------
 1207|   277k|                IMMER_PREFETCH(p + 1);
 1208|   277k|                if (!make_full_leaf_pos(*p).visit(v, args...))
  ------------------
  |  Branch (1208:21): [True: 935, False: 277k]
  ------------------
 1209|    935|                    return false;
 1210|   277k|            }
 1211|  69.7k|        } else {
 1212|  19.7k|            auto ss = shift_ - B;
 1213|  97.7k|            for (; p != e; ++p)
  ------------------
  |  Branch (1213:20): [True: 78.4k, False: 19.3k]
  ------------------
 1214|  78.4k|                if (!make_full_pos(*p, ss).visit(v, args...))
  ------------------
  |  Branch (1214:21): [True: 417, False: 78.0k]
  ------------------
 1215|    417|                    return false;
 1216|  19.7k|        }
 1217|  88.1k|        return true;
 1218|  89.5k|    }
_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|    728|    {
 1037|    728|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    728|    }
_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|    728|    {
 1008|    728|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 728, False: 0]
  ------------------
 1009|    728|        auto is_leaf = shift_ == BL;
 1010|    728|        auto child   = node_->inner()[idx];
 1011|    728|        auto lsize   = size(idx);
 1012|    728|        auto is_full = idx + 1 < count();
 1013|    728|        return is_full
  ------------------
  |  Branch (1013:16): [True: 728, False: 0]
  ------------------
 1014|    728|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 0, False: 728]
  ------------------
 1015|    728|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|    728|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|    728|                   : (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|    728|    }
_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.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_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_24for_each_chunk_p_visitorEJZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcjSK_DpOT0_:
 1007|  4.24k|    {
 1008|  4.24k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 4.24k, False: 0]
  ------------------
 1009|  4.24k|        auto is_leaf = shift_ == BL;
 1010|  4.24k|        auto child   = node_->inner()[idx];
 1011|  4.24k|        auto lsize   = size(idx);
 1012|  4.24k|        auto is_full = idx + 1 < count();
 1013|  4.24k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 1.46k, False: 2.77k]
  ------------------
 1014|  4.24k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 858, False: 607]
  ------------------
 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.24k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 1.46k, False: 1.30k]
  ------------------
 1018|  2.77k|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|  2.77k|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|  1.30k|                                .visit(v, args...));
 1021|  4.24k|    }
_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|   978k|    {
  145|   978k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   978k|    }
_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|  17.0k|    {
 1037|  17.0k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  17.0k|    }
_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|  17.0k|    {
  832|  17.0k|        return each_pred_regular(*this, v, args...);
  833|  17.0k|    }
_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|  17.0k|{
  366|  17.0k|    constexpr auto B  = bits<Pos>;
  367|  17.0k|    constexpr auto BL = bits_leaf<Pos>;
  368|  17.0k|    auto n            = p.node()->inner();
  369|  17.0k|    auto last         = p.count() - 1;
  370|  17.0k|    auto e            = n + last;
  371|  17.0k|    if (p.shift() == BL) {
  ------------------
  |  Branch (371:9): [True: 12.7k, False: 4.30k]
  ------------------
  372|  46.9k|        for (; n != e; ++n) {
  ------------------
  |  Branch (372:16): [True: 34.4k, False: 12.5k]
  ------------------
  373|  34.4k|            IMMER_PREFETCH(n + 1);
  374|  34.4k|            if (!make_full_leaf_pos(*n).visit(v, args...))
  ------------------
  |  Branch (374:17): [True: 243, False: 34.2k]
  ------------------
  375|    243|                return false;
  376|  34.4k|        }
  377|  12.5k|        return make_leaf_pos(*n, p.size()).visit(v, args...);
  378|  12.7k|    } else {
  379|  4.30k|        auto ss = p.shift() - B;
  380|  9.15k|        for (; n != e; ++n)
  ------------------
  |  Branch (380:16): [True: 5.44k, False: 3.71k]
  ------------------
  381|  5.44k|            if (!make_full_pos(*n, ss).visit(v, args...))
  ------------------
  |  Branch (381:17): [True: 590, False: 4.85k]
  ------------------
  382|    590|                return false;
  383|  3.71k|        return make_regular_pos(*n, ss, p.size()).visit(v, args...);
  384|  4.30k|    }
  385|  17.0k|}
_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|  15.6k|    {
  113|  15.6k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  15.6k|    }
_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|  5.74k|    {
  337|  5.74k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  5.74k|    }
_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|  5.74k|    {
  250|  5.74k|        return each_pred_regular(*this, v, args...);
  251|  5.74k|    }
_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|  5.74k|{
  366|  5.74k|    constexpr auto B  = bits<Pos>;
  367|  5.74k|    constexpr auto BL = bits_leaf<Pos>;
  368|  5.74k|    auto n            = p.node()->inner();
  369|  5.74k|    auto last         = p.count() - 1;
  370|  5.74k|    auto e            = n + last;
  371|  5.74k|    if (p.shift() == BL) {
  ------------------
  |  Branch (371:9): [True: 3.39k, False: 2.35k]
  ------------------
  372|  8.66k|        for (; n != e; ++n) {
  ------------------
  |  Branch (372:16): [True: 5.52k, False: 3.13k]
  ------------------
  373|  5.52k|            IMMER_PREFETCH(n + 1);
  374|  5.52k|            if (!make_full_leaf_pos(*n).visit(v, args...))
  ------------------
  |  Branch (374:17): [True: 254, False: 5.27k]
  ------------------
  375|    254|                return false;
  376|  5.52k|        }
  377|  3.13k|        return make_leaf_pos(*n, p.size()).visit(v, args...);
  378|  3.39k|    } else {
  379|  2.35k|        auto ss = p.shift() - B;
  380|  5.63k|        for (; n != e; ++n)
  ------------------
  |  Branch (380:16): [True: 3.59k, False: 2.03k]
  ------------------
  381|  3.59k|            if (!make_full_pos(*n, ss).visit(v, args...))
  ------------------
  |  Branch (381:17): [True: 318, False: 3.27k]
  ------------------
  382|    318|                return false;
  383|  2.03k|        return make_regular_pos(*n, ss, p.size()).visit(v, args...);
  384|  2.35k|    }
  385|  5.74k|}
_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.50k|    {
 1037|  2.50k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.50k|    }
_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.50k|    {
 1794|  2.50k|        auto child      = node_->inner()[offset];
 1795|  2.50k|        auto child_size = size(offset);
 1796|  2.50k|        auto is_leaf    = shift_ == BL;
 1797|  2.50k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 2.50k]
  ------------------
 1798|  2.50k|                       : visit_maybe_relaxed_sub(
 1799|  2.50k|                             child, shift_ - B, child_size, v, args...);
 1800|  2.50k|    }
_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.50k|{
 1839|  2.50k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.50k, False: 0]
  ------------------
 1840|  2.50k|    auto relaxed = node->relaxed();
 1841|  2.50k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 751, False: 1.75k]
  ------------------
 1842|    751|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 751, False: 0]
  ------------------
 1843|    751|        return make_relaxed_pos(node, shift, relaxed)
 1844|    751|            .visit(v, std::forward<Args>(args)...);
 1845|  1.75k|    } 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|  2.50k|}
_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|    751|    {
 1814|    751|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    751|    }
_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.01k|    {
 1008|  4.01k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 4.01k, False: 0]
  ------------------
 1009|  4.01k|        auto is_leaf = shift_ == BL;
 1010|  4.01k|        auto child   = node_->inner()[idx];
 1011|  4.01k|        auto lsize   = size(idx);
 1012|  4.01k|        auto is_full = idx + 1 < count();
 1013|  4.01k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 3.70k, False: 314]
  ------------------
 1014|  4.01k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 2.22k, False: 1.47k]
  ------------------
 1015|  3.70k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  3.70k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  4.01k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 314, False: 0]
  ------------------
 1018|    314|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|    314|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|      0|                                .visit(v, args...));
 1021|  4.01k|    }
_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.72k|    {
 1406|  2.72k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.72k|    }
_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.72k|    {
 1794|  2.72k|        auto child      = node_->inner()[offset];
 1795|  2.72k|        auto child_size = size(offset);
 1796|  2.72k|        auto is_leaf    = shift_ == BL;
 1797|  2.72k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 2.72k]
  ------------------
 1798|  2.72k|                       : visit_maybe_relaxed_sub(
 1799|  2.72k|                             child, shift_ - B, child_size, v, args...);
 1800|  2.72k|    }
_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.72k|{
 1839|  2.72k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.72k, False: 0]
  ------------------
 1840|  2.72k|    auto relaxed = node->relaxed();
 1841|  2.72k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.63k, False: 1.09k]
  ------------------
 1842|  1.63k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.63k, False: 0]
  ------------------
 1843|  1.63k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.63k|            .visit(v, std::forward<Args>(args)...);
 1845|  1.63k|    } else {
 1846|  1.09k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.09k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.09k|    }
 1849|  2.72k|}
_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.63k|    {
 1814|  1.63k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.63k|    }
_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.71k|    {
 1387|  3.71k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 3.71k, False: 0]
  ------------------
 1388|  3.71k|        auto is_leaf = shift_ == BL;
 1389|  3.71k|        auto child   = node_->inner()[idx];
 1390|  3.71k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 2.46k, False: 1.24k]
  ------------------
 1391|  3.71k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  3.71k|    }
_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.09k|    {
 1037|  1.09k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.09k|    }
_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.6k|    {
 1794|  23.6k|        auto child      = node_->inner()[offset];
 1795|  23.6k|        auto child_size = size(offset);
 1796|  23.6k|        auto is_leaf    = shift_ == BL;
 1797|  23.6k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 8.11k, False: 15.5k]
  ------------------
 1798|  23.6k|                       : visit_maybe_relaxed_sub(
 1799|  15.5k|                             child, shift_ - B, child_size, v, args...);
 1800|  23.6k|    }
_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|   619k|{
 1839|   619k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 619k, False: 0]
  ------------------
 1840|   619k|    auto relaxed = node->relaxed();
 1841|   619k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 603k, False: 15.7k]
  ------------------
 1842|   603k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 603k, False: 0]
  ------------------
 1843|   603k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   603k|            .visit(v, std::forward<Args>(args)...);
 1845|   603k|    } 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|   619k|}
_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|   603k|    {
 1814|   603k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   603k|    }
_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|   603k|    {
 1483|   603k|        auto p = node_->inner();
 1484|   603k|        auto s = size_t{};
 1485|   603k|        auto n = count();
 1486|   603k|        if (shift_ == BL) {
  ------------------
  |  Branch (1486:13): [True: 288k, False: 315k]
  ------------------
 1487|  1.25M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1487:39): [True: 969k, False: 287k]
  ------------------
 1488|   969k|                IMMER_PREFETCH(p + i + 1);
 1489|   969k|                if (!make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
  ------------------
  |  Branch (1489:21): [True: 393, False: 968k]
  ------------------
 1490|   969k|                         .visit(v, args...))
 1491|    393|                    return false;
 1492|   968k|                s = relaxed_->d.sizes[i];
 1493|   968k|            }
 1494|   315k|        } else {
 1495|   315k|            auto ss = shift_ - B;
 1496|   918k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1496:39): [True: 603k, False: 314k]
  ------------------
 1497|   603k|                if (!visit_maybe_relaxed_sub(
  ------------------
  |  Branch (1497:21): [True: 541, False: 603k]
  ------------------
 1498|   603k|                        p[i], ss, relaxed_->d.sizes[i] - s, v, args...))
 1499|    541|                    return false;
 1500|   603k|                s = relaxed_->d.sizes[i];
 1501|   603k|            }
 1502|   315k|        }
 1503|   602k|        return true;
 1504|   603k|    }
_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.14k|    {
 1037|  3.14k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.14k|    }
_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.48k|    {
 1784|  1.48k|        assert(shift_ > BL);
  ------------------
  |  Branch (1784:9): [True: 1.48k, False: 0]
  ------------------
 1785|  1.48k|        auto child      = node_->inner()[0];
 1786|  1.48k|        auto child_size = relaxed_->d.sizes[0];
 1787|  1.48k|        return visit_maybe_relaxed_sub(
 1788|  1.48k|            child, shift_ - B, child_size, v, args...);
 1789|  1.48k|    }
_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.48k|{
 1839|  1.48k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.48k, False: 0]
  ------------------
 1840|  1.48k|    auto relaxed = node->relaxed();
 1841|  1.48k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.48k, False: 0]
  ------------------
 1842|  1.48k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.48k, False: 0]
  ------------------
 1843|  1.48k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.48k|            .visit(v, std::forward<Args>(args)...);
 1845|  1.48k|    } else {
 1846|      0|        return make_regular_sub_pos(node, shift, size)
 1847|      0|            .visit(v, std::forward<Args>(args)...);
 1848|      0|    }
 1849|  1.48k|}
_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.48k|    {
 1814|  1.48k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.48k|    }
_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.06k|{
 1839|  6.06k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 6.06k, False: 0]
  ------------------
 1840|  6.06k|    auto relaxed = node->relaxed();
 1841|  6.06k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.60k, False: 4.46k]
  ------------------
 1842|  1.60k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.60k, False: 0]
  ------------------
 1843|  1.60k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.60k|            .visit(v, std::forward<Args>(args)...);
 1845|  4.46k|    } else {
 1846|  4.46k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.46k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.46k|    }
 1849|  6.06k|}
_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.60k|    {
 1814|  1.60k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.60k|    }
_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|  4.46k|    {
 1037|  4.46k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.46k|    }
_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.06k|    {
 1037|  6.06k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.06k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRKPSC_EEEDcT_DpOT0_:
  144|  6.98k|    {
  145|  6.98k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  6.98k|    }

_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2Ev:
  114|  1.63M|        : size{0}
  115|  1.63M|        , shift{BL}
  116|  1.63M|        , root{empty_root()}
  117|  1.63M|        , tail{empty_tail()}
  118|  1.63M|    {
  119|       |        assert(check_tree());
  ------------------
  |  Branch (119:9): [True: 1.63M, False: 0]
  ------------------
  120|  1.63M|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_rootEv:
   61|  1.65M|    {
   62|  1.65M|        static const auto empty_ = [] {
   63|  1.65M|            constexpr auto size = node_t::sizeof_inner_n(0);
   64|  1.65M|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   65|  1.65M|                storage;
   66|  1.65M|            return node_t::make_inner_n_into(&storage, size, 0u);
   67|  1.65M|        }();
   68|  1.65M|        return empty_->inc();
   69|  1.65M|    }
_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.63M|    {
   73|  1.63M|        static const auto empty_ = [] {
   74|  1.63M|            constexpr auto size = node_t::sizeof_leaf_n(0);
   75|  1.63M|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   76|  1.63M|                storage;
   77|  1.63M|            return node_t::make_leaf_n_into(&storage, size, 0u);
   78|  1.63M|        }();
   79|  1.63M|        return empty_->inc();
   80|  1.63M|    }
_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.1M|    {
  198|  16.1M|        auto r = root->relaxed();
  199|  16.1M|        assert(r == nullptr || r->d.count);
  ------------------
  |  Branch (199:9): [True: 8.16M, False: 7.94M]
  |  Branch (199:9): [True: 7.94M, False: 0]
  |  Branch (199:9): [True: 16.1M, False: 0]
  ------------------
  200|  16.1M|        return r      ? r->d.sizes[r->d.count - 1]
  ------------------
  |  Branch (200:16): [True: 7.94M, False: 8.16M]
  ------------------
  201|  16.1M|               : size ? (size - 1) & ~mask<BL>
  ------------------
  |  Branch (201:18): [True: 3.23M, False: 4.93M]
  ------------------
  202|       |                      /* otherwise */
  203|  8.16M|                      : 0;
  204|  16.1M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9tail_sizeEv:
  194|  3.73M|    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.54M, False: 1.72M]
  ------------------
  213|  1.54M|            visit_maybe_relaxed_sub(root, shift, tail_off, v, args...);
  214|  1.72M|        else
  215|  1.72M|            make_empty_regular_pos(root).visit(v, args...);
  216|       |
  217|  3.27M|        if (tail_size)
  ------------------
  |  Branch (217:13): [True: 1.63M, False: 1.63M]
  ------------------
  218|  1.63M|            make_leaf_sub_pos(tail, tail_size).visit(v, args...);
  219|  1.63M|        else
  220|  1.63M|            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|   429k|    {
  501|   429k|        auto ts = tail_size();
  502|   429k|        if (ts < branches<BL>) {
  ------------------
  |  Branch (502:13): [True: 313k, False: 115k]
  ------------------
  503|   313k|            auto new_tail =
  504|   313k|                node_t::copy_leaf_emplace(tail, ts, std::move(value));
  505|   313k|            return {size + 1, shift, root->inc(), new_tail};
  506|   313k|        } else {
  507|   115k|            using std::get;
  508|   115k|            auto new_tail = node_t::make_leaf_n(1u, std::move(value));
  509|   115k|            auto tail_off = tail_offset();
  510|   115k|            IMMER_TRY {
  ------------------
  |  |   49|   115k|#define IMMER_TRY try
  ------------------
  511|   115k|                auto new_root =
  512|   115k|                    push_tail(root, shift, tail_off, tail, size - tail_off);
  513|   115k|                tail->inc();
  514|   115k|                return {size + 1, get<0>(new_root), get<1>(new_root), new_tail};
  515|   115k|            }
  516|   115k|            IMMER_CATCH (...) {
  517|      0|                node_t::delete_leaf(new_tail, 1u);
  518|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  519|      0|            }
  520|   115k|        }
  521|   429k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2EmjPNS1_4nodeIiSA_Lj2ELj2EEESE_:
  127|  1.63M|        : size{sz}
  128|  1.63M|        , shift{sh}
  129|  1.63M|        , root{r}
  130|  1.63M|        , tail{t}
  131|  1.63M|    {
  132|  1.63M|#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.63M|        try {
  137|  1.63M|            check_tree();
  138|  1.63M|        } 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.63M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_tailEPNS1_4nodeIiSA_Lj2ELj2EEEjmSE_j:
  369|   585k|    {
  370|   585k|        if (auto r = root->relaxed()) {
  ------------------
  |  Branch (370:18): [True: 211k, False: 373k]
  ------------------
  371|   211k|            auto new_root =
  372|   211k|                make_relaxed_pos(root, shift, r)
  373|   211k|                    .visit(push_tail_visitor<node_t>{}, tail, tail_size);
  374|   211k|            if (new_root)
  ------------------
  |  Branch (374:17): [True: 209k, False: 2.00k]
  ------------------
  375|   209k|                return std::make_tuple(shift, new_root);
  376|  2.00k|            else {
  377|  2.00k|                auto new_root = node_t::make_inner_r_n(2);
  378|  2.00k|                IMMER_TRY {
  ------------------
  |  |   49|  2.00k|#define IMMER_TRY try
  ------------------
  379|  2.00k|                    auto new_path        = node_t::make_path(shift, tail);
  380|  2.00k|                    new_root->inner()[0] = root->inc();
  381|  2.00k|                    new_root->inner()[1] = new_path;
  382|  2.00k|                    new_root->relaxed()->d.sizes[0] = size;
  383|  2.00k|                    new_root->relaxed()->d.sizes[1] = size + tail_size;
  384|  2.00k|                    assert(size);
  ------------------
  |  Branch (384:21): [True: 2.00k, False: 0]
  ------------------
  385|  2.00k|                    assert(tail_size);
  ------------------
  |  Branch (385:21): [True: 2.00k, False: 0]
  ------------------
  386|  2.00k|                    new_root->relaxed()->d.count = 2u;
  387|  2.00k|                }
  388|  2.00k|                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.00k|                return std::make_tuple(shift + B, new_root);
  393|  2.00k|            }
  394|   373k|        } else if (size == size_t{branches<B>} << shift) {
  ------------------
  |  Branch (394:20): [True: 5.18k, False: 368k]
  ------------------
  395|  5.18k|            auto new_root = node_t::make_inner_n(2);
  396|  5.18k|            IMMER_TRY {
  ------------------
  |  |   49|  5.18k|#define IMMER_TRY try
  ------------------
  397|  5.18k|                auto new_path        = node_t::make_path(shift, tail);
  398|  5.18k|                new_root->inner()[0] = root->inc();
  399|  5.18k|                new_root->inner()[1] = new_path;
  400|  5.18k|            }
  401|  5.18k|            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.18k|            return std::make_tuple(shift + B, new_root);
  406|   368k|        } else if (size) {
  ------------------
  |  Branch (406:20): [True: 357k, False: 11.0k]
  ------------------
  407|   357k|            auto new_root = make_regular_sub_pos(root, shift, size)
  408|   357k|                                .visit(push_tail_visitor<node_t>{}, tail);
  409|   357k|            return std::make_tuple(shift, new_root);
  410|   357k|        } else {
  411|  11.0k|            return std::make_tuple(shift, node_t::make_path(shift, tail));
  412|  11.0k|        }
  413|   585k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2EOSB_:
  157|  1.55M|        : rrbtree{}
  158|  1.55M|    {
  159|  1.55M|        swap(*this, other);
  160|  1.55M|    }
_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.08M|    {
  171|  2.08M|        swap(*this, other);
  172|  2.08M|        return *this;
  173|  2.08M|    }
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|   136k|    {
  581|   136k|        auto tail_off = tail_offset();
  582|   136k|        if (idx >= tail_off) {
  ------------------
  |  Branch (582:13): [True: 41.1k, False: 95.4k]
  ------------------
  583|  41.1k|            auto tail_size = size - tail_off;
  584|  41.1k|            auto new_tail =
  585|  41.1k|                make_leaf_sub_pos(tail, tail_size)
  586|  41.1k|                    .visit(update_visitor<node_t>{}, idx - tail_off, fn);
  587|  41.1k|            return {size, shift, root->inc(), new_tail};
  588|  95.4k|        } else {
  589|  95.4k|            auto new_root = visit_maybe_relaxed_sub(
  590|  95.4k|                root, shift, tail_off, update_visitor<node_t>{}, idx, fn);
  591|  95.4k|            return {size, shift, new_root, tail->inc()};
  592|  95.4k|        }
  593|   136k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  647|  24.4k|    {
  648|  24.4k|        auto tail_off = tail_offset();
  649|  24.4k|        if (new_size == 0) {
  ------------------
  |  Branch (649:13): [True: 3.42k, False: 21.0k]
  ------------------
  650|  3.42k|            return {};
  651|  21.0k|        } else if (new_size >= size) {
  ------------------
  |  Branch (651:20): [True: 1.50k, False: 19.5k]
  ------------------
  652|  1.50k|            return *this;
  653|  19.5k|        } else if (new_size > tail_off) {
  ------------------
  |  Branch (653:20): [True: 1.56k, False: 17.9k]
  ------------------
  654|  1.56k|            auto new_tail = node_t::copy_leaf(tail, new_size - tail_off);
  655|  1.56k|            return {new_size, shift, root->inc(), new_tail};
  656|  17.9k|        } else {
  657|  17.9k|            using std::get;
  658|  17.9k|            auto l = new_size - 1;
  659|  17.9k|            auto v = slice_right_visitor<node_t>();
  660|  17.9k|            auto r = visit_maybe_relaxed_sub(root, shift, tail_off, v, l);
  661|  17.9k|            auto new_shift = get<0>(r);
  662|  17.9k|            auto new_root  = get<1>(r);
  663|  17.9k|            auto new_tail  = get<3>(r);
  664|  17.9k|            if (new_root) {
  ------------------
  |  Branch (664:17): [True: 13.9k, False: 3.98k]
  ------------------
  665|  13.9k|                IMMER_ASSERT_TAGGED(new_root->compute_shift() == get<0>(r));
  ------------------
  |  |   68|  13.9k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (665:17): [True: 13.9k, False: 0]
  ------------------
  666|  13.9k|                assert(new_root->check(new_shift, new_size - get<2>(r)));
  ------------------
  |  Branch (666:17): [True: 13.9k, False: 0]
  ------------------
  667|  13.9k|                return {new_size, new_shift, new_root, new_tail};
  668|  13.9k|            } else {
  669|  3.98k|                return {new_size, BL, empty_root(), new_tail};
  670|  3.98k|            }
  671|  17.9k|        }
  672|  24.4k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ERKSB_:
  151|  9.81k|        : rrbtree{other.size, other.shift, other.root, other.tail}
  152|  9.81k|    {
  153|  9.81k|        inc();
  154|  9.81k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3incEv:
  187|  9.81k|    {
  188|  9.81k|        root->inc();
  189|  9.81k|        tail->inc();
  190|  9.81k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  711|  26.0k|    {
  712|  26.0k|        if (elems == 0) {
  ------------------
  |  Branch (712:13): [True: 2.28k, False: 23.7k]
  ------------------
  713|  2.28k|            return *this;
  714|  23.7k|        } else if (elems >= size) {
  ------------------
  |  Branch (714:20): [True: 2.23k, False: 21.5k]
  ------------------
  715|  2.23k|            return {};
  716|  21.5k|        } else if (elems == tail_offset()) {
  ------------------
  |  Branch (716:20): [True: 2.21k, False: 19.3k]
  ------------------
  717|  2.21k|            return {size - elems, BL, empty_root(), tail->inc()};
  718|  19.3k|        } else if (elems > tail_offset()) {
  ------------------
  |  Branch (718:20): [True: 1.67k, False: 17.6k]
  ------------------
  719|  1.67k|            auto tail_off = tail_offset();
  720|  1.67k|            auto new_tail =
  721|  1.67k|                node_t::copy_leaf(tail, elems - tail_off, size - tail_off);
  722|  1.67k|            return {size - elems, BL, empty_root(), new_tail};
  723|  17.6k|        } else {
  724|  17.6k|            using std::get;
  725|  17.6k|            auto v = slice_left_visitor<node_t>();
  726|  17.6k|            auto r =
  727|  17.6k|                visit_maybe_relaxed_sub(root, shift, tail_offset(), v, elems);
  728|  17.6k|            auto new_root  = get<1>(r);
  729|  17.6k|            auto new_shift = get<0>(r);
  730|  17.6k|            return {size - elems, new_shift, new_root, tail->inc()};
  731|  17.6k|        }
  732|  26.0k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8max_sizeEv:
   54|  2.17M|    {
   55|  2.17M|        auto S = sizeof(size_t) * 8;
   56|  2.17M|        return ((size_t{1} << BL) - std::min(size_t{BL}, size_t{2})) *
   57|  2.17M|               ipow((size_t{1} << B) - 2, (S - BL) / B);
   58|  2.17M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6concatERKSB_:
  735|   909k|    {
  736|   909k|        assert(r.size + size <= max_size());
  ------------------
  |  Branch (736:9): [True: 909k, False: 0]
  ------------------
  737|   909k|        using std::get;
  738|   909k|        if (size == 0)
  ------------------
  |  Branch (738:13): [True: 2.26k, False: 907k]
  ------------------
  739|  2.26k|            return r;
  740|   907k|        else if (r.size == 0)
  ------------------
  |  Branch (740:18): [True: 1.78k, False: 905k]
  ------------------
  741|  1.78k|            return *this;
  742|   905k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (742:18): [True: 478k, False: 427k]
  ------------------
  743|       |            // just concat the tail, similar to push_back
  744|   478k|            auto tail_offst = tail_offset();
  745|   478k|            auto tail_size  = size - tail_offst;
  746|   478k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (746:17): [True: 132k, False: 346k]
  ------------------
  747|   132k|                auto new_root =
  748|   132k|                    push_tail(root, shift, tail_offst, tail, tail_size);
  749|   132k|                tail->inc();
  750|   132k|                return {size + r.size,
  751|   132k|                        get<0>(new_root),
  752|   132k|                        get<1>(new_root),
  753|   132k|                        r.tail->inc()};
  754|   346k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (754:24): [True: 9.29k, False: 336k]
  ------------------
  755|  9.29k|                auto new_tail =
  756|  9.29k|                    node_t::copy_leaf(tail, tail_size, r.tail, r.size);
  757|  9.29k|                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|   478k|        } else if (tail_offset() == 0) {
  ------------------
  |  Branch (783:20): [True: 3.64k, False: 423k]
  ------------------
  784|  3.64k|            auto tail_offst = tail_offset();
  785|  3.64k|            auto tail_size  = size - tail_offst;
  786|  3.64k|            auto concated =
  787|  3.64k|                concat_trees(tail, tail_size, r.root, r.shift, r.tail_offset());
  788|  3.64k|            auto new_shift = concated.shift();
  789|  3.64k|            auto new_root  = concated.node();
  790|  3.64k|            IMMER_ASSERT_TAGGED(new_shift == new_root->compute_shift());
  ------------------
  |  |   68|  3.64k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (790:13): [True: 3.64k, False: 0]
  ------------------
  791|  3.64k|            assert(new_root->check(new_shift, size + r.tail_offset()));
  ------------------
  |  Branch (791:13): [True: 3.64k, False: 0]
  ------------------
  792|  3.64k|            return {size + r.size, new_shift, new_root, r.tail->inc()};
  793|   423k|        } else {
  794|   423k|            auto tail_offst = tail_offset();
  795|   423k|            auto tail_size  = size - tail_offst;
  796|   423k|            auto concated   = concat_trees(root,
  797|   423k|                                         shift,
  798|   423k|                                         tail_offst,
  799|   423k|                                         tail,
  800|   423k|                                         tail_size,
  801|   423k|                                         r.root,
  802|   423k|                                         r.shift,
  803|   423k|                                         r.tail_offset());
  804|   423k|            auto new_shift  = concated.shift();
  805|   423k|            auto new_root   = concated.node();
  806|   423k|            IMMER_ASSERT_TAGGED(new_shift == new_root->compute_shift());
  ------------------
  |  |   68|   423k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (806:13): [True: 423k, False: 0]
  ------------------
  807|   423k|            assert(new_root->check(new_shift, size + r.tail_offset()));
  ------------------
  |  Branch (807:13): [True: 423k, False: 0]
  ------------------
  808|   423k|            return {size + r.size, new_shift, new_root, r.tail->inc()};
  809|   423k|        }
  810|   909k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13push_back_mutENS9_5applyIS6_E4type4editEi:
  478|  32.2k|    {
  479|  32.2k|        auto ts = tail_size();
  480|  32.2k|        if (ts < branches<BL>) {
  ------------------
  |  Branch (480:13): [True: 18.2k, False: 14.0k]
  ------------------
  481|  18.2k|            ensure_mutable_tail(e, ts);
  482|  18.2k|            new (&tail->leaf()[ts]) T(std::move(value));
  483|  18.2k|        } else {
  484|  14.0k|            using std::get;
  485|  14.0k|            auto new_tail = node_t::make_leaf_e(e, std::move(value));
  486|  14.0k|            auto tail_off = tail_offset();
  487|  14.0k|            IMMER_TRY {
  ------------------
  |  |   49|  14.0k|#define IMMER_TRY try
  ------------------
  488|  14.0k|                push_tail_mut(e, tail_off, tail, ts);
  489|  14.0k|                tail = new_tail;
  490|  14.0k|            }
  491|  14.0k|            IMMER_CATCH (...) {
  492|      0|                node_t::delete_leaf(new_tail, 1u);
  493|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  494|      0|            }
  495|  14.0k|        }
  496|  32.2k|        ++size;
  497|  32.2k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE19ensure_mutable_tailENS9_5applyIS6_E4type4editEj:
  469|   207k|    {
  470|   207k|        if (!tail->can_mutate(e)) {
  ------------------
  |  Branch (470:13): [True: 4.43k, False: 202k]
  ------------------
  471|  4.43k|            auto new_tail = node_t::copy_leaf_e(e, tail, n);
  472|  4.43k|            dec_leaf(tail, n);
  473|  4.43k|            tail = new_tail;
  474|  4.43k|        }
  475|   207k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13push_tail_mutENS9_5applyIS6_E4type4editEmPNS1_4nodeIiSA_Lj2ELj2EEEj:
  417|   228k|    {
  418|   228k|        if (auto r = root->relaxed()) {
  ------------------
  |  Branch (418:18): [True: 62.0k, False: 166k]
  ------------------
  419|  62.0k|            auto new_root =
  420|  62.0k|                make_relaxed_pos(root, shift, r)
  421|  62.0k|                    .visit(push_tail_mut_visitor<node_t>{}, e, tail, tail_size);
  422|  62.0k|            if (new_root) {
  ------------------
  |  Branch (422:17): [True: 60.8k, False: 1.13k]
  ------------------
  423|  60.8k|                root = new_root;
  424|  60.8k|            } else {
  425|  1.13k|                auto new_root = node_t::make_inner_r_e(e);
  426|  1.13k|                IMMER_TRY {
  ------------------
  |  |   49|  1.13k|#define IMMER_TRY try
  ------------------
  427|  1.13k|                    auto new_path        = node_t::make_path_e(e, shift, tail);
  428|  1.13k|                    new_root->inner()[0] = root;
  429|  1.13k|                    new_root->inner()[1] = new_path;
  430|  1.13k|                    new_root->relaxed()->d.sizes[0] = tail_off;
  431|  1.13k|                    new_root->relaxed()->d.sizes[1] = tail_off + tail_size;
  432|  1.13k|                    assert(tail_off);
  ------------------
  |  Branch (432:21): [True: 1.13k, False: 0]
  ------------------
  433|  1.13k|                    assert(tail_size);
  ------------------
  |  Branch (433:21): [True: 1.13k, False: 0]
  ------------------
  434|  1.13k|                    new_root->relaxed()->d.count = 2u;
  435|  1.13k|                    root                         = new_root;
  436|  1.13k|                    shift += B;
  437|  1.13k|                }
  438|  1.13k|                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.13k|            }
  443|   166k|        } else if (tail_off == size_t{branches<B>} << shift) {
  ------------------
  |  Branch (443:20): [True: 3.02k, False: 163k]
  ------------------
  444|  3.02k|            auto new_root = node_t::make_inner_e(e);
  445|  3.02k|            IMMER_TRY {
  ------------------
  |  |   49|  3.02k|#define IMMER_TRY try
  ------------------
  446|  3.02k|                auto new_path        = node_t::make_path_e(e, shift, tail);
  447|  3.02k|                new_root->inner()[0] = root;
  448|  3.02k|                new_root->inner()[1] = new_path;
  449|  3.02k|                root                 = new_root;
  450|  3.02k|                shift += B;
  451|  3.02k|            }
  452|  3.02k|            IMMER_CATCH (...) {
  453|      0|                node_t::delete_inner_e(new_root);
  454|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  455|      0|            }
  456|   163k|        } else if (tail_off) {
  ------------------
  |  Branch (456:20): [True: 161k, False: 1.93k]
  ------------------
  457|   161k|            auto new_root =
  458|   161k|                make_regular_sub_pos(root, shift, tail_off)
  459|   161k|                    .visit(push_tail_mut_visitor<node_t>{}, e, tail);
  460|   161k|            root = new_root;
  461|   161k|        } else {
  462|  1.93k|            auto new_root = node_t::make_path_e(e, shift, tail);
  463|  1.93k|            dec_empty_regular(root);
  464|  1.93k|            root = new_root;
  465|  1.93k|        }
  466|   228k|    }
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|  55.8k|    {
  574|  55.8k|        auto& elem = get_mut(e, idx);
  575|  55.8k|        elem       = std::forward<FnT>(fn)(std::move(elem));
  576|  55.8k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7get_mutENS9_5applyIS6_E4type4editEm:
  539|  55.8k|    {
  540|  55.8k|        auto tail_off = tail_offset();
  541|  55.8k|        if (idx >= tail_off) {
  ------------------
  |  Branch (541:13): [True: 33.2k, False: 22.6k]
  ------------------
  542|  33.2k|            ensure_mutable_tail(e, size - tail_off);
  543|  33.2k|            return tail->leaf()[(idx - tail_off) & mask<BL>];
  544|  33.2k|        } else {
  545|  22.6k|            return visit_maybe_relaxed_sub(root,
  546|  22.6k|                                           shift,
  547|  22.6k|                                           tail_off,
  548|  22.6k|                                           get_mut_visitor<node_t>{},
  549|  22.6k|                                           idx,
  550|  22.6k|                                           e,
  551|  22.6k|                                           &root);
  552|  22.6k|        }
  553|  55.8k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8take_mutENS9_5applyIS6_E4type4editEm:
  606|  37.3k|    {
  607|  37.3k|        auto tail_off = tail_offset();
  608|  37.3k|        if (new_size == 0) {
  ------------------
  |  Branch (608:13): [True: 600, False: 36.7k]
  ------------------
  609|    600|            *this = {};
  610|  36.7k|        } else if (new_size >= size) {
  ------------------
  |  Branch (610:20): [True: 1.20k, False: 35.5k]
  ------------------
  611|  1.20k|            return;
  612|  35.5k|        } else if (new_size > tail_off) {
  ------------------
  |  Branch (612:20): [True: 689, False: 34.9k]
  ------------------
  613|    689|            auto ts    = size - tail_off;
  614|    689|            auto newts = new_size - tail_off;
  615|    689|            if (tail->can_mutate(e)) {
  ------------------
  |  Branch (615:17): [True: 397, False: 292]
  ------------------
  616|    397|                detail::destroy_n(tail->leaf() + newts, ts - newts);
  617|    397|            } else {
  618|    292|                auto new_tail = node_t::copy_leaf_e(e, tail, newts);
  619|    292|                dec_leaf(tail, ts);
  620|    292|                tail = new_tail;
  621|    292|            }
  622|    689|            size = new_size;
  623|    689|            return;
  624|  34.9k|        } else {
  625|  34.9k|            using std::get;
  626|  34.9k|            auto l = new_size - 1;
  627|  34.9k|            auto v = slice_right_mut_visitor<node_t>();
  628|  34.9k|            auto r = visit_maybe_relaxed_sub(root, shift, tail_off, v, l, e);
  629|  34.9k|            auto new_shift = get<0>(r);
  630|  34.9k|            auto new_root  = get<1>(r);
  631|  34.9k|            auto new_tail  = get<3>(r);
  632|  34.9k|            if (new_root) {
  ------------------
  |  Branch (632:17): [True: 29.0k, False: 5.82k]
  ------------------
  633|  29.0k|                root  = new_root;
  634|  29.0k|                shift = new_shift;
  635|  29.0k|            } else {
  636|  5.82k|                root  = empty_root();
  637|  5.82k|                shift = BL;
  638|  5.82k|            }
  639|  34.9k|            dec_leaf(tail, size - tail_off);
  640|  34.9k|            size = new_size;
  641|  34.9k|            tail = new_tail;
  642|  34.9k|            return;
  643|  34.9k|        }
  644|  37.3k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8drop_mutENS9_5applyIS6_E4type4editEm:
  675|  39.9k|    {
  676|  39.9k|        using std::get;
  677|  39.9k|        auto tail_off = tail_offset();
  678|  39.9k|        if (elems == 0) {
  ------------------
  |  Branch (678:13): [True: 1.99k, False: 37.9k]
  ------------------
  679|  1.99k|            return;
  680|  37.9k|        } else if (elems >= size) {
  ------------------
  |  Branch (680:20): [True: 258, False: 37.7k]
  ------------------
  681|    258|            *this = {};
  682|  37.7k|        } else if (elems == tail_off) {
  ------------------
  |  Branch (682:20): [True: 248, False: 37.4k]
  ------------------
  683|    248|            dec_inner(root, shift, tail_off);
  684|    248|            shift = BL;
  685|    248|            root  = empty_root();
  686|    248|            size -= elems;
  687|    248|            return;
  688|  37.4k|        } else if (elems > tail_off) {
  ------------------
  |  Branch (688:20): [True: 688, False: 36.7k]
  ------------------
  689|    688|            auto v = slice_left_mut_visitor<node_t>();
  690|    688|            tail   = get<1>(make_leaf_sub_pos(tail, size - tail_off)
  691|    688|                              .visit(v, elems - tail_off, e));
  692|    688|            if (tail_off) {
  ------------------
  |  Branch (692:17): [True: 260, False: 428]
  ------------------
  693|    260|                dec_inner(root, shift, tail_off);
  694|    260|                shift = BL;
  695|    260|                root  = empty_root();
  696|    260|            }
  697|    688|            size -= elems;
  698|    688|            return;
  699|  36.7k|        } else {
  700|  36.7k|            auto v = slice_left_mut_visitor<node_t>();
  701|  36.7k|            auto r =
  702|  36.7k|                visit_maybe_relaxed_sub(root, shift, tail_off, v, elems, e);
  703|  36.7k|            shift = get<0>(r);
  704|  36.7k|            root  = get<1>(r);
  705|  36.7k|            size -= elems;
  706|  36.7k|            return;
  707|  36.7k|        }
  708|  39.9k|    }
_ZN5immer6detail4rbts12concat_mut_lERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS9_5applyIS6_E4type4editERKSB_:
  816|   303k|    {
  817|   303k|        assert(&l != &r);
  ------------------
  |  Branch (817:9): [True: 303k, False: 0]
  ------------------
  818|   303k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (818:9): [True: 303k, False: 0]
  ------------------
  819|   303k|        using std::get;
  820|   303k|        if (l.size == 0)
  ------------------
  |  Branch (820:13): [True: 290, False: 302k]
  ------------------
  821|    290|            l = r;
  822|   302k|        else if (r.size == 0)
  ------------------
  |  Branch (822:18): [True: 319, False: 302k]
  ------------------
  823|    319|            return;
  824|   302k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (824:18): [True: 212k, False: 90.2k]
  ------------------
  825|       |            // just concat the tail, similar to push_back
  826|   212k|            auto tail_offst = l.tail_offset();
  827|   212k|            auto tail_size  = l.size - tail_offst;
  828|   212k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (828:17): [True: 60.6k, False: 151k]
  ------------------
  829|  60.6k|                l.push_tail_mut(el, tail_offst, l.tail, tail_size);
  830|  60.6k|                l.tail = r.tail->inc();
  831|  60.6k|                l.size += r.size;
  832|  60.6k|                return;
  833|   151k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (833:24): [True: 754, False: 150k]
  ------------------
  834|    754|                l.ensure_mutable_tail(el, tail_size);
  835|    754|                detail::uninitialized_copy(r.tail->leaf(),
  836|    754|                                           r.tail->leaf() + r.size,
  837|    754|                                           l.tail->leaf() + tail_size);
  838|    754|                l.size += r.size;
  839|    754|                return;
  840|   150k|            } else {
  841|   150k|                auto remaining = branches<BL> - tail_size;
  842|   150k|                l.ensure_mutable_tail(el, tail_size);
  843|   150k|                detail::uninitialized_copy(r.tail->leaf(),
  844|   150k|                                           r.tail->leaf() + remaining,
  845|   150k|                                           l.tail->leaf() + tail_size);
  846|   150k|                IMMER_TRY {
  ------------------
  |  |   49|   150k|#define IMMER_TRY try
  ------------------
  847|   150k|                    auto new_tail =
  848|   150k|                        node_t::copy_leaf_e(el, r.tail, remaining, r.size);
  849|   150k|                    IMMER_TRY {
  ------------------
  |  |   49|   150k|#define IMMER_TRY try
  ------------------
  850|   150k|                        l.push_tail_mut(el, tail_offst, l.tail, branches<BL>);
  851|   150k|                        l.tail = new_tail;
  852|   150k|                        l.size += r.size;
  853|   150k|                        return;
  854|   150k|                    }
  855|   150k|                    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|   150k|                }
  860|   150k|                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|   150k|            }
  865|   212k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (865:20): [True: 474, False: 89.7k]
  ------------------
  866|    474|            if (supports_transient_concat) {
  ------------------
  |  Branch (866:17): [Folded, False: 474]
  ------------------
  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|    474|            } else {
  886|    474|                auto tail_offst = l.tail_offset();
  887|    474|                auto tail_size  = l.size - tail_offst;
  888|    474|                auto concated   = concat_trees(
  889|    474|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
  890|    474|                l = {l.size + r.size,
  891|    474|                     concated.shift(),
  892|    474|                     concated.node(),
  893|    474|                     r.tail->inc()};
  894|    474|                assert(l.check_tree());
  ------------------
  |  Branch (894:17): [True: 474, False: 0]
  ------------------
  895|    474|                return;
  896|    474|            }
  897|  89.7k|        } else {
  898|  89.7k|            if (supports_transient_concat) {
  ------------------
  |  Branch (898:17): [Folded, False: 89.7k]
  ------------------
  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|  89.7k|            } else {
  923|  89.7k|                auto tail_offst = l.tail_offset();
  924|  89.7k|                auto tail_size  = l.size - tail_offst;
  925|  89.7k|                auto concated   = concat_trees(l.root,
  926|  89.7k|                                             l.shift,
  927|  89.7k|                                             tail_offst,
  928|  89.7k|                                             l.tail,
  929|  89.7k|                                             tail_size,
  930|  89.7k|                                             r.root,
  931|  89.7k|                                             r.shift,
  932|  89.7k|                                             r.tail_offset());
  933|  89.7k|                l               = {l.size + r.size,
  934|  89.7k|                                   concated.shift(),
  935|  89.7k|                                   concated.node(),
  936|  89.7k|                                   r.tail->inc()};
  937|  89.7k|            }
  938|  89.7k|        }
  939|   303k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEaSERKSB_:
  163|  1.97k|    {
  164|  1.97k|        auto next{other};
  165|  1.97k|        swap(*this, next);
  166|  1.97k|        return *this;
  167|  1.97k|    }
_ZN5immer6detail4rbts12concat_mut_rERKNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERSB_NS9_5applyIS6_E4type4editE:
  942|  3.63k|    {
  943|  3.63k|        assert(&l != &r);
  ------------------
  |  Branch (943:9): [True: 3.63k, False: 0]
  ------------------
  944|  3.63k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (944:9): [True: 3.63k, False: 0]
  ------------------
  945|  3.63k|        using std::get;
  946|  3.63k|        if (r.size == 0)
  ------------------
  |  Branch (946:13): [True: 336, False: 3.29k]
  ------------------
  947|    336|            r = std::move(l);
  948|  3.29k|        else if (l.size == 0)
  ------------------
  |  Branch (948:18): [True: 244, False: 3.05k]
  ------------------
  949|    244|            return;
  950|  3.05k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (950:18): [True: 981, False: 2.07k]
  ------------------
  951|       |            // just concat the tail, similar to push_back
  952|    981|            auto tail_offst = l.tail_offset();
  953|    981|            auto tail_size  = l.size - tail_offst;
  954|    981|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (954:17): [True: 245, False: 736]
  ------------------
  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|    245|                auto res =
  959|    245|                    l.push_tail(l.root, l.shift, tail_offst, l.tail, tail_size);
  960|    245|                l.tail->inc(); // note: leak if mutably concatenated
  961|       |                               // with itself, but this is forbidden
  962|       |                               // by the interface
  963|    245|                r = {l.size + r.size, get<0>(res), get<1>(res), r.tail->inc()};
  964|    245|                return;
  965|    736|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (965:24): [True: 364, False: 372]
  ------------------
  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|    364|                auto new_tail =
  974|    364|                    node_t::copy_leaf(l.tail, tail_size, r.tail, r.size);
  975|    364|                r = {l.size + r.size, l.shift, l.root->inc(), new_tail};
  976|    364|                return;
  977|    372|            } else {
  978|       |                // like the immutable version
  979|    372|                auto remaining = branches<BL> - tail_size;
  980|    372|                auto add_tail  = node_t::copy_leaf_e(
  981|    372|                    er, l.tail, tail_size, r.tail, remaining);
  982|    372|                IMMER_TRY {
  ------------------
  |  |   49|    372|#define IMMER_TRY try
  ------------------
  983|    372|                    auto new_tail =
  984|    372|                        node_t::copy_leaf_e(er, r.tail, remaining, r.size);
  985|    372|                    IMMER_TRY {
  ------------------
  |  |   49|    372|#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|    372|                        auto new_root = l.push_tail(l.root,
  990|    372|                                                    l.shift,
  991|    372|                                                    tail_offst,
  992|    372|                                                    add_tail,
  993|    372|                                                    branches<BL>);
  994|    372|                        r             = {l.size + r.size,
  995|    372|                                         get<0>(new_root),
  996|    372|                                         get<1>(new_root),
  997|    372|                                         new_tail};
  998|    372|                        return;
  999|    372|                    }
 1000|    372|                    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|    372|                }
 1005|    372|                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|    372|            }
 1010|  2.07k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (1010:20): [True: 517, False: 1.55k]
  ------------------
 1011|    517|            if (supports_transient_concat) {
  ------------------
  |  Branch (1011:17): [Folded, False: 517]
  ------------------
 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|    517|            } else {
 1030|    517|                auto tail_offst = l.tail_offset();
 1031|    517|                auto tail_size  = l.size - tail_offst;
 1032|    517|                auto concated   = concat_trees(
 1033|    517|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
 1034|    517|                r = {l.size + r.size,
 1035|    517|                     concated.shift(),
 1036|    517|                     concated.node(),
 1037|    517|                     r.tail->inc()};
 1038|    517|                return;
 1039|    517|            }
 1040|  1.55k|        } else {
 1041|  1.55k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1041:17): [Folded, False: 1.55k]
  ------------------
 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.55k|            } else {
 1064|  1.55k|                auto tail_offst = l.tail_offset();
 1065|  1.55k|                auto tail_size  = l.size - tail_offst;
 1066|  1.55k|                auto concated   = concat_trees(l.root,
 1067|  1.55k|                                             l.shift,
 1068|  1.55k|                                             tail_offst,
 1069|  1.55k|                                             l.tail,
 1070|  1.55k|                                             tail_size,
 1071|  1.55k|                                             r.root,
 1072|  1.55k|                                             r.shift,
 1073|  1.55k|                                             r.tail_offset());
 1074|  1.55k|                r               = {l.size + r.size,
 1075|  1.55k|                                   concated.shift(),
 1076|  1.55k|                                   concated.node(),
 1077|  1.55k|                                   r.tail->inc()};
 1078|  1.55k|                return;
 1079|  1.55k|            }
 1080|  1.55k|        }
 1081|  3.63k|    }
_ZN5immer6detail4rbts15concat_mut_lr_lERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS9_5applyIS6_E4type4editESC_SG_:
 1084|  24.6k|    {
 1085|  24.6k|        assert(&l != &r);
  ------------------
  |  Branch (1085:9): [True: 24.6k, False: 0]
  ------------------
 1086|  24.6k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (1086:9): [True: 24.6k, False: 0]
  ------------------
 1087|  24.6k|        using std::get;
 1088|  24.6k|        if (l.size == 0)
  ------------------
  |  Branch (1088:13): [True: 1.34k, False: 23.3k]
  ------------------
 1089|  1.34k|            l = r;
 1090|  23.3k|        else if (r.size == 0)
  ------------------
  |  Branch (1090:18): [True: 1.77k, False: 21.5k]
  ------------------
 1091|  1.77k|            return;
 1092|  21.5k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (1092:18): [True: 4.95k, False: 16.5k]
  ------------------
 1093|       |            // just concat the tail, similar to push_back
 1094|  4.95k|            auto tail_offst = l.tail_offset();
 1095|  4.95k|            auto tail_size  = l.size - tail_offst;
 1096|  4.95k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (1096:17): [True: 996, False: 3.95k]
  ------------------
 1097|    996|                l.push_tail_mut(el, tail_offst, l.tail, tail_size);
 1098|    996|                l.tail = r.tail->inc();
 1099|    996|                l.size += r.size;
 1100|    996|                return;
 1101|  3.95k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (1101:24): [True: 2.05k, False: 1.90k]
  ------------------
 1102|  2.05k|                l.ensure_mutable_tail(el, tail_size);
 1103|  2.05k|                if (r.tail->can_mutate(er))
  ------------------
  |  Branch (1103:21): [True: 633, False: 1.41k]
  ------------------
 1104|    633|                    detail::uninitialized_move(r.tail->leaf(),
 1105|    633|                                               r.tail->leaf() + r.size,
 1106|    633|                                               l.tail->leaf() + tail_size);
 1107|  1.41k|                else
 1108|  1.41k|                    detail::uninitialized_copy(r.tail->leaf(),
 1109|  1.41k|                                               r.tail->leaf() + r.size,
 1110|  1.41k|                                               l.tail->leaf() + tail_size);
 1111|  2.05k|                l.size += r.size;
 1112|  2.05k|                return;
 1113|  2.05k|            } else {
 1114|  1.90k|                auto remaining = branches<BL> - tail_size;
 1115|  1.90k|                l.ensure_mutable_tail(el, tail_size);
 1116|  1.90k|                if (r.tail->can_mutate(er))
  ------------------
  |  Branch (1116:21): [True: 589, False: 1.31k]
  ------------------
 1117|    589|                    detail::uninitialized_move(r.tail->leaf(),
 1118|    589|                                               r.tail->leaf() + remaining,
 1119|    589|                                               l.tail->leaf() + tail_size);
 1120|  1.31k|                else
 1121|  1.31k|                    detail::uninitialized_copy(r.tail->leaf(),
 1122|  1.31k|                                               r.tail->leaf() + remaining,
 1123|  1.31k|                                               l.tail->leaf() + tail_size);
 1124|  1.90k|                IMMER_TRY {
  ------------------
  |  |   49|  1.90k|#define IMMER_TRY try
  ------------------
 1125|  1.90k|                    auto new_tail =
 1126|  1.90k|                        node_t::copy_leaf_e(el, r.tail, remaining, r.size);
 1127|  1.90k|                    IMMER_TRY {
  ------------------
  |  |   49|  1.90k|#define IMMER_TRY try
  ------------------
 1128|  1.90k|                        l.push_tail_mut(el, tail_offst, l.tail, branches<BL>);
 1129|  1.90k|                        l.tail = new_tail;
 1130|  1.90k|                        l.size += r.size;
 1131|  1.90k|                        return;
 1132|  1.90k|                    }
 1133|  1.90k|                    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|  1.90k|                }
 1138|  1.90k|                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|  1.90k|            }
 1143|  16.5k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (1143:20): [True: 3.35k, False: 13.2k]
  ------------------
 1144|  3.35k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1144:17): [Folded, False: 3.35k]
  ------------------
 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.35k|            } else {
 1165|  3.35k|                auto tail_offst = l.tail_offset();
 1166|  3.35k|                auto tail_size  = l.size - tail_offst;
 1167|  3.35k|                auto concated   = concat_trees(
 1168|  3.35k|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
 1169|  3.35k|                l = {l.size + r.size,
 1170|  3.35k|                     concated.shift(),
 1171|  3.35k|                     concated.node(),
 1172|  3.35k|                     r.tail->inc()};
 1173|  3.35k|                return;
 1174|  3.35k|            }
 1175|  13.2k|        } else {
 1176|  13.2k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1176:17): [Folded, False: 13.2k]
  ------------------
 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.2k|            } else {
 1200|  13.2k|                auto tail_offst = l.tail_offset();
 1201|  13.2k|                auto tail_size  = l.size - tail_offst;
 1202|  13.2k|                auto concated   = concat_trees(l.root,
 1203|  13.2k|                                             l.shift,
 1204|  13.2k|                                             tail_offst,
 1205|  13.2k|                                             l.tail,
 1206|  13.2k|                                             tail_size,
 1207|  13.2k|                                             r.root,
 1208|  13.2k|                                             r.shift,
 1209|  13.2k|                                             r.tail_offset());
 1210|  13.2k|                l               = {l.size + r.size,
 1211|  13.2k|                                   concated.shift(),
 1212|  13.2k|                                   concated.node(),
 1213|  13.2k|                                   r.tail->inc()};
 1214|  13.2k|                return;
 1215|  13.2k|            }
 1216|  13.2k|        }
 1217|  24.6k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6equalsERKSB_:
  315|  29.7k|    {
  316|  29.7k|        using iter_t = rrbtree_iterator<T, MemoryPolicy, B, BL>;
  317|  29.7k|        if (size != other.size)
  ------------------
  |  Branch (317:13): [True: 9.99k, False: 19.7k]
  ------------------
  318|  9.99k|            return false;
  319|  19.7k|        if (size == 0)
  ------------------
  |  Branch (319:13): [True: 219, False: 19.5k]
  ------------------
  320|    219|            return true;
  321|  19.5k|        auto tail_off       = tail_offset();
  322|  19.5k|        auto tail_off_other = other.tail_offset();
  323|       |        // compare trees
  324|  19.5k|        if (tail_off > 0 && tail_off_other > 0) {
  ------------------
  |  Branch (324:13): [True: 18.6k, False: 938]
  |  Branch (324:29): [True: 18.4k, 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|  18.4k|            if (other.shift >= shift) {
  ------------------
  |  Branch (328:17): [True: 17.6k, False: 786]
  ------------------
  329|  17.6k|                if (!visit_maybe_relaxed_sub(other.root,
  ------------------
  |  Branch (329:21): [True: 8.33k, False: 9.32k]
  ------------------
  330|  17.6k|                                             other.shift,
  331|  17.6k|                                             tail_off_other,
  332|  17.6k|                                             equals_visitor::rrb{},
  333|  17.6k|                                             iter_t{other},
  334|  17.6k|                                             root,
  335|  17.6k|                                             shift,
  336|  17.6k|                                             tail_off))
  337|  8.33k|                    return false;
  338|  17.6k|            } else {
  339|    786|                if (!visit_maybe_relaxed_sub(root,
  ------------------
  |  Branch (339:21): [True: 410, False: 376]
  ------------------
  340|    786|                                             shift,
  341|    786|                                             tail_off,
  342|    786|                                             equals_visitor::rrb{},
  343|    786|                                             iter_t{*this},
  344|    786|                                             other.root,
  345|    786|                                             other.shift,
  346|    786|                                             tail_off_other))
  347|    410|                    return false;
  348|    786|            }
  349|  18.4k|        }
  350|  10.8k|        return tail_off == tail_off_other
  ------------------
  |  Branch (350:16): [True: 6.98k, False: 3.84k]
  ------------------
  351|  10.8k|                   ? make_leaf_sub_pos(tail, tail_size())
  352|  6.98k|                         .visit(equals_visitor{}, other.tail)
  353|  10.8k|               : tail_off > tail_off_other
  ------------------
  |  Branch (353:18): [True: 1.67k, False: 2.17k]
  ------------------
  354|  3.84k|                   ? std::equal(tail->leaf(),
  355|  1.67k|                                tail->leaf() + (size - tail_off),
  356|  1.67k|                                other.tail->leaf() +
  357|  1.67k|                                    (tail_off - tail_off_other))
  358|       |                   /* otherwise */
  359|  3.84k|                   : std::equal(tail->leaf(),
  360|  2.17k|                                tail->leaf() + (size - tail_off),
  361|  2.17k|                                iter_t{other} + tail_off);
  362|  19.5k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10region_forEm:
  524|  1.34M|    {
  525|  1.34M|        using std::get;
  526|  1.34M|        auto tail_off = tail_offset();
  527|  1.34M|        if (idx >= tail_off) {
  ------------------
  |  Branch (527:13): [True: 4.07k, False: 1.33M]
  ------------------
  528|  4.07k|            return std::make_tuple(tail->leaf(), tail_off, size);
  529|  1.33M|        } else {
  530|  1.33M|            auto subs = visit_maybe_relaxed_sub(
  531|  1.33M|                root, shift, tail_off, region_for_visitor<T>(), idx);
  532|  1.33M|            auto first = idx - get<1>(subs);
  533|  1.33M|            auto end   = first + get<2>(subs);
  534|  1.33M|            return std::make_tuple(get<0>(subs), first, end);
  535|  1.33M|        }
  536|  1.34M|    }

_ZNK5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11dereferenceEv:
   90|  5.38M|    {
   91|  5.38M|        using std::get;
   92|  5.38M|        if (i_ < get<1>(curr_) || i_ >= get<2>(curr_))
  ------------------
  |  Branch (92:13): [True: 38.0k, False: 5.34M]
  |  Branch (92:35): [True: 1.30M, False: 4.03M]
  ------------------
   93|  1.34M|            curr_ = v_->region_for(i_);
   94|  5.38M|        return get<0>(curr_)[i_ - get<1>(curr_)];
   95|  5.38M|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7advanceEl:
   74|   219k|    {
   75|   219k|        using std::get;
   76|   219k|        assert(n <= 0 || i_ + static_cast<size_t>(n) <= v_->size);
  ------------------
  |  Branch (76:9): [True: 425, False: 219k]
  |  Branch (76:9): [True: 219k, False: 0]
  |  Branch (76:9): [True: 219k, False: 0]
  ------------------
   77|   219k|        assert(n >= 0 || static_cast<size_t>(-n) <= i_);
  ------------------
  |  Branch (77:9): [True: 219k, False: 0]
  |  Branch (77:9): [True: 0, False: 0]
  |  Branch (77:9): [True: 219k, False: 0]
  ------------------
   78|   219k|        i_ += n;
   79|   219k|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9incrementEv:
   60|  4.06M|    {
   61|  4.06M|        using std::get;
   62|  4.06M|        assert(i_ < v_->size);
  ------------------
  |  Branch (62:9): [True: 4.06M, False: 0]
  ------------------
   63|  4.06M|        ++i_;
   64|  4.06M|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ERKNS1_7rrbtreeIiSA_Lj2ELj2EEE:
   39|  20.6k|        : v_{&v}
   40|  20.6k|        , i_{0}
   41|  20.6k|        , curr_{nullptr, ~size_t{}, ~size_t{}}
   42|  20.6k|    {
   43|  20.6k|    }

_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|  14.4k|    {
   32|  14.4k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  14.4k|    }
_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|  39.7k|    {
   32|  39.7k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  39.7k|    }
_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.06k|    {
   38|  2.06k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.06k|    }
_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|  5.59k|    {
   38|  5.59k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  5.59k|    }
_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.66k|    {
   38|  7.66k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  7.66k|    }
_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.48k|    {
   38|  1.48k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.48k|    }
_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.28k|    {
   38|  2.28k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.28k|    }
_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|  7.99k|    {
   38|  7.99k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  7.99k|    }
_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|  7.99k|    {
   44|  7.99k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  7.99k|    }
_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.54k|    {
   32|  5.54k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  5.54k|    }
_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.54k|    {
   44|  5.54k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  5.54k|    }
_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.0M|    {
   32|  21.0M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  21.0M|    }
_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.0M|    {
   44|  21.0M|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  21.0M|    }
_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.0M|    {
   32|  21.0M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  21.0M|    }
_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.0k|    {
   32|  17.0k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  17.0k|    }
_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|    399|    {
   38|    399|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    399|    }
_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.01k|    {
   38|  1.01k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.01k|    }
_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.15M|    {
   50|  1.15M|        return Deriv::visit_node(std::forward<Args>(args)...);
   51|  1.15M|    }
_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|   802k|    {
   38|   802k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   802k|    }
_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|   802k|    {
   44|   802k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   802k|    }
_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|   802k|    {
   38|   802k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   802k|    }
_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|   722k|    {
   38|   722k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   722k|    }
_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|   722k|    {
   44|   722k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   722k|    }
_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|   722k|    {
   38|   722k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   722k|    }
_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.45k|    {
   38|  2.45k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.45k|    }
_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.45k|    {
   44|  2.45k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  2.45k|    }
_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|   513k|    {
   32|   513k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   513k|    }
_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|   513k|    {
   44|   513k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   513k|    }
_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|   500k|    {
   32|   500k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   500k|    }
_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|   500k|    {
   44|   500k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   500k|    }
_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|  4.89k|    {
   38|  4.89k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  4.89k|    }
_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|   685k|    {
   32|   685k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   685k|    }
_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|   133k|    {
   38|   133k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   133k|    }
_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.16k|    {
   38|  1.16k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.16k|    }
_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|   135k|    {
   38|   135k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   135k|    }
_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|  68.8k|    {
   38|  68.8k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  68.8k|    }
_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|  65.9k|    {
   38|  65.9k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  65.9k|    }
_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|   808k|    {
   38|   808k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   808k|    }
_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.83M|    {
   32|  1.83M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.83M|    }
_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|    704|    {
   38|    704|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    704|    }
_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|  46.1k|    {
   32|  46.1k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  46.1k|    }
_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|  1.83k|    {
   38|  1.83k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.83k|    }
_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|    364|    {
   32|    364|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    364|    }
_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|    400|    {
   32|    400|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    400|    }
_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|  13.4k|    {
   38|  13.4k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  13.4k|    }
_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|  13.4k|    {
   44|  13.4k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  13.4k|    }
_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.5k|    {
   38|  14.5k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  14.5k|    }
_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.5k|    {
   44|  14.5k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  14.5k|    }
_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|  7.00k|    {
   32|  7.00k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  7.00k|    }
_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|  7.00k|    {
   44|  7.00k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  7.00k|    }
_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|  7.49k|    {
   38|  7.49k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  7.49k|    }
_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|  7.49k|    {
   44|  7.49k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  7.49k|    }
_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.3k|    {
   32|  21.3k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  21.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_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_15regular_sub_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   31|  2.30k|    {
   32|  2.30k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  2.30k|    }
_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|    859|    {
   32|    859|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    859|    }
_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.14k|    {
   38|  1.14k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.14k|    }
_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.18M|    {
   32|  9.18M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  9.18M|    }
_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|   344k|    {
   38|   344k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   344k|    }
_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|   998k|    {
   38|   998k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   998k|    }
_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|   104k|    {
   38|   104k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   104k|    }
_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|  89.5k|    {
   38|  89.5k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  89.5k|    }
_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|    728|    {
   38|    728|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    728|    }
_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|  17.0k|    {
   38|  17.0k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  17.0k|    }
_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|  5.74k|    {
   38|  5.74k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  5.74k|    }
_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.50k|    {
   38|  2.50k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.50k|    }
_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.72k|    {
   38|  2.72k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.72k|    }
_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|   603k|    {
   32|   603k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   603k|    }
_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.48k|    {
   32|  1.48k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.48k|    }
_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.48k|    {
   44|  1.48k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  1.48k|    }
_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.06k|    {
   38|  6.06k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.06k|    }
_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.06k|    {
   44|  6.06k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  6.06k|    }

_ZN5immer6detail15auto_const_castINS_15refcount_policyEEERT_RKS3_:
  143|   120M|{
  144|   120M|    return const_cast<T&>(x);
  145|   120M|}
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7inner_tEPSC_Lb0EE15get_storage_ptrEv:
  113|   112M|    {
  114|   112M|        check_base();
  115|   112M|        auto* base = static_cast<Derived*>(this);
  116|   112M|        return reinterpret_cast<T*>(base + 1);
  117|   112M|    }
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7inner_tEPSC_Lb0EE10check_baseEv:
  134|   112M|    {
  135|   112M|        static_assert(std::is_standard_layout<Derived>::value &&
  136|   112M|                          !std::is_empty<Derived>::value,
  137|   112M|                      "Please add 'true' if the derived class is emtpy");
  138|   112M|    }
_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.0M|{
  330|  12.0M|    std::forward<F>(f)(empty_t{});
  331|  12.0M|}
_ZN5immer6detail9destroy_nIPijEENSt3__19enable_ifIX20can_trivially_detroyIT_EES5_E4typeES5_T0_:
  188|  1.57M|{
  189|  1.57M|    return first + n;
  190|  1.57M|}
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6leaf_tEiLb1EE15get_storage_ptrEv:
   75|  10.9M|    {
   76|  10.9M|        check_base();
   77|  10.9M|        return reinterpret_cast<T*>(this);
   78|  10.9M|    }
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6leaf_tEiLb1EE10check_baseEv:
   94|  10.9M|    {
   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.9M|        static_assert(std::is_standard_layout<Derived>::value,
  100|  10.9M|                      "Please remove 'true' if the derived class is non emtpy");
  101|  10.9M|    }
_ZN5immer6detail18uninitialized_copyIPiS2_S2_EENSt3__19enable_ifIX18can_trivially_copyIT_T1_EES6_E4typeES5_T0_S6_:
  236|  1.98M|{
  237|  1.98M|    return std::copy(first, last, out);
  238|  1.98M|}
_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|   308k|{
  345|   308k|    return std::forward<F2>(f2)(empty_t{});
  346|   308k|}
_ZN5immer6detail4ipowImEET_S2_j:
  323|  69.6M|{
  324|  69.6M|    return pow == 0 ? 1 : num * ipow(num, pow - 1);
  ------------------
  |  Branch (324:12): [True: 2.17M, False: 67.4M]
  ------------------
  325|  69.6M|}
_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|  85.7k|{
  345|  85.7k|    return std::forward<F2>(f2)(empty_t{});
  346|  85.7k|}
_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|   118k|{
  330|   118k|    std::forward<F>(f)(empty_t{});
  331|   118k|}
_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|  9.46k|{
  345|  9.46k|    return std::forward<F2>(f2)(empty_t{});
  346|  9.46k|}
_ZN5immer6detail9destroy_nIPimEENSt3__19enable_ifIX20can_trivially_detroyIT_EES5_E4typeES5_T0_:
  188|    397|{
  189|    397|    return first + n;
  190|    397|}
_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|   134k|{
  345|   134k|    return std::forward<F2>(f2)(empty_t{});
  346|   134k|}
_ZN5immer6detail18uninitialized_moveIPiS2_EENSt3__19enable_ifIX18can_trivially_copyIT_T0_EES6_E4typeES5_S5_S6_:
  210|  1.22k|{
  211|  1.22k|    return std::copy(first, last, out);
  212|  1.22k|}
_ZN5immer6detail8as_constIiEEPKT_PS2_:
   29|  1.31M|{
   30|  1.31M|    return x;
   31|  1.31M|}
_ZN5immer6detail4makeINS_15debug_size_heapINS_8cpp_heapEEENS_3boxIiNS_13memory_policyINS_21free_list_heap_policyIS3_Lm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEE6holderEJiEEEPT0_DpOT1_:
  260|  19.4k|{
  261|  19.4k|    auto ptr = Heap::allocate(sizeof(T));
  262|  19.4k|    IMMER_TRY {
  ------------------
  |  |   49|  19.4k|#define IMMER_TRY try
  ------------------
  263|  19.4k|        return new (ptr) T(std::forward<Args>(args)...);
  264|  19.4k|    }
  265|  19.4k|    IMMER_CATCH (...) {
  266|      0|        Heap::deallocate(sizeof(T), ptr);
  267|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  268|      0|    }
  269|  19.4k|}

_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2Ev:
   96|  75.9k|    flex_vector() = default;
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  246|   429k|    {
  247|   429k|        return impl_.push_back(std::move(value));
  248|   429k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ENS_6detail4rbts7rrbtreeIiS8_Lj2ELj2EEE:
  536|  1.52M|        : impl_(std::move(impl))
  537|  1.52M|    {
  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.52M|    }
_ZNK5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4sizeEv:
  181|  2.96M|    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|   136k|    {
  324|   136k|        return impl_.update(index, std::forward<FnT>(fn));
  325|   136k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  350|  24.4k|    {
  351|  24.4k|        return impl_.take(elems);
  352|  24.4k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  376|  26.0k|    {
  377|  26.0k|        return impl_.drop(elems);
  378|  26.0k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8max_sizeEv:
   90|  1.26M|    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|   909k|    {
  404|   909k|        return l.impl_.concat(r.impl_);
  405|   909k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  251|  32.2k|    {
  252|  32.2k|        return push_back_move(move_t{}, std::move(value));
  253|  32.2k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14push_back_moveENSt3__117integral_constantIbLb1EEEi:
  547|  32.2k|    {
  548|  32.2k|        impl_.push_back_mut({}, std::move(value));
  549|  32.2k|        return std::move(*this);
  550|  32.2k|    }
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|  55.8k|    {
  330|  55.8k|        return update_move(move_t{}, index, std::forward<FnT>(fn));
  331|  55.8k|    }
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|  55.8k|    {
  569|  55.8k|        impl_.update_mut({}, index, std::forward<Fn>(fn));
  570|  55.8k|        return std::move(*this);
  571|  55.8k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  355|  37.3k|    {
  356|  37.3k|        return take_move(move_t{}, elems);
  357|  37.3k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9take_moveENSt3__117integral_constantIbLb1EEEm:
  579|  37.3k|    {
  580|  37.3k|        impl_.take_mut({}, elems);
  581|  37.3k|        return std::move(*this);
  582|  37.3k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  381|  39.9k|    {
  382|  39.9k|        return drop_move(move_t{}, elems);
  383|  39.9k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9drop_moveENSt3__117integral_constantIbLb1EEEm:
  589|  39.9k|    {
  590|  39.9k|        impl_.drop_mut({}, elems);
  591|  39.9k|        return std::move(*this);
  592|  39.9k|    }
_ZN5immerplEONS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERKS9_:
  409|   303k|    {
  410|   303k|        return concat_move(move_t{}, std::move(l), r);
  411|   303k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEEOS9_RKS9_:
  600|   303k|    {
  601|   303k|        concat_mut_l(l.impl_, {}, r.impl_);
  602|   303k|        return std::move(l);
  603|   303k|    }
_ZN5immerplERKNS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEOS9_:
  415|  3.63k|    {
  416|  3.63k|        return concat_move(move_t{}, l, std::move(r));
  417|  3.63k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEERKS9_OS9_:
  606|  3.63k|    {
  607|  3.63k|        concat_mut_r(l.impl_, r.impl_, {});
  608|  3.63k|        return std::move(r);
  609|  3.63k|    }
_ZN5immerplEONS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESA_:
  421|  24.6k|    {
  422|  24.6k|        return concat_move(move_t{}, std::move(l), std::move(r));
  423|  24.6k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEEOS9_SD_:
  612|  24.6k|    {
  613|  24.6k|        concat_mut_lr_l(l.impl_, {}, r.impl_, {});
  614|  24.6k|        return std::move(l);
  615|  24.6k|    }
_ZNK5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEeqERKS9_:
  222|  29.7k|    {
  223|  29.7k|        return impl_.equals(other.impl_);
  224|  29.7k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5eraseEm:
  480|  3.55k|    {
  481|  3.55k|        return take(pos) + drop(pos + 1);
  482|  3.55k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6insertEmi:
  442|  19.4k|    {
  443|  19.4k|        return take(pos).push_back(std::move(value)) + drop(pos);
  444|  19.4k|    }

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

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

_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE10deallocateIJEEEvmPvDpT_:
   56|  11.3M|    {
   57|  11.3M|        assert(size <= Size);
  ------------------
  |  Branch (57:9): [True: 11.3M, 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.3M|        if (head().count.load(std::memory_order_relaxed) >= Limit) {
  ------------------
  |  Branch (61:13): [True: 10.7M, False: 623k]
  ------------------
   62|  10.7M|            base_t::deallocate(Size, data);
   63|  10.7M|        } else {
   64|   623k|            auto n = static_cast<node_t*>(data);
   65|   623k|            do {
   66|   623k|                n->next = head().data;
   67|   623k|            } while (!head().data.compare_exchange_weak(n->next, n));
  ------------------
  |  Branch (67:22): [True: 0, False: 623k]
  ------------------
   68|   623k|            head().count.fetch_add(1u, std::memory_order_relaxed);
   69|   623k|        }
   70|  11.3M|    }
_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE4headEv:
   80|  25.7M|    {
   81|  25.7M|        static head_t head_{{nullptr}, {0}};
   82|  25.7M|        return head_;
   83|  25.7M|    }
_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE8allocateIJEEEPvmDpT_:
   39|  11.3M|    {
   40|  11.3M|        assert(size <= Size);
  ------------------
  |  Branch (40:9): [True: 11.3M, False: 0]
  ------------------
   41|       |
   42|  11.3M|        node_t* n;
   43|  11.3M|        do {
   44|  11.3M|            n = head().data;
   45|  11.3M|            if (!n) {
  ------------------
  |  Branch (45:17): [True: 10.7M, False: 622k]
  ------------------
   46|  10.7M|                auto p = base_t::allocate(Size);
   47|  10.7M|                return p;
   48|  10.7M|            }
   49|  11.3M|        } while (!head().data.compare_exchange_weak(n, n->next));
  ------------------
  |  Branch (49:18): [True: 0, False: 622k]
  ------------------
   50|   622k|        head().count.fetch_sub(1u, std::memory_order_relaxed);
   51|   622k|        return n;
   52|  11.3M|    }

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

_ZN5immer6detail30thread_local_free_list_storageINS0_26unsafe_free_list_heap_implIS1_Lm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEEE4headEv:
   35|   142M|    {
   36|   142M|        thread_local static head_t head_{nullptr, 0};
   37|   142M|        return head_;
   38|   142M|    }
_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.5M|    {
   73|  28.5M|        assert(size <= Size);
  ------------------
  |  Branch (73:9): [True: 28.5M, False: 0]
  ------------------
   74|       |
   75|  28.5M|        if (storage::head().count >= Limit)
  ------------------
  |  Branch (75:13): [True: 11.3M, False: 17.1M]
  ------------------
   76|  11.3M|            base_t::deallocate(Size, data);
   77|  17.1M|        else {
   78|  17.1M|            auto n               = static_cast<node_t*>(data);
   79|  17.1M|            n->next              = storage::head().data;
   80|  17.1M|            storage::head().data = n;
   81|  17.1M|            ++storage::head().count;
   82|  17.1M|        }
   83|  28.5M|    }
_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.8M|    {
   58|  16.8M|        assert(size <= Size);
  ------------------
  |  Branch (58:9): [True: 16.8M, False: 0]
  ------------------
   59|       |
   60|  16.8M|        auto n = storage::head().data;
   61|  16.8M|        if (!n) {
  ------------------
  |  Branch (61:13): [True: 5.82M, False: 10.9M]
  ------------------
   62|  5.82M|            auto p = base_t::allocate(Size);
   63|  5.82M|            return p;
   64|  5.82M|        }
   65|  10.9M|        --storage::head().count;
   66|  10.9M|        storage::head().data = n->next;
   67|  10.9M|        return n;
   68|  16.8M|    }
_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE8allocateIJNS_10norefs_tagEEEEPvmDpT_:
   57|  11.6M|    {
   58|  11.6M|        assert(size <= Size);
  ------------------
  |  Branch (58:9): [True: 11.6M, False: 0]
  ------------------
   59|       |
   60|  11.6M|        auto n = storage::head().data;
   61|  11.6M|        if (!n) {
  ------------------
  |  Branch (61:13): [True: 5.49M, False: 6.19M]
  ------------------
   62|  5.49M|            auto p = base_t::allocate(Size);
   63|  5.49M|            return p;
   64|  5.49M|        }
   65|  6.19M|        --storage::head().count;
   66|  6.19M|        storage::head().data = n->next;
   67|  6.19M|        return n;
   68|  11.6M|    }

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

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

