LLVMFuzzerTestOneInput:
   16|  7.57k|{
   17|       |   // use a vector with null termination instead of a std::string to avoid
   18|       |   // small string optimization to hide bounds problems
   19|  7.57k|   std::vector<char> buffer{Data, Data + Size};
   20|       |
   21|       |   // non-null terminated
   22|  7.57k|   {
   23|  7.57k|      my_struct obj{};
   24|  7.57k|      [[maybe_unused]] auto ec =
   25|  7.57k|         glz::read<glz::opts{.null_terminated = false}>(obj, std::string_view{buffer.data(), Size});
   26|  7.57k|   }
   27|       |
   28|       |   // null terminated
   29|  7.57k|   {
   30|  7.57k|      buffer.push_back('\0');
   31|  7.57k|      [[maybe_unused]] auto s = glz::read_json<my_struct>(std::string_view{buffer.data(), Size});
   32|  7.57k|      if (s) {
  ------------------
  |  Branch (32:11): [True: 3, False: 7.57k]
  ------------------
   33|       |         // hooray! valid json found
   34|      3|      }
   35|  7.57k|   }
   36|       |
   37|  7.57k|   return 0;
   38|  7.57k|}

_ZN3glz15resize_unfilledINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvRT_m:
   63|  8.68k|   {
   64|  8.68k|      if constexpr (requires { b.resize_and_overwrite(n, [](auto*, size_t written) { return written; }); }) {
   65|  8.68k|         b.resize_and_overwrite(n, [](auto*, size_t written) noexcept { return written; });
   66|       |      }
   67|       |      else {
   68|       |         b.resize(n);
   69|       |      }
   70|  8.68k|   }
_ZZN3glz15resize_unfilledINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvRT_mENKUlPS8_mE_clIcEEDaSA_m:
   65|  8.68k|         b.resize_and_overwrite(n, [](auto*, size_t written) noexcept { return written; });

_ZN3glz20inert_key_bits_scopeC2IRNS_7contextEEEOT_Pv:
  192|  15.0k|      constexpr inert_key_bits_scope(auto&&, void*) noexcept {}
_ZN3glz10get_memberIR9my_structRiEEDcOT_OT0_:
  678|  20.3k|   {
  679|  20.3k|      using V = std::decay_t<decltype(element)>;
  680|       |      if constexpr (std::is_member_object_pointer_v<V>) {
  681|       |         return value.*element;
  682|       |      }
  683|       |      else if constexpr (std::is_member_function_pointer_v<V>) {
  684|       |         return element;
  685|       |      }
  686|       |      else if constexpr (std::invocable<Element, Value> && not eigen_t<Element>) {
  687|       |         // Eigen places a static_assert inside of the operator()(), so we must target
  688|       |         // matrix types and reject them from the invocable check
  689|       |         // Eigen ought to put the check in the `enable_if` for operator()()
  690|       |         return std::invoke(std::forward<Element>(element), std::forward<Value>(value));
  691|       |      }
  692|       |      else if constexpr (std::is_pointer_v<V> && !std::is_reference_v<Element>) {
  693|       |         if constexpr (std::invocable<decltype(*element), Value>) {
  694|       |            return std::invoke(*element, std::forward<Value>(value));
  695|       |         }
  696|       |         else {
  697|       |            return *element;
  698|       |         }
  699|       |      }
  700|  20.3k|      else {
  701|  20.3k|         return element;
  702|  20.3k|      }
  703|  20.3k|   }
_ZN3glz10get_memberIR9my_structRdEEDcOT_OT0_:
  678|  28.8k|   {
  679|  28.8k|      using V = std::decay_t<decltype(element)>;
  680|       |      if constexpr (std::is_member_object_pointer_v<V>) {
  681|       |         return value.*element;
  682|       |      }
  683|       |      else if constexpr (std::is_member_function_pointer_v<V>) {
  684|       |         return element;
  685|       |      }
  686|       |      else if constexpr (std::invocable<Element, Value> && not eigen_t<Element>) {
  687|       |         // Eigen places a static_assert inside of the operator()(), so we must target
  688|       |         // matrix types and reject them from the invocable check
  689|       |         // Eigen ought to put the check in the `enable_if` for operator()()
  690|       |         return std::invoke(std::forward<Element>(element), std::forward<Value>(value));
  691|       |      }
  692|       |      else if constexpr (std::is_pointer_v<V> && !std::is_reference_v<Element>) {
  693|       |         if constexpr (std::invocable<decltype(*element), Value>) {
  694|       |            return std::invoke(*element, std::forward<Value>(value));
  695|       |         }
  696|       |         else {
  697|       |            return *element;
  698|       |         }
  699|       |      }
  700|  28.8k|      else {
  701|  28.8k|         return element;
  702|  28.8k|      }
  703|  28.8k|   }
_ZN3glz10get_memberIR9my_structRNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEDcOT_OT0_:
  678|  9.56k|   {
  679|  9.56k|      using V = std::decay_t<decltype(element)>;
  680|       |      if constexpr (std::is_member_object_pointer_v<V>) {
  681|       |         return value.*element;
  682|       |      }
  683|       |      else if constexpr (std::is_member_function_pointer_v<V>) {
  684|       |         return element;
  685|       |      }
  686|       |      else if constexpr (std::invocable<Element, Value> && not eigen_t<Element>) {
  687|       |         // Eigen places a static_assert inside of the operator()(), so we must target
  688|       |         // matrix types and reject them from the invocable check
  689|       |         // Eigen ought to put the check in the `enable_if` for operator()()
  690|       |         return std::invoke(std::forward<Element>(element), std::forward<Value>(value));
  691|       |      }
  692|       |      else if constexpr (std::is_pointer_v<V> && !std::is_reference_v<Element>) {
  693|       |         if constexpr (std::invocable<decltype(*element), Value>) {
  694|       |            return std::invoke(*element, std::forward<Value>(value));
  695|       |         }
  696|       |         else {
  697|       |            return *element;
  698|       |         }
  699|       |      }
  700|  9.56k|      else {
  701|  9.56k|         return element;
  702|  9.56k|      }
  703|  9.56k|   }
_ZN3glz10get_memberIR9my_structRNSt3__15arrayImLm3EEEEEDcOT_OT0_:
  678|  17.9k|   {
  679|  17.9k|      using V = std::decay_t<decltype(element)>;
  680|       |      if constexpr (std::is_member_object_pointer_v<V>) {
  681|       |         return value.*element;
  682|       |      }
  683|       |      else if constexpr (std::is_member_function_pointer_v<V>) {
  684|       |         return element;
  685|       |      }
  686|       |      else if constexpr (std::invocable<Element, Value> && not eigen_t<Element>) {
  687|       |         // Eigen places a static_assert inside of the operator()(), so we must target
  688|       |         // matrix types and reject them from the invocable check
  689|       |         // Eigen ought to put the check in the `enable_if` for operator()()
  690|       |         return std::invoke(std::forward<Element>(element), std::forward<Value>(value));
  691|       |      }
  692|       |      else if constexpr (std::is_pointer_v<V> && !std::is_reference_v<Element>) {
  693|       |         if constexpr (std::invocable<decltype(*element), Value>) {
  694|       |            return std::invoke(*element, std::forward<Value>(value));
  695|       |         }
  696|       |         else {
  697|       |            return *element;
  698|       |         }
  699|       |      }
  700|  17.9k|      else {
  701|  17.9k|         return element;
  702|  17.9k|      }
  703|  17.9k|   }

_ZN3glz10call_scopeINS_7contextEEC2ERS1_:
  272|  15.1k|      explicit call_scope(Ctx& c) noexcept : ctx(c), depth(c.depth)
  273|  15.1k|      {
  274|  15.1k|         ctx.error = error_code::none;
  275|  15.1k|         ctx.custom_error_message = {};
  276|  15.1k|      }
_ZN3glz23seed_speculation_budgetITkNS_10is_contextENS_7contextEEEvRT_m:
  312|  15.1k|   {
  313|  15.1k|      if constexpr (requires { ctx.speculation_budget; }) {
  314|  15.1k|         const size_t proportional = max_speculative_parse_factor * input_bytes;
  315|  15.1k|         ctx.speculation_budget =
  316|  15.1k|            (proportional > min_speculative_parse_bytes ? proportional : min_speculative_parse_bytes) + 2;
  ------------------
  |  Branch (316:14): [True: 280, False: 14.8k]
  ------------------
  317|  15.1k|      }
  318|  15.1k|   }
_ZN3glz11enter_depthITkNS_10is_contextENS_7contextEEEbRT_:
  357|  32.9k|   {
  358|  32.9k|      if (ctx.depth >= max_recursive_depth_limit) [[unlikely]] {
  ------------------
  |  Branch (358:11): [True: 0, False: 32.9k]
  ------------------
  359|      0|         ctx.error = error_code::exceeded_max_recursive_depth;
  360|      0|         return true;
  361|      0|      }
  362|  32.9k|      ++ctx.depth;
  363|  32.9k|      return false;
  364|  32.9k|   }
_ZN3glz10call_scopeINS_7contextEED2Ev:
  277|  15.1k|      ~call_scope() { ctx.depth = depth; }
_ZNK3glz9error_ctxcvbEv:
  148|  7.57k|      operator bool() const noexcept { return ec != error_code::none; }

_ZN3glz4readITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structTkNS_10contiguousENSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEQaa14read_supportedIT0_XdtT_6formatEEnt18is_input_streamingIT1_EEENS_9error_ctxERS8_OS9_:
  229|  7.57k|   {
  230|  7.57k|      format_context_t<Opts.format> ctx{};
  231|  7.57k|      return read<Opts>(value, buffer, ctx);
  232|  7.57k|   }
_ZN3glz4readITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structTkNS_10contiguousERNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEETkNS_10is_contextERNS_7contextEQaa14read_supportedIT0_XdtT_6formatEEnt18is_input_streamingIT1_EEENS_9error_ctxERSB_OSC_OT2_:
  152|  7.57k|   {
  153|  7.57k|      static_assert(sizeof(decltype(*buffer.data())) == 1);
  154|       |
  155|  7.57k|      call_scope scope{ctx};
  156|       |
  157|       |      // A TOML document with no keys is valid, so its reader decides by the type being read.
  158|  7.57k|      if constexpr (Opts.format != NDJSON && Opts.format != TOML) {
  159|  7.57k|         if (buffer.size() == 0) [[unlikely]] {
  ------------------
  |  Branch (159:14): [True: 0, False: 7.57k]
  ------------------
  160|      0|            ctx.error = error_code::no_read_input;
  161|      0|            return {0, ctx.error, ctx.custom_error_message};
  162|      0|         }
  163|  7.57k|      }
  164|       |
  165|       |      // The reader used to grow the caller's buffer by `padding_bytes` here and shrink it back on
  166|       |      // the way out, so that its fixed width loads could run off the end of the document into
  167|       |      // defined bytes. Every one of those loads is now bounded against `end` instead (see
  168|       |      // `chunk_min`), which costs the last chunk of the buffer its chunked path and nothing else --
  169|       |      // measurably less than the round trip did. `std::string::resize` is an ABI entry point on
  170|       |      // both libc++ and libstdc++, so neither call inlined and the parse was spilled around both
  171|       |      // for what amounted to a sixteen byte store; the price did not scale with the document, so on
  172|       |      // a small one it was the bulk of the call. A caller who does have that slack can still say so
  173|       |      // and get the unbounded loads back, and nobody else pays for the buffer being touched at all.
  174|  7.57k|      ctx.padded_input = check_is_padded(Opts);
  175|       |
  176|  7.57k|      static constexpr auto ParseOpts = parse_opts_for<Opts, Buf>();
  177|       |
  178|  7.57k|      auto [it, end] = read_iterators<ParseOpts>(buffer);
  179|  7.57k|      auto start = it;
  180|       |
  181|       |      // Bound the speculative re-parsing a variant resolution may do, in bytes, relative to this
  182|       |      // input. Seeded per read so a reused context starts fresh. See charge_speculation.
  183|  7.57k|      seed_speculation_budget(ctx, size_t(end - it));
  184|       |
  185|       |      // A YAML context marks its outermost parse with stream_begin and seeds its expansion budgets
  186|       |      // there, so clearing it here is what makes those budgets per-read like the one above. A
  187|       |      // reused context would otherwise carry a spent budget into the next document and reject a
  188|       |      // valid one, and would leave stream_begin pointing into the buffer of the previous read.
  189|       |      // Nested YAML parses do not route through glz::read, so they still cannot reseed themselves.
  190|       |      if constexpr (requires { ctx.stream_begin; }) {
  191|       |         ctx.stream_begin = nullptr;
  192|       |      }
  193|       |
  194|       |      // Normalized off before dispatching: no reader branches on it any more, so leaving it set
  195|       |      // would split every instantiation below between callers who declared padding and callers who
  196|       |      // did not, for a flag none of them reads.
  197|  7.57k|      parse<Opts.format>::template op<ParseOpts>(value, ctx, it, end);
  198|       |
  199|  7.57k|      if (bool(ctx.error)) [[unlikely]] {
  ------------------
  |  Branch (199:11): [True: 7.57k, False: 1]
  ------------------
  200|  7.57k|         goto finish;
  201|  7.57k|      }
  202|       |
  203|       |      // The JSON RFC 8259 defines: JSON-text = ws value ws
  204|       |      // So, trailing whitespace is permitted and sometimes we want to
  205|       |      // validate this, even though this memory will not affect Glaze.
  206|       |      if constexpr (check_validate_trailing_whitespace(Opts)) {
  207|       |         if (it < end) {
  208|       |            skip_ws<ParseOpts>(ctx, it, end);
  209|       |            if (bool(ctx.error)) [[unlikely]] {
  210|       |               goto finish;
  211|       |            }
  212|       |            if (it != end) [[unlikely]] {
  213|       |               ctx.error = error_code::syntax_error;
  214|       |            }
  215|       |         }
  216|       |      }
  217|       |
  218|  7.57k|   finish:
  219|       |      // ParseOpts, not Opts: this reads `null_terminated` to tell a value that ended with the
  220|       |      // buffer from one that ran out, and it has to be told the same thing the parse was.
  221|  7.57k|      finalize_top_level_read<ParseOpts>(ctx, start, it, end);
  222|       |
  223|  7.57k|      return {size_t(it - start), ctx.error, ctx.custom_error_message};
  224|      1|   }
_ZN3glz14read_iteratorsITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETkNS_10contiguousERNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEEEEDaOT0_:
   40|  7.57k|   {
   41|  7.57k|      static_assert(sizeof(decltype(*buffer.data())) == 1);
   42|       |
   43|  7.57k|      auto it = reinterpret_cast<const char*>(buffer.data());
   44|  7.57k|      auto end = it + buffer.size();
   45|       |
   46|  7.57k|      return std::pair{it, end};
   47|  7.57k|   }
_ZN3glz23finalize_top_level_readITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETkNS_10is_contextERNS_7contextEEEvOT0_PKcS7_S7_:
  131|  7.57k|   {
  132|  7.57k|      if constexpr (Opts.format == JSON && !check_null_terminated(Opts)) {
  133|       |         // Deliberately not [[unlikely]]: a body that ends with the buffer lands here on every
  134|       |         // successful read, which is the ordinary case for a registry parsing a wire span.
  135|       |         // start < it, not !=, because a streaming origin can be empty or overshoot on an error
  136|       |         // path; neither is an absent value.
  137|  7.57k|         if (ctx.error == error_code::end_reached && ctx.depth == 0 && it == end && start < it) {
  ------------------
  |  Branch (137:14): [True: 3.99k, False: 3.58k]
  |  Branch (137:54): [True: 15, False: 3.97k]
  |  Branch (137:72): [True: 15, False: 0]
  |  Branch (137:85): [True: 15, False: 0]
  ------------------
  138|     15|            context ws_ctx{}; // only written to when skip_ws parses a comment; the result is unused
  139|     15|            const char* consumed = start;
  140|     15|            skip_ws<Opts>(ws_ctx, consumed, it);
  141|     15|            if (consumed == it) {
  ------------------
  |  Branch (141:17): [True: 13, False: 2]
  ------------------
  142|     13|               ctx.error = error_code::no_read_input;
  143|     13|            }
  144|     15|         }
  145|  7.57k|      }
  146|  7.57k|      finalize_read_context(ctx);
  147|  7.57k|   }
_ZN3glz21finalize_read_contextITkNS_10is_contextERNS_7contextEEEvOT_:
  109|  15.1k|   {
  110|  15.1k|      settle_partial_read_complete(ctx);
  111|  15.1k|      settle_end_reached(ctx);
  112|  15.1k|   }
_ZN3glz28settle_partial_read_completeITkNS_10is_contextERNS_7contextEEEvOT_:
  102|  15.1k|   {
  103|  15.1k|      if (ctx.error == error_code::partial_read_complete) {
  ------------------
  |  Branch (103:11): [True: 0, False: 15.1k]
  ------------------
  104|      0|         ctx.error = error_code::none;
  105|      0|      }
  106|  15.1k|   }
_ZN3glz18settle_end_reachedITkNS_10is_contextERNS_7contextEEEvOT_:
   88|  15.1k|   {
   89|  15.1k|      if (ctx.error == error_code::end_reached) {
  ------------------
  |  Branch (89:11): [True: 3.98k, False: 11.1k]
  ------------------
   90|  3.98k|         ctx.error = (ctx.depth == 0) ? error_code::none : error_code::unexpected_end;
  ------------------
  |  Branch (90:22): [True: 2, False: 3.97k]
  ------------------
   91|  3.98k|      }
   92|  15.1k|   }
_ZN3glz4readITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structTkNS_10contiguousENSt3__117basic_string_viewIcNS3_11char_traitsIcEEEETkNS_10is_contextERNS_7contextEQaa14read_supportedIT0_XdtT_6formatEEnt18is_input_streamingIT1_EEENS_9error_ctxERSA_OSB_OT2_:
  152|  7.57k|   {
  153|  7.57k|      static_assert(sizeof(decltype(*buffer.data())) == 1);
  154|       |
  155|  7.57k|      call_scope scope{ctx};
  156|       |
  157|       |      // A TOML document with no keys is valid, so its reader decides by the type being read.
  158|  7.57k|      if constexpr (Opts.format != NDJSON && Opts.format != TOML) {
  159|  7.57k|         if (buffer.size() == 0) [[unlikely]] {
  ------------------
  |  Branch (159:14): [True: 0, False: 7.57k]
  ------------------
  160|      0|            ctx.error = error_code::no_read_input;
  161|      0|            return {0, ctx.error, ctx.custom_error_message};
  162|      0|         }
  163|  7.57k|      }
  164|       |
  165|       |      // The reader used to grow the caller's buffer by `padding_bytes` here and shrink it back on
  166|       |      // the way out, so that its fixed width loads could run off the end of the document into
  167|       |      // defined bytes. Every one of those loads is now bounded against `end` instead (see
  168|       |      // `chunk_min`), which costs the last chunk of the buffer its chunked path and nothing else --
  169|       |      // measurably less than the round trip did. `std::string::resize` is an ABI entry point on
  170|       |      // both libc++ and libstdc++, so neither call inlined and the parse was spilled around both
  171|       |      // for what amounted to a sixteen byte store; the price did not scale with the document, so on
  172|       |      // a small one it was the bulk of the call. A caller who does have that slack can still say so
  173|       |      // and get the unbounded loads back, and nobody else pays for the buffer being touched at all.
  174|  7.57k|      ctx.padded_input = check_is_padded(Opts);
  175|       |
  176|  7.57k|      static constexpr auto ParseOpts = parse_opts_for<Opts, Buf>();
  177|       |
  178|  7.57k|      auto [it, end] = read_iterators<ParseOpts>(buffer);
  179|  7.57k|      auto start = it;
  180|       |
  181|       |      // Bound the speculative re-parsing a variant resolution may do, in bytes, relative to this
  182|       |      // input. Seeded per read so a reused context starts fresh. See charge_speculation.
  183|  7.57k|      seed_speculation_budget(ctx, size_t(end - it));
  184|       |
  185|       |      // A YAML context marks its outermost parse with stream_begin and seeds its expansion budgets
  186|       |      // there, so clearing it here is what makes those budgets per-read like the one above. A
  187|       |      // reused context would otherwise carry a spent budget into the next document and reject a
  188|       |      // valid one, and would leave stream_begin pointing into the buffer of the previous read.
  189|       |      // Nested YAML parses do not route through glz::read, so they still cannot reseed themselves.
  190|       |      if constexpr (requires { ctx.stream_begin; }) {
  191|       |         ctx.stream_begin = nullptr;
  192|       |      }
  193|       |
  194|       |      // Normalized off before dispatching: no reader branches on it any more, so leaving it set
  195|       |      // would split every instantiation below between callers who declared padding and callers who
  196|       |      // did not, for a flag none of them reads.
  197|  7.57k|      parse<Opts.format>::template op<ParseOpts>(value, ctx, it, end);
  198|       |
  199|  7.57k|      if (bool(ctx.error)) [[unlikely]] {
  ------------------
  |  Branch (199:11): [True: 7.57k, False: 3]
  ------------------
  200|  7.57k|         goto finish;
  201|  7.57k|      }
  202|       |
  203|       |      // The JSON RFC 8259 defines: JSON-text = ws value ws
  204|       |      // So, trailing whitespace is permitted and sometimes we want to
  205|       |      // validate this, even though this memory will not affect Glaze.
  206|       |      if constexpr (check_validate_trailing_whitespace(Opts)) {
  207|       |         if (it < end) {
  208|       |            skip_ws<ParseOpts>(ctx, it, end);
  209|       |            if (bool(ctx.error)) [[unlikely]] {
  210|       |               goto finish;
  211|       |            }
  212|       |            if (it != end) [[unlikely]] {
  213|       |               ctx.error = error_code::syntax_error;
  214|       |            }
  215|       |         }
  216|       |      }
  217|       |
  218|  7.57k|   finish:
  219|       |      // ParseOpts, not Opts: this reads `null_terminated` to tell a value that ended with the
  220|       |      // buffer from one that ran out, and it has to be told the same thing the parse was.
  221|  7.57k|      finalize_top_level_read<ParseOpts>(ctx, start, it, end);
  222|       |
  223|  7.57k|      return {size_t(it - start), ctx.error, ctx.custom_error_message};
  224|      3|   }
_ZN3glz14read_iteratorsITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETkNS_10contiguousERNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEEEEDaOT0_:
   40|  7.57k|   {
   41|  7.57k|      static_assert(sizeof(decltype(*buffer.data())) == 1);
   42|       |
   43|  7.57k|      auto it = reinterpret_cast<const char*>(buffer.data());
   44|  7.57k|      auto end = it + buffer.size();
   45|       |
   46|  7.57k|      return std::pair{it, end};
   47|  7.57k|   }
_ZN3glz23finalize_top_level_readITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETkNS_10is_contextERNS_7contextEEEvOT0_PKcS7_S7_:
  131|  7.57k|   {
  132|       |      if constexpr (Opts.format == JSON && !check_null_terminated(Opts)) {
  133|       |         // Deliberately not [[unlikely]]: a body that ends with the buffer lands here on every
  134|       |         // successful read, which is the ordinary case for a registry parsing a wire span.
  135|       |         // start < it, not !=, because a streaming origin can be empty or overshoot on an error
  136|       |         // path; neither is an absent value.
  137|       |         if (ctx.error == error_code::end_reached && ctx.depth == 0 && it == end && start < it) {
  138|       |            context ws_ctx{}; // only written to when skip_ws parses a comment; the result is unused
  139|       |            const char* consumed = start;
  140|       |            skip_ws<Opts>(ws_ctx, consumed, it);
  141|       |            if (consumed == it) {
  142|       |               ctx.error = error_code::no_read_input;
  143|       |            }
  144|       |         }
  145|       |      }
  146|  7.57k|      finalize_read_context(ctx);
  147|  7.57k|   }

_ZN3glz11decode_hashILj10E9my_structXtlNS_11hash_info_tIS1_Lm256EEELNS_9hash_typeE1EtlNSt3__15arrayIhLm256EEEtlA256_hLh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh3ELh4ELh4ELh1ELh4ELh4ELh4ELh2ELh0ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4ELh4EEELm1ELm5EEELS4_1EE2opIRPKcSC_EEmOT_T0_:
 2585|  77.3k|      {
 2586|       |         if constexpr (HashInfo.sized_hash) {
 2587|       |            const auto* c = quote_memchr<HashInfo.min_length, HashInfo.max_length>(it, end);
 2588|       |            if (c) [[likely]] {
 2589|       |               const auto n = size_t(static_cast<std::decay_t<decltype(it)>>(c) - it);
 2590|       |               if (n == 0 || n > HashInfo.max_length || HashInfo.unique_index >= size_t(end - it)) [[unlikely]] {
 2591|       |                  return N; // error
 2592|       |               }
 2593|       |
 2594|       |               const auto h = bitmix(uint16_t(it[HashInfo.unique_index]) | (uint16_t(n) << 8), HashInfo.seed);
 2595|       |               return HashInfo.table[h % bsize];
 2596|       |            }
 2597|       |            else [[unlikely]] {
 2598|       |               return N;
 2599|       |            }
 2600|       |         }
 2601|  77.3k|         else {
 2602|       |            if constexpr (N == 2) {
 2603|       |               if constexpr (uindex > 0) {
 2604|       |                  if (size_t(end - it) <= uindex) [[unlikely]] {
 2605|       |                     return N; // error
 2606|       |                  }
 2607|       |               }
 2608|       |               // Avoids using a hash table
 2609|       |               constexpr auto first_key_char = reflect<T>::keys[0][uindex];
 2610|       |               return size_t(bool(it[uindex] ^ first_key_char));
 2611|       |            }
 2612|  77.3k|            else {
 2613|       |               if constexpr (uindex > 0) {
 2614|       |                  if (size_t(end - it) <= uindex) [[unlikely]] {
 2615|       |                     return N; // error
 2616|       |                  }
 2617|       |               }
 2618|  77.3k|               return HashInfo.table[uint8_t(it[uindex])];
 2619|  77.3k|            }
 2620|  77.3k|         }
 2621|  77.3k|      }

_ZN3glz3getILm0ETkNS_12tuple_detail9indexableENS_5tupleIJRiRdRNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS5_5arrayImLm3EEEEEEEEDcOT0_:
  116|  20.3k|   {
  117|  20.3k|      using D = std::remove_cvref_t<Tup>;
  118|  20.3k|      if constexpr (tuple_detail::is_tuple<D>) {
  119|  20.3k|         static_assert(I < D::N, "glz::get index is out of range");
  120|  20.3k|         using T = typename D::template type_at<I>;
  121|       |         if constexpr (std::is_reference_v<Tup> || std::is_const_v<std::remove_reference_t<Tup>>) {
  122|       |            // An lvalue, or a const tuple of either value category: element access carries the
  123|       |            // constness of the tuple, except for elements that are themselves references.
  124|       |            using leaf = tuple_detail::match_const_t<std::remove_reference_t<Tup>, tuple_detail::elem<I, T>>;
  125|       |            return (static_cast<leaf&>(tup).value);
  126|       |         }
  127|  20.3k|         else {
  128|  20.3k|            return static_cast<T&&>(static_cast<tuple_detail::elem<I, T>&>(tup).value);
  129|  20.3k|         }
  130|       |      }
  131|       |      else {
  132|       |         return (static_cast<Tup&&>(tup)[I]);
  133|       |      }
  134|  20.3k|   }
_ZN3glz3tieIJidNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS1_5arrayImLm3EEEEEENS_5tupleIJDpRT_EEESD_:
  325|  76.7k|   {
  326|  76.7k|      return {{{ts}...}};
  327|  76.7k|   }
_ZN3glz3getILm1ETkNS_12tuple_detail9indexableENS_5tupleIJRiRdRNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS5_5arrayImLm3EEEEEEEEDcOT0_:
  116|  28.8k|   {
  117|  28.8k|      using D = std::remove_cvref_t<Tup>;
  118|  28.8k|      if constexpr (tuple_detail::is_tuple<D>) {
  119|  28.8k|         static_assert(I < D::N, "glz::get index is out of range");
  120|  28.8k|         using T = typename D::template type_at<I>;
  121|       |         if constexpr (std::is_reference_v<Tup> || std::is_const_v<std::remove_reference_t<Tup>>) {
  122|       |            // An lvalue, or a const tuple of either value category: element access carries the
  123|       |            // constness of the tuple, except for elements that are themselves references.
  124|       |            using leaf = tuple_detail::match_const_t<std::remove_reference_t<Tup>, tuple_detail::elem<I, T>>;
  125|       |            return (static_cast<leaf&>(tup).value);
  126|       |         }
  127|  28.8k|         else {
  128|  28.8k|            return static_cast<T&&>(static_cast<tuple_detail::elem<I, T>&>(tup).value);
  129|  28.8k|         }
  130|       |      }
  131|       |      else {
  132|       |         return (static_cast<Tup&&>(tup)[I]);
  133|       |      }
  134|  28.8k|   }
_ZN3glz3getILm2ETkNS_12tuple_detail9indexableENS_5tupleIJRiRdRNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS5_5arrayImLm3EEEEEEEEDcOT0_:
  116|  9.56k|   {
  117|  9.56k|      using D = std::remove_cvref_t<Tup>;
  118|  9.56k|      if constexpr (tuple_detail::is_tuple<D>) {
  119|  9.56k|         static_assert(I < D::N, "glz::get index is out of range");
  120|  9.56k|         using T = typename D::template type_at<I>;
  121|       |         if constexpr (std::is_reference_v<Tup> || std::is_const_v<std::remove_reference_t<Tup>>) {
  122|       |            // An lvalue, or a const tuple of either value category: element access carries the
  123|       |            // constness of the tuple, except for elements that are themselves references.
  124|       |            using leaf = tuple_detail::match_const_t<std::remove_reference_t<Tup>, tuple_detail::elem<I, T>>;
  125|       |            return (static_cast<leaf&>(tup).value);
  126|       |         }
  127|  9.56k|         else {
  128|  9.56k|            return static_cast<T&&>(static_cast<tuple_detail::elem<I, T>&>(tup).value);
  129|  9.56k|         }
  130|       |      }
  131|       |      else {
  132|       |         return (static_cast<Tup&&>(tup)[I]);
  133|       |      }
  134|  9.56k|   }
_ZN3glz3getILm3ETkNS_12tuple_detail9indexableENS_5tupleIJRiRdRNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERNS5_5arrayImLm3EEEEEEEEDcOT0_:
  116|  17.9k|   {
  117|  17.9k|      using D = std::remove_cvref_t<Tup>;
  118|  17.9k|      if constexpr (tuple_detail::is_tuple<D>) {
  119|  17.9k|         static_assert(I < D::N, "glz::get index is out of range");
  120|  17.9k|         using T = typename D::template type_at<I>;
  121|       |         if constexpr (std::is_reference_v<Tup> || std::is_const_v<std::remove_reference_t<Tup>>) {
  122|       |            // An lvalue, or a const tuple of either value category: element access carries the
  123|       |            // constness of the tuple, except for elements that are themselves references.
  124|       |            using leaf = tuple_detail::match_const_t<std::remove_reference_t<Tup>, tuple_detail::elem<I, T>>;
  125|       |            return (static_cast<leaf&>(tup).value);
  126|       |         }
  127|  17.9k|         else {
  128|  17.9k|            return static_cast<T&&>(static_cast<tuple_detail::elem<I, T>&>(tup).value);
  129|  17.9k|         }
  130|       |      }
  131|       |      else {
  132|       |         return (static_cast<Tup&&>(tup)[I]);
  133|       |      }
  134|  17.9k|   }

_ZN3glz5parseILj10EE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEER9my_structTkNS_10is_contextERNS_7contextERPKcS9_EEvOT0_OT1_OT2_T3_:
   50|  7.57k|      {
   51|       |         if constexpr (const_value_v<T>) {
   52|       |            if constexpr (check_error_on_const_read(Opts)) {
   53|       |               ctx.error = error_code::attempt_const_read;
   54|       |            }
   55|       |            else {
   56|       |               // do not read anything into the const value
   57|       |               skip_value<JSON>::op<Opts>(std::forward<Ctx>(ctx), std::forward<It0>(it), end);
   58|       |            }
   59|       |         }
   60|  7.57k|         else {
   61|  7.57k|            using V = std::remove_cvref_t<T>;
   62|  7.57k|            from<JSON, V>::template op<Opts>(std::forward<T>(value), std::forward<Ctx>(ctx), std::forward<It0>(it),
   63|  7.57k|                                             end);
   64|  7.57k|         }
   65|  7.57k|      }
_ZN3glz4fromILj10E9my_structE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETnNS_14string_literalEXtlNS5_ILm1EEEEERS1_TkNS_10is_contextERNS_7contextERPKcSB_EEvOT1_OT2_OT3_T4_:
 2794|  7.57k|      {
 2795|  7.57k|         static constexpr auto num_members = reflect<T>::size;
 2796|       |
 2797|  7.57k|         static constexpr auto Opts = opening_handled_off<ws_handled_off<Options>()>();
 2798|  7.57k|         if constexpr (!check_opening_handled(Options)) {
 2799|  7.57k|            if constexpr (!check_ws_handled(Options)) {
 2800|  7.57k|               if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2800:20): [True: 13, False: 7.56k]
  ------------------
 2801|     13|                  return;
 2802|     13|               }
 2803|  7.57k|            }
 2804|  7.57k|            if (match_invalid_end<'{', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2804:17): [True: 16, False: 7.56k]
  ------------------
 2805|     16|               return;
 2806|     16|            }
 2807|  7.56k|            if constexpr (not Opts.null_terminated) {
 2808|  7.56k|               if (it == end) [[unlikely]] {
  ------------------
  |  Branch (2808:20): [True: 0, False: 7.56k]
  ------------------
 2809|      0|                  ctx.error = error_code::unexpected_end;
 2810|      0|                  return;
 2811|      0|               }
 2812|  7.56k|            }
 2813|       |            // one nesting level (see enter_depth): counted in both modes so the limit binds,
 2814|       |            // released at each syntactic close below
 2815|  7.56k|            if (enter_depth(ctx)) [[unlikely]] {
  ------------------
  |  Branch (2815:17): [True: 0, False: 7.56k]
  ------------------
 2816|      0|               return;
 2817|      0|            }
 2818|  7.56k|         }
 2819|  7.56k|         const auto ws_start = it;
 2820|  7.57k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2820:14): [True: 28, False: 7.54k]
  ------------------
 2821|     28|            return;
 2822|     28|         }
 2823|  7.54k|         const size_t ws_size = size_t(it - ws_start);
 2824|       |
 2825|       |         if constexpr ((glaze_object_t<T> || reflectable<T>) && num_members == 0 && Opts.error_on_unknown_keys) {
 2826|       |            if constexpr (not tag.sv().empty()) {
 2827|       |               if (*it == '"') {
 2828|       |                  ++it;
 2829|       |                  if constexpr (not Opts.null_terminated) {
 2830|       |                     if (it == end) [[unlikely]] {
 2831|       |                        ctx.error = error_code::unexpected_end;
 2832|       |                        return;
 2833|       |                     }
 2834|       |                  }
 2835|       |
 2836|       |                  const auto start = it;
 2837|       |                  skip_string_view(ctx, it, end);
 2838|       |                  if (bool(ctx.error)) [[unlikely]]
 2839|       |                     return;
 2840|       |                  if (validate_utf8_span<Opts>(ctx, start, it)) [[unlikely]]
 2841|       |                     return;
 2842|       |                  const sv key{start, size_t(it - start)};
 2843|       |                  ++it;
 2844|       |                  if constexpr (not Opts.null_terminated) {
 2845|       |                     if (it == end) [[unlikely]] {
 2846|       |                        ctx.error = error_code::unexpected_end;
 2847|       |                        return;
 2848|       |                     }
 2849|       |                  }
 2850|       |
 2851|       |                  if (key == tag.sv()) {
 2852|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 2853|       |                        return;
 2854|       |                     }
 2855|       |
 2856|       |                     parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
 2857|       |                     if (bool(ctx.error)) [[unlikely]]
 2858|       |                        return;
 2859|       |
 2860|       |                     if (skip_ws<Opts>(ctx, it, end)) {
 2861|       |                        return;
 2862|       |                     }
 2863|       |                  }
 2864|       |                  else {
 2865|       |                     ctx.error = error_code::unknown_key;
 2866|       |                     return;
 2867|       |                  }
 2868|       |               }
 2869|       |            }
 2870|       |
 2871|       |            if (*it == '}') [[likely]] {
 2872|       |               --ctx.depth;
 2873|       |               if constexpr (glaze_object_t<T> || reflectable<T>) {
 2874|       |                  if constexpr (has_self_constraint_v<T> && !check_skip_self_constraint(Opts)) {
 2875|       |                     auto wrapper = self_constraint_v<T>(value);
 2876|       |                     from<JSON, decltype(wrapper)>::template op<ws_handled<Opts>()>(wrapper, ctx, it, end);
 2877|       |                     if (bool(ctx.error)) {
 2878|       |                        return;
 2879|       |                     }
 2880|       |                  }
 2881|       |               }
 2882|       |               ++it;
 2883|       |               if constexpr (not Opts.null_terminated) {
 2884|       |                  if (it == end) {
 2885|       |                     ctx.error = error_code::end_reached;
 2886|       |                     return;
 2887|       |                  }
 2888|       |               }
 2889|       |               if constexpr (Opts.partial_read) {
 2890|       |                  ctx.error = error_code::partial_read_complete;
 2891|       |               }
 2892|       |               return;
 2893|       |            }
 2894|       |            ctx.error = error_code::unknown_key;
 2895|       |            return;
 2896|       |         }
 2897|  7.54k|         else {
 2898|  7.54k|            decltype(auto) fields = [&]() -> decltype(auto) {
 2899|  7.54k|               if constexpr ((glaze_object_t<T> || reflectable<T>) &&
 2900|  7.54k|                             (Opts.error_on_missing_keys || Opts.partial_read)) {
 2901|  7.54k|                  return bit_array<num_members>{};
 2902|  7.54k|               }
 2903|  7.54k|               else {
 2904|  7.54k|                  return nullptr;
 2905|  7.54k|               }
 2906|  7.54k|            }();
 2907|       |
 2908|       |            // A file include merges an external document into this object, so with
 2909|       |            // error_on_missing_keys the keys have to be counted across both documents (see
 2910|       |            // context::key_bits). While this object parses, its bits are published for its
 2911|       |            // includer members to hand down; and if this parse is itself an included document,
 2912|       |            // it claims the bits of the object that included us and merges into them at the
 2913|       |            // closing brace instead of running a check of its own.
 2914|  7.54k|            static constexpr bool tracks_include_keys = [] {
 2915|       |               // Nested so that reflecting over the members is only asked for when it can matter
 2916|  7.54k|               if constexpr ((glaze_object_t<T> || reflectable<T>) && Opts.error_on_missing_keys) {
 2917|  7.54k|                  return has_includer_member<T>;
 2918|  7.54k|               }
 2919|  7.54k|               else {
 2920|  7.54k|                  return false;
 2921|  7.54k|               }
 2922|  7.54k|            }();
 2923|  7.54k|            [[maybe_unused]] bit_array<num_members>* include_bits{};
 2924|       |            if constexpr (tracks_include_keys) {
 2925|       |               if (ctx.include_key_type == &include_key_tag<T>) {
 2926|       |                  include_bits = static_cast<bit_array<num_members>*>(ctx.include_key_bits);
 2927|       |                  ctx.include_key_bits = nullptr;
 2928|       |                  ctx.include_key_type = nullptr;
 2929|       |               }
 2930|       |            }
 2931|  7.54k|            [[maybe_unused]] const std::conditional_t<tracks_include_keys,
 2932|  7.54k|                                                      key_bits_scope<std::remove_reference_t<decltype(ctx)>>,
 2933|  7.54k|                                                      inert_key_bits_scope> published_bits{
 2934|  7.54k|               ctx, [&]() -> void* {
 2935|  7.54k|                  if constexpr (tracks_include_keys) {
 2936|  7.54k|                     return &fields;
 2937|  7.54k|                  }
 2938|  7.54k|                  else {
 2939|  7.54k|                     return nullptr;
 2940|  7.54k|                  }
 2941|  7.54k|               }()};
 2942|       |
 2943|  7.54k|            size_t read_count{}; // for partial_read
 2944|       |
 2945|  7.54k|            bool first = true;
 2946|  46.1k|            while (true) {
  ------------------
  |  Branch (2946:20): [True: 39.3k, Folded]
  ------------------
 2947|       |               if constexpr ((glaze_object_t<T> || reflectable<T>) && Opts.partial_read) {
 2948|       |                  static constexpr bit_array<num_members> all_fields = [] {
 2949|       |                     bit_array<num_members> arr{};
 2950|       |                     for (size_t i = 0; i < num_members; ++i) {
 2951|       |                        arr[i] = true;
 2952|       |                     }
 2953|       |                     return arr;
 2954|       |                  }();
 2955|       |
 2956|       |                  if ((all_fields & fields) == all_fields) {
 2957|       |                     ctx.error = error_code::partial_read_complete;
 2958|       |                     --ctx.depth; // as above: an early success still closes this level
 2959|       |                     return;
 2960|       |                  }
 2961|       |               }
 2962|       |
 2963|       |               // Streaming refill point: at start of each iteration, ensure buffer has data
 2964|       |               if constexpr (has_streaming_state<decltype(ctx)>) {
 2965|       |                  if (ctx.stream.enabled()) {
 2966|       |                     const size_t consumed = static_cast<size_t>(it - ctx.stream.data());
 2967|       |                     const size_t remaining = ctx.stream.size() - consumed;
 2968|       |                     // Refill when less than half of buffer remains to ensure space for next key-value pair
 2969|       |                     if (remaining <= ctx.stream.size() / 2 || it >= end) {
 2970|       |                        const char* new_it;
 2971|       |                        const char* new_end;
 2972|       |                        ctx.stream.consume_and_refill(consumed, new_it, new_end);
 2973|       |                        it = new_it;
 2974|       |                        end = new_end;
 2975|       |                        if (it >= end && ctx.stream.at_eof()) {
 2976|       |                           ctx.error = error_code::unexpected_end;
 2977|       |                           return;
 2978|       |                        }
 2979|       |                     }
 2980|       |                  }
 2981|       |               }
 2982|       |
 2983|  39.3k|               if (*it == '}') {
  ------------------
  |  Branch (2983:20): [True: 3, False: 39.3k]
  ------------------
 2984|      3|                  --ctx.depth;
 2985|       |                  if constexpr ((glaze_object_t<T> || reflectable<T>) && Opts.error_on_missing_keys) {
 2986|       |                     const bool defer_to_includer = [&] {
 2987|       |                        if constexpr (tracks_include_keys) {
 2988|       |                           if (include_bits) {
 2989|       |                              // An included document is a fragment: hand the keys it supplied to
 2990|       |                              // the object that included it, which checks the union of both.
 2991|       |                              *include_bits |= fields;
 2992|       |                              return true;
 2993|       |                           }
 2994|       |                        }
 2995|       |                        return false;
 2996|       |                     }();
 2997|       |                     constexpr auto req_fields = required_fields<T, Opts>();
 2998|       |                     if (not defer_to_includer && (req_fields & fields) != req_fields) {
 2999|       |                        for (size_t i = 0; i < num_members; ++i) {
 3000|       |                           if (not fields[i] && req_fields[i]) {
 3001|       |                              ctx.custom_error_message = reflect<T>::keys[i];
 3002|       |                              // We just return the first missing key in order to avoid heap allocations
 3003|       |                              break;
 3004|       |                           }
 3005|       |                        }
 3006|       |
 3007|       |                        ctx.error = error_code::missing_key;
 3008|       |                        return;
 3009|       |                     }
 3010|       |                  }
 3011|      3|                  if constexpr (glaze_object_t<T> || reflectable<T>) {
 3012|       |                     if constexpr (has_self_constraint_v<T> && !check_skip_self_constraint(Opts)) {
 3013|       |                        auto wrapper = self_constraint_v<T>(value);
 3014|       |                        from<JSON, decltype(wrapper)>::template op<ws_handled<Opts>()>(wrapper, ctx, it, end);
 3015|       |                        if (bool(ctx.error)) {
 3016|       |                           return;
 3017|       |                        }
 3018|       |                     }
 3019|      3|                  }
 3020|      3|                  ++it; // Increment after checking for missing keys so errors are within buffer bounds
 3021|      3|                  if constexpr (not Opts.null_terminated) {
 3022|      3|                     if (it == end) {
  ------------------
  |  Branch (3022:26): [True: 2, False: 1]
  ------------------
 3023|      2|                        ctx.error = error_code::end_reached;
 3024|      2|                        return;
 3025|      2|                     }
 3026|      3|                  }
 3027|      1|                  return;
 3028|      3|               }
 3029|  39.3k|               else if (first) {
  ------------------
  |  Branch (3029:25): [True: 7.51k, False: 31.8k]
  ------------------
 3030|  7.51k|                  first = false;
 3031|  7.51k|               }
 3032|  31.8k|               else {
 3033|  31.8k|                  if (match_invalid_end<',', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (3033:23): [True: 422, False: 31.4k]
  ------------------
 3034|    422|                     return;
 3035|    422|                  }
 3036|  31.4k|                  if constexpr (not Opts.null_terminated) {
 3037|  31.4k|                     if (it == end) [[unlikely]] {
  ------------------
  |  Branch (3037:26): [True: 0, False: 31.4k]
  ------------------
 3038|      0|                        ctx.error = error_code::unexpected_end;
 3039|      0|                        return;
 3040|      0|                     }
 3041|  31.4k|                  }
 3042|       |
 3043|       |                  if constexpr ((not Opts.minified) && (num_members > 1 || not Opts.error_on_unknown_keys) &&
 3044|  31.4k|                                (!Opts.comments)) {
 3045|  31.4k|                     if (ws_size && ws_size < size_t(end - it)) {
  ------------------
  |  Branch (3045:26): [True: 5.50k, False: 25.9k]
  |  Branch (3045:37): [True: 5.25k, False: 254]
  ------------------
 3046|  5.25k|                        skip_matching_ws(ws_start, it, ws_size);
 3047|  5.25k|                     }
 3048|  31.4k|                  }
 3049|       |
 3050|  31.4k|                  if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (3050:23): [True: 38, False: 31.4k]
  ------------------
 3051|     38|                     return;
 3052|     38|                  }
 3053|  31.4k|               }
 3054|       |
 3055|  38.9k|               constexpr auto reflection_type = glaze_object_t<T> || reflectable<T>;
  ------------------
  |  Branch (3055:49): [Folded, False: 0]
  |  Branch (3055:70): [True: 0, Folded]
  ------------------
 3056|       |
 3057|       |               if constexpr (reflection_type && (num_members == 0)) {
 3058|       |                  if constexpr (Opts.error_on_unknown_keys) {
 3059|       |                     static_assert(false_v<T>, "This should be unreachable");
 3060|       |                  }
 3061|       |                  else {
 3062|       |                     if (match_invalid_end<'"', Opts>(ctx, it, end)) {
 3063|       |                        return;
 3064|       |                     }
 3065|       |
 3066|       |                     // parsing to an empty object, but at this point the JSON presents keys
 3067|       |
 3068|       |                     // Unknown key handler does not unescape keys. Unknown escaped keys are
 3069|       |                     // handled by the user.
 3070|       |
 3071|       |                     const auto start = it;
 3072|       |                     uint64_t ascii_acc{};
 3073|       |                     skip_string_view(ctx, it, end, ascii_acc);
 3074|       |                     if (bool(ctx.error)) [[unlikely]]
 3075|       |                        return;
 3076|       |                     if (validate_utf8_span<Opts>(ctx, start, it, ascii_acc)) [[unlikely]]
 3077|       |                        return;
 3078|       |                     const sv key{start, size_t(it - start)};
 3079|       |                     ++it;
 3080|       |                     if constexpr (not Opts.null_terminated) {
 3081|       |                        if (it == end) [[unlikely]] {
 3082|       |                           ctx.error = error_code::unexpected_end;
 3083|       |                           return;
 3084|       |                        }
 3085|       |                     }
 3086|       |
 3087|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 3088|       |                        return;
 3089|       |                     }
 3090|       |
 3091|       |                     // Check if this key is the variant tag that should be skipped
 3092|       |                     if constexpr (not tag.sv().empty()) {
 3093|       |                        if (key == tag.sv()) {
 3094|       |                           // Skip the tag value
 3095|       |                           skip_value<JSON>::op<Opts>(ctx, it, end);
 3096|       |                           if (bool(ctx.error)) [[unlikely]]
 3097|       |                              return;
 3098|       |                           resync_window_end(ctx, end); // a streaming skip refills
 3099|       |                           if (skip_ws<Opts>(ctx, it, end)) {
 3100|       |                              return;
 3101|       |                           }
 3102|       |                           continue;
 3103|       |                        }
 3104|       |                     }
 3105|       |
 3106|       |                     parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
 3107|       |                     if (bool(ctx.error)) [[unlikely]]
 3108|       |                        return;
 3109|       |                     if constexpr (not Opts.null_terminated) {
 3110|       |                        if (it == end) [[unlikely]] {
 3111|       |                           ctx.error = error_code::unexpected_end;
 3112|       |                           return;
 3113|       |                        }
 3114|       |                     }
 3115|       |                     if (skip_ws<Opts>(ctx, it, end)) {
 3116|       |                        return;
 3117|       |                     }
 3118|       |                  }
 3119|       |               }
 3120|  38.9k|               else if constexpr (reflection_type) {
 3121|  38.9k|                  static_assert(bool(hash_info<T>.type));
 3122|       |
 3123|  38.9k|                  if (*it != '"') [[unlikely]] {
  ------------------
  |  Branch (3123:23): [True: 364, False: 38.5k]
  ------------------
 3124|    364|                     ctx.error = error_code::expected_quote;
 3125|    364|                     return;
 3126|    364|                  }
 3127|  38.5k|                  ++it;
 3128|  38.5k|                  if constexpr (not Opts.null_terminated) {
 3129|  38.5k|                     if (it == end) [[unlikely]] {
  ------------------
  |  Branch (3129:26): [True: 20, False: 38.5k]
  ------------------
 3130|     20|                        ctx.error = error_code::unexpected_end;
 3131|     20|                        return;
 3132|     20|                     }
 3133|  38.5k|                  }
 3134|       |
 3135|       |                  if constexpr (not tag.sv().empty() && not contains_tag<T, tag>()) {
 3136|       |                     // For tagged variants we first check to see if the key matches the tag
 3137|       |                     // We only need to do this if the tag is not part of the keys
 3138|       |
 3139|       |                     const auto start = it;
 3140|       |                     uint64_t ascii_acc{};
 3141|       |                     skip_string_view(ctx, it, end, ascii_acc);
 3142|       |                     if (bool(ctx.error)) [[unlikely]]
 3143|       |                        return;
 3144|       |                     if (validate_utf8_span<Opts>(ctx, start, it, ascii_acc)) [[unlikely]]
 3145|       |                        return;
 3146|       |                     const sv key{start, size_t(it - start)};
 3147|       |                     ++it;
 3148|       |                     if constexpr (not Opts.null_terminated) {
 3149|       |                        if (it == end) [[unlikely]] {
 3150|       |                           ctx.error = error_code::unexpected_end;
 3151|       |                           return;
 3152|       |                        }
 3153|       |                     }
 3154|       |
 3155|       |                     if (key == tag.sv()) {
 3156|       |                        if (parse_ws_colon<Opts>(ctx, it, end)) {
 3157|       |                           return;
 3158|       |                        }
 3159|       |
 3160|       |                        parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
 3161|       |                        if (bool(ctx.error)) [[unlikely]]
 3162|       |                           return;
 3163|       |
 3164|       |                        if (skip_ws<Opts>(ctx, it, end)) {
 3165|       |                           return;
 3166|       |                        }
 3167|       |                        continue;
 3168|       |                     }
 3169|       |                     else {
 3170|       |                        it = start; // reset the iterator
 3171|       |                     }
 3172|       |                  }
 3173|       |
 3174|       |                  if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
 3175|       |                     size_t index = num_members;
 3176|       |                     parse_and_invoke<Opts, T>(value, ctx, it, end, index);
 3177|       |                     if (bool(ctx.error)) [[unlikely]]
 3178|       |                        return;
 3179|       |                     if (index < num_members) {
 3180|       |                        fields[index] = true;
 3181|       |                     }
 3182|       |                  }
 3183|  38.5k|                  else {
 3184|  38.5k|                     parse_and_invoke<Opts, T>(value, ctx, it, end);
 3185|  38.5k|                     if (bool(ctx.error)) [[unlikely]]
  ------------------
  |  Branch (3185:26): [True: 6.32k, False: 32.2k]
  ------------------
 3186|  6.32k|                        return;
 3187|  38.5k|                  }
 3188|       |               }
 3189|       |               else {
 3190|       |                  // For types like std::map, std::unordered_map
 3191|       |
 3192|       |                  auto reading = [&](auto&& key) {
 3193|       |                     if constexpr (Opts.partial_read) {
 3194|       |                        if (auto element = value.find(key); element != value.end()) {
 3195|       |                           ++read_count;
 3196|       |                           parse<JSON>::op<ws_handled<Opts>()>(element->second, ctx, it, end);
 3197|       |                        }
 3198|       |                        else {
 3199|       |                           skip_value<JSON>::op<Opts>(ctx, it, end);
 3200|       |                        }
 3201|       |                     }
 3202|       |                     else {
 3203|       |                        parse<JSON>::op<ws_handled<Opts>()>(value[key], ctx, it, end);
 3204|       |                     }
 3205|       |                  };
 3206|       |
 3207|       |                  // using Key = std::conditional_t<heterogeneous_map<T>, sv, typename T::key_type>;
 3208|       |                  using Key = typename T::key_type;
 3209|       |                  if constexpr (std::is_same_v<Key, std::string>) {
 3210|       |                     ctx.scratch.clear();
 3211|       |                     parse<JSON>::op<Opts>(ctx.scratch, ctx, it, end);
 3212|       |                     if (bool(ctx.error)) [[unlikely]]
 3213|       |                        return;
 3214|       |
 3215|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 3216|       |                        return;
 3217|       |                     }
 3218|       |
 3219|       |                     reading(ctx.scratch);
 3220|       |                     if constexpr (Opts.partial_read) {
 3221|       |                        if (read_count == value.size()) {
 3222|       |                           return;
 3223|       |                        }
 3224|       |                     }
 3225|       |                     if (bool(ctx.error)) [[unlikely]]
 3226|       |                        return;
 3227|       |                  }
 3228|       |                  else if constexpr (str_t<Key>) {
 3229|       |                     Key key;
 3230|       |                     parse<JSON>::op<Opts>(key, ctx, it, end);
 3231|       |                     if (bool(ctx.error)) [[unlikely]]
 3232|       |                        return;
 3233|       |
 3234|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 3235|       |                        return;
 3236|       |                     }
 3237|       |
 3238|       |                     reading(key);
 3239|       |                     if constexpr (Opts.partial_read) {
 3240|       |                        if (read_count == value.size()) {
 3241|       |                           return;
 3242|       |                        }
 3243|       |                     }
 3244|       |                     if (bool(ctx.error)) [[unlikely]]
 3245|       |                        return;
 3246|       |                  }
 3247|       |                  else {
 3248|       |                     Key key_value{};
 3249|       |                     if constexpr (is_named_enum<Key> || mimics_str_t<Key>) {
 3250|       |                        parse<JSON>::op<Opts>(key_value, ctx, it, end);
 3251|       |                     }
 3252|       |                     else if constexpr (std::is_arithmetic_v<Key>) {
 3253|       |                        // prefer over quoted_t below to avoid double parsing of quoted_t
 3254|       |                        parse<JSON>::op<opt_true<Opts, quoted_num_opt_tag{}>>(key_value, ctx, it, end);
 3255|       |                     }
 3256|       |                     else {
 3257|       |                        parse<JSON>::op<opt_false<Opts, raw_string_opt_tag{}>>(quoted_t<Key>{key_value}, ctx, it, end);
 3258|       |                     }
 3259|       |                     if (bool(ctx.error)) [[unlikely]]
 3260|       |                        return;
 3261|       |
 3262|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 3263|       |                        return;
 3264|       |                     }
 3265|       |
 3266|       |                     reading(key_value);
 3267|       |                     if constexpr (Opts.partial_read) {
 3268|       |                        if (read_count == value.size()) {
 3269|       |                           return;
 3270|       |                        }
 3271|       |                     }
 3272|       |                     if (bool(ctx.error)) [[unlikely]]
 3273|       |                        return;
 3274|       |                  }
 3275|       |               }
 3276|       |
 3277|       |               // Streaming refill point: after parsing each key-value pair, refill if buffer is low
 3278|       |               if constexpr (has_streaming_state<decltype(ctx)>) {
 3279|       |                  if (ctx.stream.enabled()) {
 3280|       |                     const size_t consumed = static_cast<size_t>(it - ctx.stream.data());
 3281|       |                     // Refill when less than 25% of buffer remains to ensure enough space for next element
 3282|       |                     if (ctx.stream.size() - consumed <= ctx.stream.size() / 4 || it >= end) {
 3283|       |                        const char* new_it;
 3284|       |                        const char* new_end;
 3285|       |                        ctx.stream.consume_and_refill(consumed, new_it, new_end);
 3286|       |                        it = new_it;
 3287|       |                        end = new_end;
 3288|       |                        if (it >= end && ctx.stream.at_eof()) {
 3289|       |                           ctx.error = error_code::unexpected_end;
 3290|       |                           return;
 3291|       |                        }
 3292|       |                     }
 3293|       |                  }
 3294|       |               }
 3295|       |
 3296|  38.9k|               if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (3296:20): [True: 344, False: 38.5k]
  ------------------
 3297|    344|                  return;
 3298|    344|               }
 3299|  38.9k|            }
 3300|  7.54k|         }
 3301|  7.54k|      }
_ZZN3glz4fromILj10E9my_structE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETnNS_14string_literalEXtlNS5_ILm1EEEEERS1_TkNS_10is_contextERNS_7contextERPKcSB_EEvOT1_OT2_OT3_T4_ENKUlvE_clEv:
 2898|  7.51k|            decltype(auto) fields = [&]() -> decltype(auto) {
 2899|       |               if constexpr ((glaze_object_t<T> || reflectable<T>) &&
 2900|       |                             (Opts.error_on_missing_keys || Opts.partial_read)) {
 2901|       |                  return bit_array<num_members>{};
 2902|       |               }
 2903|  7.51k|               else {
 2904|  7.51k|                  return nullptr;
 2905|  7.51k|               }
 2906|  7.51k|            }();
_ZZN3glz4fromILj10E9my_structE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETnNS_14string_literalEXtlNS5_ILm1EEEEERS1_TkNS_10is_contextERNS_7contextERPKcSB_EEvOT1_OT2_OT3_T4_ENKUlvE1_clEv:
 2934|  7.51k|               ctx, [&]() -> void* {
 2935|       |                  if constexpr (tracks_include_keys) {
 2936|       |                     return &fields;
 2937|       |                  }
 2938|  7.51k|                  else {
 2939|  7.51k|                     return nullptr;
 2940|  7.51k|                  }
 2941|  7.51k|               }()};
_ZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_:
  383|  38.5k|   {
  384|  38.5k|      constexpr auto N = reflect<T>::size;
  385|       |
  386|       |      if constexpr (N == 1) {
  387|       |         decode_index<Opts, T, 0>(value, ctx, it, end, selected_index...);
  388|       |      }
  389|       |      else if constexpr (check_linear_search(Opts)) {
  390|       |         // Linear search path
  391|       |         auto key_start = it;
  392|       |         const auto index = decode_linear<T>(ctx, it, end);
  393|       |         if (bool(ctx.error)) [[unlikely]]
  394|       |            return;
  395|       |
  396|       |         if (index >= N) [[unlikely]] {
  397|       |            if constexpr (Opts.error_on_unknown_keys) {
  398|       |               ctx.error = error_code::unknown_key;
  399|       |               return;
  400|       |            }
  401|       |            else {
  402|       |               // it sits one past the closing quote, so the raw key spans [key_start, it - 1)
  403|       |               if (validate_utf8_span<Opts>(ctx, key_start, it - 1)) [[unlikely]] {
  404|       |                  return;
  405|       |               }
  406|       |               const sv key{key_start, size_t(it - key_start - 1)};
  407|       |               if constexpr (not Opts.null_terminated) {
  408|       |                  if (it == end) [[unlikely]] {
  409|       |                     ctx.error = error_code::unexpected_end;
  410|       |                     return;
  411|       |                  }
  412|       |               }
  413|       |               if (parse_ws_colon<Opts>(ctx, it, end)) {
  414|       |                  return;
  415|       |               }
  416|       |               parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
  417|       |               return;
  418|       |            }
  419|       |         }
  420|       |
  421|       |         if constexpr (not Opts.null_terminated) {
  422|       |            if (it == end) [[unlikely]] {
  423|       |               ctx.error = error_code::unexpected_end;
  424|       |               return;
  425|       |            }
  426|       |         }
  427|       |         if (skip_ws<Opts>(ctx, it, end)) {
  428|       |            return;
  429|       |         }
  430|       |         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  431|       |            return;
  432|       |         }
  433|       |         if (skip_ws<Opts>(ctx, it, end)) {
  434|       |            return;
  435|       |         }
  436|       |
  437|       |         // Fold expression dispatch - avoids jump table overhead for smaller binary size.
  438|       |         // For linear_search, pass Opts through to the field parser to avoid duplicate template
  439|       |         // instantiations; the whitespace before the value has already been skipped either way.
  440|       |         [&]<size_t... Is>(std::index_sequence<Is...>) {
  441|       |            (void)(((index == Is ? (decode_field_value<Opts, Opts, T, Is>(value, ctx, it, end, selected_index...), true)
  442|       |                                 : false) ||
  443|       |                    ...));
  444|       |         }(std::make_index_sequence<N>{});
  445|       |      }
  446|  38.5k|      else {
  447|       |         // Hash-based lookup
  448|  38.5k|         constexpr auto& HashInfo = hash_info<T>;
  449|  38.5k|         constexpr auto type = HashInfo.type;
  450|  38.5k|         static_assert(bool(type), "invalid hash algorithm");
  451|       |
  452|  38.5k|         const auto index = decode_hash<JSON, T, HashInfo, HashInfo.type>::op(it, end);
  453|       |
  454|  38.5k|         if (index >= N) [[unlikely]] {
  ------------------
  |  Branch (454:14): [True: 46, False: 38.4k]
  ------------------
  455|     46|            if constexpr (Opts.error_on_unknown_keys) {
  456|     46|               ctx.error = error_code::unknown_key;
  457|     46|               return;
  458|       |            }
  459|       |            else {
  460|       |               auto start = it;
  461|       |               skip_string_view(ctx, it, end);
  462|       |               if (bool(ctx.error)) [[unlikely]]
  463|       |                  return;
  464|       |               if (validate_utf8_span<Opts>(ctx, start, it)) [[unlikely]]
  465|       |                  return;
  466|       |               const sv key = {start, size_t(it - start)};
  467|       |               ++it; // skip the quote
  468|       |               if constexpr (not Opts.null_terminated) {
  469|       |                  if (it == end) [[unlikely]] {
  470|       |                     ctx.error = error_code::unexpected_end;
  471|       |                     return;
  472|       |                  }
  473|       |               }
  474|       |               if (parse_ws_colon<Opts>(ctx, it, end)) {
  475|       |                  return;
  476|       |               }
  477|       |               parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
  478|       |               return;
  479|       |            }
  480|     46|         }
  481|       |
  482|       |         if constexpr (N == 2) {
  483|       |            if (index == 0) {
  484|       |               decode_index<Opts, T, 0>(value, ctx, it, end, selected_index...);
  485|       |            }
  486|       |            else {
  487|       |               decode_index<Opts, T, 1>(value, ctx, it, end, selected_index...);
  488|       |            }
  489|       |         }
  490|  38.5k|         else {
  491|  38.5k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
  492|  38.5k|         }
  493|  38.5k|      }
  494|  38.5k|   }
_ZZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_ENKUlTnmvE_clILm0EEEDav:
  491|  10.2k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
_ZN3glz12decode_indexITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structLm0ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT2_OT4_OT5_OT6_DpOT3_:
  313|  10.2k|   {
  314|  10.2k|      static constexpr auto Key = get<I>(reflect<T>::keys);
  315|  10.2k|      static constexpr auto KeyWithEndQuote = join_v<Key, chars<"\"">>;
  316|  10.2k|      static constexpr auto Length = KeyWithEndQuote.size();
  317|       |
  318|       |      // Compared as a count rather than by forming `it + Length` first: a pointer past one-past-the-end
  319|       |      // is undefined even when it is never dereferenced, and a key near the end of a short buffer
  320|       |      // reaches this with fewer than `Length` bytes left. Signed, so a cursor that has overshot
  321|       |      // `end` does not read as room.
  322|  10.2k|      if (((end - it) > std::ptrdiff_t(Length)) && comparitor<KeyWithEndQuote>(it)) [[likely]] {
  ------------------
  |  Branch (322:11): [True: 10.2k, False: 7]
  |  Branch (322:52): [True: 10.2k, False: 18]
  ------------------
  323|  10.2k|         it += Length;
  324|  10.2k|         if constexpr (not Opts.null_terminated) {
  325|  10.2k|            if (it == end) [[unlikely]] {
  ------------------
  |  Branch (325:17): [True: 0, False: 10.2k]
  ------------------
  326|      0|               ctx.error = error_code::unexpected_end;
  327|      0|               return;
  328|      0|            }
  329|  10.2k|         }
  330|       |
  331|  10.2k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (331:14): [True: 8, False: 10.2k]
  ------------------
  332|      8|            return;
  333|      8|         }
  334|  10.2k|         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (334:14): [True: 19, False: 10.1k]
  ------------------
  335|     19|            return;
  336|     19|         }
  337|  10.1k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (337:14): [True: 20, False: 10.1k]
  ------------------
  338|     20|            return;
  339|     20|         }
  340|       |
  341|       |         // The hash path has already consumed the whitespace before the value
  342|  10.1k|         decode_field_value<Opts, ws_handled<Opts>(), T, I>(value, ctx, it, end, selected_index...);
  343|  10.1k|      }
  344|     25|      else [[unlikely]] {
  345|     25|         decode_index_unknown_key<Opts, T>(value, ctx, it, end);
  346|     25|      }
  347|  10.2k|   }
_ZN3glz18decode_field_valueITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETnDaXtlS1_Lj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEE9my_structLm0ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT1_E11reflectableIS9_EEEvOT3_OT5_OT6_OT7_DpOT4_:
  247|  10.1k|   {
  248|       |      // Check for null value skipping on read
  249|       |      if constexpr (check_skip_null_members_on_read(Opts)) {
  250|       |         if (*it == 'n') {
  251|       |            ++it;
  252|       |            if constexpr (not Opts.null_terminated) {
  253|       |               if (it == end) [[unlikely]] {
  254|       |                  ctx.error = error_code::unexpected_end;
  255|       |                  return;
  256|       |               }
  257|       |            }
  258|       |            match<"ull", Opts>(ctx, it, end);
  259|       |            if (bool(ctx.error)) [[unlikely]]
  260|       |               return;
  261|       |            // Successfully matched "null", skip it
  262|       |            if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  263|       |               ((selected_index = I), ...); // Mark as handled even if skipped
  264|       |            }
  265|       |            return;
  266|       |         }
  267|       |      }
  268|       |
  269|       |      if constexpr (skipped_by_meta<T, I, operation::parse>) {
  270|       |         skip_value<JSON>::op<Opts>(ctx, it, end);
  271|       |         if (bool(ctx.error)) [[unlikely]]
  272|       |            return; // Propagate error from skip_value
  273|       |      }
  274|  10.1k|      else {
  275|  10.1k|         using V = refl_t<T, I>;
  276|       |
  277|       |         if constexpr (const_value_v<V>) {
  278|       |            if constexpr (check_error_on_const_read(Opts)) {
  279|       |               ctx.error = error_code::attempt_const_read;
  280|       |            }
  281|       |            else {
  282|       |               // do not read anything into the const value
  283|       |               skip_value<JSON>::op<Opts>(ctx, it, end);
  284|       |            }
  285|       |         }
  286|       |         else if constexpr (is_function_ptr_or_ref<V>) {
  287|       |            // Function pointers cannot be deserialized from JSON.
  288|       |            // When write_function_pointers is enabled the writer emits a type-name string,
  289|       |            // but there is nothing meaningful to reconstruct on read — just skip the value.
  290|       |            // When write_function_pointers is off the key is never written, so this branch
  291|       |            // is unreachable in that case.
  292|       |            skip_value<JSON>::op<Opts>(ctx, it, end);
  293|       |         }
  294|       |         else if constexpr (glaze_object_t<T>) {
  295|       |            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(reflect<T>::values)),
  296|       |                                                                       ctx, it, end);
  297|       |         }
  298|  10.1k|         else {
  299|  10.1k|            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(to_tie(value))), ctx,
  300|  10.1k|                                                                       it, end);
  301|  10.1k|         }
  302|  10.1k|      }
  303|       |
  304|       |      // The key was present and handled, even when the value itself was skipped
  305|       |      if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  306|       |         ((selected_index = I), ...);
  307|       |      }
  308|  10.1k|   }
_ZN3glz4fromILj10EiE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERPKcRiTkNS_10is_contextERNS_7contextES5_EEvOT1_OT2_OT0_T3_:
  764|  10.1k|      {
  765|       |         if constexpr (check_quoted_num(Opts)) {
  766|       |            if (skip_ws<Opts>(ctx, it, end)) {
  767|       |               return;
  768|       |            }
  769|       |            if (match_invalid_end<'"', Opts>(ctx, it, end)) {
  770|       |               return;
  771|       |            }
  772|       |         }
  773|       |
  774|       |         if constexpr (!check_ws_handled(Opts)) {
  775|       |            if (skip_ws<Opts>(ctx, it, end)) {
  776|       |               return;
  777|       |            }
  778|       |         }
  779|       |
  780|  10.1k|         using V = std::decay_t<decltype(value)>;
  781|  10.1k|         if constexpr (int_t<V>) {
  782|  10.1k|            static_assert(sizeof(*it) == sizeof(char));
  783|       |
  784|       |            if constexpr (Opts.null_terminated) {
  785|       |               if (not glz::atoi(value, it)) [[unlikely]] {
  786|       |                  ctx.error = error_code::parse_number_failure;
  787|       |                  return;
  788|       |               }
  789|       |            }
  790|  10.1k|            else {
  791|  10.1k|               if (not glz::atoi(value, it, end)) [[unlikely]] {
  ------------------
  |  Branch (791:20): [True: 484, False: 9.68k]
  ------------------
  792|    484|                  ctx.error = error_code::parse_number_failure;
  793|    484|                  return;
  794|    484|               }
  795|  10.1k|            }
  796|       |         }
  797|       |         else {
  798|       |// float128_t requires std::from_chars for floating-point, unavailable on older Apple platforms (iOS < 16.3)
  799|       |#if !defined(_LIBCPP_VERSION) || defined(_LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT)
  800|       |            if constexpr (is_float128<V>) {
  801|       |               auto [ptr, ec] = std::from_chars(it, end, value);
  802|       |               if (ec != std::errc()) {
  803|       |                  ctx.error = error_code::parse_number_failure;
  804|       |                  return;
  805|       |               }
  806|       |               it = ptr;
  807|       |            }
  808|       |            else
  809|       |#endif
  810|       |            {
  811|       |               if constexpr (std::is_volatile_v<std::remove_reference_t<decltype(value)>>) {
  812|       |                  // Hardware may interact with value changes, so we parse into a temporary and assign in one
  813|       |                  // place
  814|       |                  V temp;
  815|       |                  if constexpr (is_size_optimized(Opts)) {
  816|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, temp);
  817|       |                     if (ec != std::errc{}) [[unlikely]] {
  818|       |                        ctx.error = error_code::parse_number_failure;
  819|       |                        return;
  820|       |                     }
  821|       |                     it = ptr;
  822|       |                  }
  823|       |                  else {
  824|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, temp);
  825|       |                     if (ec != std::errc()) [[unlikely]] {
  826|       |                        ctx.error = error_code::parse_number_failure;
  827|       |                        return;
  828|       |                     }
  829|       |                     it = ptr;
  830|       |                  }
  831|       |                  value = temp;
  832|       |               }
  833|       |               else {
  834|       |                  if constexpr (is_size_optimized(Opts)) {
  835|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, value);
  836|       |                     if (ec != std::errc{}) [[unlikely]] {
  837|       |                        ctx.error = error_code::parse_number_failure;
  838|       |                        return;
  839|       |                     }
  840|       |                     it = ptr;
  841|       |                  }
  842|       |                  else {
  843|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, value);
  844|       |                     if (ec != std::errc()) [[unlikely]] {
  845|       |                        ctx.error = error_code::parse_number_failure;
  846|       |                        return;
  847|       |                     }
  848|       |                     it = ptr;
  849|       |                  }
  850|       |               }
  851|       |            }
  852|       |         }
  853|       |
  854|       |         if constexpr (check_quoted_num(Opts)) {
  855|       |            if constexpr (not Opts.null_terminated) {
  856|       |               if (it == end) [[unlikely]] {
  857|       |                  ctx.error = error_code::unexpected_end;
  858|       |                  return;
  859|       |               }
  860|       |            }
  861|       |            if (match<'"'>(ctx, it)) {
  862|       |               return;
  863|       |            }
  864|       |            if constexpr (not Opts.null_terminated) {
  865|       |               if (it == end) {
  866|       |                  ctx.error = error_code::end_reached;
  867|       |                  return;
  868|       |               }
  869|       |            }
  870|       |         }
  871|  10.1k|         else {
  872|  10.1k|            if constexpr (not Opts.null_terminated) {
  873|  10.1k|               if (it == end) {
  ------------------
  |  Branch (873:20): [True: 286, False: 9.88k]
  ------------------
  874|    286|                  ctx.error = error_code::end_reached;
  875|    286|                  return;
  876|    286|               }
  877|  10.1k|            }
  878|  10.1k|         }
  879|  10.1k|      }
_ZN3glz24decode_index_unknown_keyITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structRS2_TkNS_10is_contextERNS_7contextERPKcS7_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT2_OT3_T4_:
  178|    128|   {
  179|    128|      if constexpr (Opts.error_on_unknown_keys) {
  180|    128|         ctx.error = error_code::unknown_key;
  181|       |      }
  182|       |      else {
  183|       |         auto* start = it;
  184|       |         uint64_t ascii_acc{};
  185|       |         skip_string_view(ctx, it, end, ascii_acc);
  186|       |         if (bool(ctx.error)) [[unlikely]]
  187|       |            return;
  188|       |         if (validate_utf8_span<Opts>(ctx, start, it, ascii_acc)) [[unlikely]]
  189|       |            return;
  190|       |         const sv key = {start, size_t(it - start)};
  191|       |         ++it;
  192|       |         if constexpr (not Opts.null_terminated) {
  193|       |            if (it == end) [[unlikely]] {
  194|       |               ctx.error = error_code::unexpected_end;
  195|       |               return;
  196|       |            }
  197|       |         }
  198|       |
  199|       |         if (parse_ws_colon<Opts>(ctx, it, end)) {
  200|       |            return;
  201|       |         }
  202|       |
  203|       |         parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
  204|       |      }
  205|    128|   }
_ZZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_ENKUlTnmvE_clILm1EEEDav:
  491|  14.3k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
_ZN3glz12decode_indexITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structLm1ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT2_OT4_OT5_OT6_DpOT3_:
  313|  14.3k|   {
  314|  14.3k|      static constexpr auto Key = get<I>(reflect<T>::keys);
  315|  14.3k|      static constexpr auto KeyWithEndQuote = join_v<Key, chars<"\"">>;
  316|  14.3k|      static constexpr auto Length = KeyWithEndQuote.size();
  317|       |
  318|       |      // Compared as a count rather than by forming `it + Length` first: a pointer past one-past-the-end
  319|       |      // is undefined even when it is never dereferenced, and a key near the end of a short buffer
  320|       |      // reaches this with fewer than `Length` bytes left. Signed, so a cursor that has overshot
  321|       |      // `end` does not read as room.
  322|  14.3k|      if (((end - it) > std::ptrdiff_t(Length)) && comparitor<KeyWithEndQuote>(it)) [[likely]] {
  ------------------
  |  Branch (322:11): [True: 14.3k, False: 11]
  |  Branch (322:52): [True: 14.3k, False: 17]
  ------------------
  323|  14.3k|         it += Length;
  324|  14.3k|         if constexpr (not Opts.null_terminated) {
  325|  14.3k|            if (it == end) [[unlikely]] {
  ------------------
  |  Branch (325:17): [True: 0, False: 14.3k]
  ------------------
  326|      0|               ctx.error = error_code::unexpected_end;
  327|      0|               return;
  328|      0|            }
  329|  14.3k|         }
  330|       |
  331|  14.3k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (331:14): [True: 8, False: 14.3k]
  ------------------
  332|      8|            return;
  333|      8|         }
  334|  14.3k|         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (334:14): [True: 17, False: 14.3k]
  ------------------
  335|     17|            return;
  336|     17|         }
  337|  14.3k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (337:14): [True: 20, False: 14.2k]
  ------------------
  338|     20|            return;
  339|     20|         }
  340|       |
  341|       |         // The hash path has already consumed the whitespace before the value
  342|  14.2k|         decode_field_value<Opts, ws_handled<Opts>(), T, I>(value, ctx, it, end, selected_index...);
  343|  14.2k|      }
  344|     28|      else [[unlikely]] {
  345|     28|         decode_index_unknown_key<Opts, T>(value, ctx, it, end);
  346|     28|      }
  347|  14.3k|   }
_ZN3glz18decode_field_valueITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETnDaXtlS1_Lj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEE9my_structLm1ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT1_E11reflectableIS9_EEEvOT3_OT5_OT6_OT7_DpOT4_:
  247|  14.2k|   {
  248|       |      // Check for null value skipping on read
  249|       |      if constexpr (check_skip_null_members_on_read(Opts)) {
  250|       |         if (*it == 'n') {
  251|       |            ++it;
  252|       |            if constexpr (not Opts.null_terminated) {
  253|       |               if (it == end) [[unlikely]] {
  254|       |                  ctx.error = error_code::unexpected_end;
  255|       |                  return;
  256|       |               }
  257|       |            }
  258|       |            match<"ull", Opts>(ctx, it, end);
  259|       |            if (bool(ctx.error)) [[unlikely]]
  260|       |               return;
  261|       |            // Successfully matched "null", skip it
  262|       |            if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  263|       |               ((selected_index = I), ...); // Mark as handled even if skipped
  264|       |            }
  265|       |            return;
  266|       |         }
  267|       |      }
  268|       |
  269|       |      if constexpr (skipped_by_meta<T, I, operation::parse>) {
  270|       |         skip_value<JSON>::op<Opts>(ctx, it, end);
  271|       |         if (bool(ctx.error)) [[unlikely]]
  272|       |            return; // Propagate error from skip_value
  273|       |      }
  274|  14.2k|      else {
  275|  14.2k|         using V = refl_t<T, I>;
  276|       |
  277|       |         if constexpr (const_value_v<V>) {
  278|       |            if constexpr (check_error_on_const_read(Opts)) {
  279|       |               ctx.error = error_code::attempt_const_read;
  280|       |            }
  281|       |            else {
  282|       |               // do not read anything into the const value
  283|       |               skip_value<JSON>::op<Opts>(ctx, it, end);
  284|       |            }
  285|       |         }
  286|       |         else if constexpr (is_function_ptr_or_ref<V>) {
  287|       |            // Function pointers cannot be deserialized from JSON.
  288|       |            // When write_function_pointers is enabled the writer emits a type-name string,
  289|       |            // but there is nothing meaningful to reconstruct on read — just skip the value.
  290|       |            // When write_function_pointers is off the key is never written, so this branch
  291|       |            // is unreachable in that case.
  292|       |            skip_value<JSON>::op<Opts>(ctx, it, end);
  293|       |         }
  294|       |         else if constexpr (glaze_object_t<T>) {
  295|       |            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(reflect<T>::values)),
  296|       |                                                                       ctx, it, end);
  297|       |         }
  298|  14.2k|         else {
  299|  14.2k|            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(to_tie(value))), ctx,
  300|  14.2k|                                                                       it, end);
  301|  14.2k|         }
  302|  14.2k|      }
  303|       |
  304|       |      // The key was present and handled, even when the value itself was skipped
  305|       |      if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  306|       |         ((selected_index = I), ...);
  307|       |      }
  308|  14.2k|   }
_ZN3glz4fromILj10EdE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERPKcRdTkNS_10is_contextERNS_7contextES5_EEvOT1_OT2_OT0_T3_:
  764|  14.2k|      {
  765|       |         if constexpr (check_quoted_num(Opts)) {
  766|       |            if (skip_ws<Opts>(ctx, it, end)) {
  767|       |               return;
  768|       |            }
  769|       |            if (match_invalid_end<'"', Opts>(ctx, it, end)) {
  770|       |               return;
  771|       |            }
  772|       |         }
  773|       |
  774|       |         if constexpr (!check_ws_handled(Opts)) {
  775|       |            if (skip_ws<Opts>(ctx, it, end)) {
  776|       |               return;
  777|       |            }
  778|       |         }
  779|       |
  780|  14.2k|         using V = std::decay_t<decltype(value)>;
  781|       |         if constexpr (int_t<V>) {
  782|       |            static_assert(sizeof(*it) == sizeof(char));
  783|       |
  784|       |            if constexpr (Opts.null_terminated) {
  785|       |               if (not glz::atoi(value, it)) [[unlikely]] {
  786|       |                  ctx.error = error_code::parse_number_failure;
  787|       |                  return;
  788|       |               }
  789|       |            }
  790|       |            else {
  791|       |               if (not glz::atoi(value, it, end)) [[unlikely]] {
  792|       |                  ctx.error = error_code::parse_number_failure;
  793|       |                  return;
  794|       |               }
  795|       |            }
  796|       |         }
  797|  14.2k|         else {
  798|       |// float128_t requires std::from_chars for floating-point, unavailable on older Apple platforms (iOS < 16.3)
  799|  14.2k|#if !defined(_LIBCPP_VERSION) || defined(_LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT)
  800|       |            if constexpr (is_float128<V>) {
  801|       |               auto [ptr, ec] = std::from_chars(it, end, value);
  802|       |               if (ec != std::errc()) {
  803|       |                  ctx.error = error_code::parse_number_failure;
  804|       |                  return;
  805|       |               }
  806|       |               it = ptr;
  807|       |            }
  808|       |            else
  809|       |#endif
  810|  14.2k|            {
  811|       |               if constexpr (std::is_volatile_v<std::remove_reference_t<decltype(value)>>) {
  812|       |                  // Hardware may interact with value changes, so we parse into a temporary and assign in one
  813|       |                  // place
  814|       |                  V temp;
  815|       |                  if constexpr (is_size_optimized(Opts)) {
  816|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, temp);
  817|       |                     if (ec != std::errc{}) [[unlikely]] {
  818|       |                        ctx.error = error_code::parse_number_failure;
  819|       |                        return;
  820|       |                     }
  821|       |                     it = ptr;
  822|       |                  }
  823|       |                  else {
  824|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, temp);
  825|       |                     if (ec != std::errc()) [[unlikely]] {
  826|       |                        ctx.error = error_code::parse_number_failure;
  827|       |                        return;
  828|       |                     }
  829|       |                     it = ptr;
  830|       |                  }
  831|       |                  value = temp;
  832|       |               }
  833|  14.2k|               else {
  834|       |                  if constexpr (is_size_optimized(Opts)) {
  835|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, value);
  836|       |                     if (ec != std::errc{}) [[unlikely]] {
  837|       |                        ctx.error = error_code::parse_number_failure;
  838|       |                        return;
  839|       |                     }
  840|       |                     it = ptr;
  841|       |                  }
  842|  14.2k|                  else {
  843|  14.2k|                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, value);
  844|  14.2k|                     if (ec != std::errc()) [[unlikely]] {
  ------------------
  |  Branch (844:26): [True: 345, False: 13.9k]
  ------------------
  845|    345|                        ctx.error = error_code::parse_number_failure;
  846|    345|                        return;
  847|    345|                     }
  848|  13.9k|                     it = ptr;
  849|  13.9k|                  }
  850|  14.2k|               }
  851|  14.2k|            }
  852|  14.2k|         }
  853|       |
  854|       |         if constexpr (check_quoted_num(Opts)) {
  855|       |            if constexpr (not Opts.null_terminated) {
  856|       |               if (it == end) [[unlikely]] {
  857|       |                  ctx.error = error_code::unexpected_end;
  858|       |                  return;
  859|       |               }
  860|       |            }
  861|       |            if (match<'"'>(ctx, it)) {
  862|       |               return;
  863|       |            }
  864|       |            if constexpr (not Opts.null_terminated) {
  865|       |               if (it == end) {
  866|       |                  ctx.error = error_code::end_reached;
  867|       |                  return;
  868|       |               }
  869|       |            }
  870|       |         }
  871|  14.2k|         else {
  872|  14.2k|            if constexpr (not Opts.null_terminated) {
  873|  14.2k|               if (it == end) {
  ------------------
  |  Branch (873:20): [True: 2.65k, False: 11.6k]
  ------------------
  874|  2.65k|                  ctx.error = error_code::end_reached;
  875|  2.65k|                  return;
  876|  2.65k|               }
  877|  14.2k|            }
  878|  14.2k|         }
  879|  14.2k|      }
_ZZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_ENKUlTnmvE_clILm2EEEDav:
  491|  4.83k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
_ZN3glz12decode_indexITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structLm2ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT2_OT4_OT5_OT6_DpOT3_:
  313|  4.83k|   {
  314|  4.83k|      static constexpr auto Key = get<I>(reflect<T>::keys);
  315|  4.83k|      static constexpr auto KeyWithEndQuote = join_v<Key, chars<"\"">>;
  316|  4.83k|      static constexpr auto Length = KeyWithEndQuote.size();
  317|       |
  318|       |      // Compared as a count rather than by forming `it + Length` first: a pointer past one-past-the-end
  319|       |      // is undefined even when it is never dereferenced, and a key near the end of a short buffer
  320|       |      // reaches this with fewer than `Length` bytes left. Signed, so a cursor that has overshot
  321|       |      // `end` does not read as room.
  322|  4.83k|      if (((end - it) > std::ptrdiff_t(Length)) && comparitor<KeyWithEndQuote>(it)) [[likely]] {
  ------------------
  |  Branch (322:11): [True: 4.80k, False: 25]
  |  Branch (322:52): [True: 4.80k, False: 2]
  ------------------
  323|  4.80k|         it += Length;
  324|  4.80k|         if constexpr (not Opts.null_terminated) {
  325|  4.80k|            if (it == end) [[unlikely]] {
  ------------------
  |  Branch (325:17): [True: 0, False: 4.80k]
  ------------------
  326|      0|               ctx.error = error_code::unexpected_end;
  327|      0|               return;
  328|      0|            }
  329|  4.80k|         }
  330|       |
  331|  4.80k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (331:14): [True: 8, False: 4.79k]
  ------------------
  332|      8|            return;
  333|      8|         }
  334|  4.79k|         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (334:14): [True: 19, False: 4.77k]
  ------------------
  335|     19|            return;
  336|     19|         }
  337|  4.77k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (337:14): [True: 19, False: 4.75k]
  ------------------
  338|     19|            return;
  339|     19|         }
  340|       |
  341|       |         // The hash path has already consumed the whitespace before the value
  342|  4.75k|         decode_field_value<Opts, ws_handled<Opts>(), T, I>(value, ctx, it, end, selected_index...);
  343|  4.75k|      }
  344|     27|      else [[unlikely]] {
  345|     27|         decode_index_unknown_key<Opts, T>(value, ctx, it, end);
  346|     27|      }
  347|  4.83k|   }
_ZN3glz18decode_field_valueITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETnDaXtlS1_Lj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEE9my_structLm2ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT1_E11reflectableIS9_EEEvOT3_OT5_OT6_OT7_DpOT4_:
  247|  4.75k|   {
  248|       |      // Check for null value skipping on read
  249|       |      if constexpr (check_skip_null_members_on_read(Opts)) {
  250|       |         if (*it == 'n') {
  251|       |            ++it;
  252|       |            if constexpr (not Opts.null_terminated) {
  253|       |               if (it == end) [[unlikely]] {
  254|       |                  ctx.error = error_code::unexpected_end;
  255|       |                  return;
  256|       |               }
  257|       |            }
  258|       |            match<"ull", Opts>(ctx, it, end);
  259|       |            if (bool(ctx.error)) [[unlikely]]
  260|       |               return;
  261|       |            // Successfully matched "null", skip it
  262|       |            if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  263|       |               ((selected_index = I), ...); // Mark as handled even if skipped
  264|       |            }
  265|       |            return;
  266|       |         }
  267|       |      }
  268|       |
  269|       |      if constexpr (skipped_by_meta<T, I, operation::parse>) {
  270|       |         skip_value<JSON>::op<Opts>(ctx, it, end);
  271|       |         if (bool(ctx.error)) [[unlikely]]
  272|       |            return; // Propagate error from skip_value
  273|       |      }
  274|  4.75k|      else {
  275|  4.75k|         using V = refl_t<T, I>;
  276|       |
  277|       |         if constexpr (const_value_v<V>) {
  278|       |            if constexpr (check_error_on_const_read(Opts)) {
  279|       |               ctx.error = error_code::attempt_const_read;
  280|       |            }
  281|       |            else {
  282|       |               // do not read anything into the const value
  283|       |               skip_value<JSON>::op<Opts>(ctx, it, end);
  284|       |            }
  285|       |         }
  286|       |         else if constexpr (is_function_ptr_or_ref<V>) {
  287|       |            // Function pointers cannot be deserialized from JSON.
  288|       |            // When write_function_pointers is enabled the writer emits a type-name string,
  289|       |            // but there is nothing meaningful to reconstruct on read — just skip the value.
  290|       |            // When write_function_pointers is off the key is never written, so this branch
  291|       |            // is unreachable in that case.
  292|       |            skip_value<JSON>::op<Opts>(ctx, it, end);
  293|       |         }
  294|       |         else if constexpr (glaze_object_t<T>) {
  295|       |            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(reflect<T>::values)),
  296|       |                                                                       ctx, it, end);
  297|       |         }
  298|  4.75k|         else {
  299|  4.75k|            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(to_tie(value))), ctx,
  300|  4.75k|                                                                       it, end);
  301|  4.75k|         }
  302|  4.75k|      }
  303|       |
  304|       |      // The key was present and handled, even when the value itself was skipped
  305|       |      if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  306|       |         ((selected_index = I), ...);
  307|       |      }
  308|  4.75k|   }
_ZN3glz4fromILj10ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERPKcSC_S7_TkNS_10is_contextERNS_7contextEEEvRT2_OT3_OT0_T1_:
  888|  4.75k|      {
  889|       |         if constexpr (check_string_as_number(Opts)) {
  890|       |            auto start = it;
  891|       |            skip_number<Opts>(ctx, it, end);
  892|       |            if (bool(ctx.error)) [[unlikely]] {
  893|       |               return;
  894|       |            }
  895|       |            if (start == it) [[unlikely]] {
  896|       |               ctx.error = error_code::parse_number_failure;
  897|       |               return;
  898|       |            }
  899|       |            value.append(start, size_t(it - start));
  900|       |         }
  901|  4.75k|         else {
  902|  4.75k|            if constexpr (!check_opening_handled(Opts)) {
  903|       |               if constexpr (!check_ws_handled(Opts)) {
  904|       |                  if (skip_ws<Opts>(ctx, it, end)) {
  905|       |                     return;
  906|       |                  }
  907|       |               }
  908|       |
  909|  4.75k|               if (match_invalid_end<'"', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (909:20): [True: 17, False: 4.74k]
  ------------------
  910|     17|                  return;
  911|     17|               }
  912|  4.75k|            }
  913|       |
  914|  4.75k|            if constexpr (not check_raw_string(Opts)) {
  915|  4.75k|               static constexpr auto string_padding_bytes = 8;
  916|       |
  917|       |               // How much buffer has to remain for an eight byte load at the cursor to stay inside
  918|       |               // it. One on a padded input, where the last chunk is free to straddle the end of the
  919|       |               // document, so the byte tails below are unreachable; eight otherwise, which costs the
  920|       |               // final bytes of the buffer their chunked path and nothing else.
  921|  4.75k|               const std::ptrdiff_t scan_min = chunk_min<8>(ctx.padded_input);
  922|       |
  923|  4.75k|               if (size_t(end - it) >= 8) {
  ------------------
  |  Branch (923:20): [True: 4.46k, False: 292]
  ------------------
  924|       |                  // The bound as a pointer, so the loops below spend a compare per chunk rather
  925|       |                  // than a subtract and a compare. Well defined here and nowhere else in this
  926|       |                  // reader: the branch has just established that at least eight bytes remain, and
  927|       |                  // `scan_min` is at most eight.
  928|  4.46k|                  const auto* const chunk_limit = end - scan_min;
  929|       |
  930|  4.46k|                  auto start = it;
  931|  4.46k|                  uint64_t ascii_acc{};
  932|  3.12M|                  while (it <= chunk_limit) {
  ------------------
  |  Branch (932:26): [True: 3.12M, False: 446]
  ------------------
  933|  3.12M|                     uint64_t chunk;
  934|  3.12M|                     std::memcpy(&chunk, it, 8);
  935|       |                     if constexpr (std::endian::native == std::endian::big) {
  936|       |                        chunk = std::byteswap(chunk);
  937|       |                     }
  938|  3.12M|                     ascii_acc |= chunk;
  939|  3.12M|                     const uint64_t test_chars = has_quote(chunk);
  940|  3.12M|                     if (test_chars) {
  ------------------
  |  Branch (940:26): [True: 4.34k, False: 3.11M]
  ------------------
  941|  4.34k|                        it += (countr_zero(test_chars) >> 3);
  942|       |
  943|  4.34k|                        auto* prev = it - 1;
  944|  5.70k|                        while (*prev == '\\') {
  ------------------
  |  Branch (944:32): [True: 1.36k, False: 4.34k]
  ------------------
  945|  1.36k|                           --prev;
  946|  1.36k|                        }
  947|  4.34k|                        if (size_t(it - prev) % 2) {
  ------------------
  |  Branch (947:29): [True: 4.01k, False: 330]
  ------------------
  948|  4.01k|                           goto continue_decode;
  949|  4.01k|                        }
  950|    330|                        ++it; // skip the escaped quote
  951|    330|                     }
  952|  3.11M|                     else {
  953|  3.11M|                        it += 8;
  954|  3.11M|                     }
  955|  3.12M|                  }
  956|       |
  957|  1.07k|                  while (it[-1] == '\\') [[unlikely]] {
  ------------------
  |  Branch (957:26): [True: 628, False: 446]
  ------------------
  958|       |                     // if we ended on an escape character then we need to rewind
  959|       |                     // because we lost our context
  960|    628|                     --it;
  961|    628|                  }
  962|       |
  963|       |                  // The byte-wise tail keeps feeding the accumulator: it has to cover every byte of
  964|       |                  // the string, or a non-ASCII byte reached here would be waved through unvalidated.
  965|  2.04k|                  for (; it < end; ++it) {
  ------------------
  |  Branch (965:26): [True: 2.00k, False: 41]
  ------------------
  966|  2.00k|                     ascii_acc |= uint8_t(*it);
  967|  2.00k|                     if (*it == '"') {
  ------------------
  |  Branch (967:26): [True: 429, False: 1.57k]
  ------------------
  968|    429|                        auto* prev = it - 1;
  969|    663|                        while (*prev == '\\') {
  ------------------
  |  Branch (969:32): [True: 234, False: 429]
  ------------------
  970|    234|                           --prev;
  971|    234|                        }
  972|    429|                        if (size_t(it - prev) % 2) {
  ------------------
  |  Branch (972:29): [True: 405, False: 24]
  ------------------
  973|    405|                           goto continue_decode;
  974|    405|                        }
  975|    429|                     }
  976|  2.00k|                  }
  977|       |
  978|     41|                  ctx.error = error_code::unexpected_end;
  979|     41|                  return;
  980|       |
  981|  4.42k|               continue_decode:
  982|       |
  983|  4.42k|                  if (validate_utf8_span<Opts>(ctx, start, it, ascii_acc)) [[unlikely]] {
  ------------------
  |  Branch (983:23): [True: 89, False: 4.33k]
  ------------------
  984|     89|                     return;
  985|     89|                  }
  986|       |
  987|  4.33k|                  auto n = size_t(it - start);
  988|       |
  989|       |                  // The padding lets the chunked copy below run up to the closing quote. Skip it when it
  990|       |                  // would be the only reason to allocate, as for a string that fits the small string
  991|       |                  // buffer but not with eight bytes to spare.
  992|  4.33k|                  bool pad = true;
  993|  4.33k|                  if constexpr (requires { value.capacity(); }) {
  994|  4.33k|                     const auto capacity = size_t(value.capacity());
  995|  4.33k|                     pad = capacity >= n + string_padding_bytes || capacity < n;
  ------------------
  |  Branch (995:28): [True: 2.89k, False: 1.44k]
  |  Branch (995:68): [True: 394, False: 1.04k]
  ------------------
  996|  4.33k|                  }
  997|  4.33k|                  resize_unfilled(value, pad ? n + string_padding_bytes : n);
  ------------------
  |  Branch (997:42): [True: 3.28k, False: 1.04k]
  ------------------
  998|       |
  999|  4.33k|                  auto* p = value.data();
 1000|       |
 1001|       |                  // An error below returns with the tail of `value` still unwritten. Leave the size at
 1002|       |                  // what was actually written rather than at the padded length, which resize_unfilled
 1003|       |                  // did not fill.
 1004|  4.33k|                  auto* const written_begin = p;
 1005|       |
 1006|       |                  // Without the padding, copy a chunk only while eight bytes remain before the quote.
 1007|       |                  // Unescaping never puts the output ahead of the input, so no store lands past the end.
 1008|  4.33k|                  const auto* const copy_end = pad ? it : it - (std::min)(n, size_t(7));
  ------------------
  |  Branch (1008:48): [True: 3.28k, False: 1.04k]
  ------------------
 1009|       |
 1010|       |                  // Copy eight bytes at a time for as long as eight bytes are there to read, then
 1011|       |                  // finish the span below. The chunked form reads past the character it is looking
 1012|       |                  // at, so on an unpadded buffer it has to stop short of the end; splitting it this
 1013|       |                  // way keeps it for the body of every string rather than giving it up whenever the
 1014|       |                  // string happens to finish near the end of the buffer -- which, for a document
 1015|       |                  // that is itself one string, is every string.
 1016|   599k|                  while (start < copy_end && start <= chunk_limit) {
  ------------------
  |  Branch (1016:26): [True: 595k, False: 3.65k]
  |  Branch (1016:46): [True: 595k, False: 190]
  ------------------
 1017|   595k|                     std::memcpy(p, start, 8);
 1018|   595k|                     uint64_t swar;
 1019|   595k|                     std::memcpy(&swar, p, 8);
 1020|       |                     if constexpr (std::endian::native == std::endian::big) {
 1021|       |                        swar = std::byteswap(swar);
 1022|       |                     }
 1023|       |
 1024|   595k|                     constexpr uint64_t lo7_mask = repeat_byte8(0b01111111);
 1025|   595k|                     const uint64_t lo7 = swar & lo7_mask;
 1026|   595k|                     const uint64_t backslash = (lo7 ^ repeat_byte8('\\')) + lo7_mask;
 1027|   595k|                     const uint64_t less_32 = (swar & repeat_byte8(0b01100000)) + lo7_mask;
 1028|   595k|                     uint64_t next = ~((backslash & less_32) | swar);
 1029|       |
 1030|   595k|                     next &= repeat_byte8(0b10000000);
 1031|   595k|                     if (next == 0) {
  ------------------
  |  Branch (1031:26): [True: 587k, False: 7.90k]
  ------------------
 1032|   587k|                        start += 8;
 1033|   587k|                        p += 8;
 1034|   587k|                        continue;
 1035|   587k|                     }
 1036|       |
 1037|  7.90k|                     next = countr_zero(next) >> 3;
 1038|  7.90k|                     start += next;
 1039|  7.90k|                     if (start >= it) {
  ------------------
  |  Branch (1039:26): [True: 205, False: 7.70k]
  ------------------
 1040|    205|                        break;
 1041|    205|                     }
 1042|       |
 1043|  7.70k|                     if ((*start & 0b11100000) == 0) [[unlikely]] {
  ------------------
  |  Branch (1043:26): [True: 102, False: 7.59k]
  ------------------
 1044|    102|                        ctx.error = error_code::syntax_error;
 1045|    102|                        value.resize(size_t(p - written_begin));
 1046|    102|                        return;
 1047|    102|                     }
 1048|  7.59k|                     ++start; // skip the escape
 1049|  7.59k|                     if (*start == 'u') {
  ------------------
  |  Branch (1049:26): [True: 2.00k, False: 5.59k]
  ------------------
 1050|  2.00k|                        ++start;
 1051|  2.00k|                        p += next;
 1052|  2.00k|                        const auto mark = start;
 1053|  2.00k|                        const auto decoded = handle_unicode_code_point(start, p, end);
 1054|  2.00k|                        if (decoded.written == 0) [[unlikely]] {
  ------------------
  |  Branch (1054:29): [True: 160, False: 1.84k]
  ------------------
 1055|    160|                           ctx.error = decoded.truncated ? error_code::unexpected_end
  ------------------
  |  Branch (1055:40): [True: 0, False: 160]
  ------------------
 1056|    160|                                                         : error_code::unicode_escape_conversion_failure;
 1057|    160|                           value.resize(size_t(p - written_begin));
 1058|    160|                           return;
 1059|    160|                        }
 1060|  1.84k|                        n += decoded.written;
 1061|       |                        // escape + u + unicode code points
 1062|  1.84k|                        n -= 2 + uint32_t(start - mark);
 1063|  1.84k|                     }
 1064|  5.59k|                     else {
 1065|  5.59k|                        p += next;
 1066|  5.59k|                        *p = char_unescape_table[uint8_t(*start)];
 1067|  5.59k|                        if (*p == 0) [[unlikely]] {
  ------------------
  |  Branch (1067:29): [True: 21, False: 5.57k]
  ------------------
 1068|     21|                           ctx.error = error_code::invalid_escape;
 1069|     21|                           value.resize(size_t(p - written_begin));
 1070|     21|                           return;
 1071|     21|                        }
 1072|  5.57k|                        ++p;
 1073|  5.57k|                        ++start;
 1074|  5.57k|                        --n;
 1075|  5.57k|                     }
 1076|  7.59k|                  }
 1077|       |
 1078|       |                  // Whatever the chunked copy could not reach. `p` and `start` stay in step across
 1079|       |                  // that loop, so this picks up exactly where it stopped.
 1080|  7.47k|                  while (start < it) {
  ------------------
  |  Branch (1080:26): [True: 3.52k, False: 3.95k]
  ------------------
 1081|  3.52k|                     if ((*start & 0b11100000) == 0) [[unlikely]] {
  ------------------
  |  Branch (1081:26): [True: 14, False: 3.51k]
  ------------------
 1082|     14|                        ctx.error = error_code::syntax_error;
 1083|     14|                        value.resize(size_t(p - written_begin));
 1084|     14|                        return;
 1085|     14|                     }
 1086|  3.51k|                     if (*start == '\\') {
  ------------------
  |  Branch (1086:26): [True: 1.01k, False: 2.49k]
  ------------------
 1087|  1.01k|                        ++start; // skip the escape
 1088|  1.01k|                        if (*start == 'u') {
  ------------------
  |  Branch (1088:29): [True: 751, False: 263]
  ------------------
 1089|    751|                           ++start;
 1090|    751|                           const auto mark = start;
 1091|    751|                           const auto decoded = handle_unicode_code_point(start, p, end);
 1092|    751|                           if (decoded.written == 0) [[unlikely]] {
  ------------------
  |  Branch (1092:32): [True: 73, False: 678]
  ------------------
 1093|     73|                              ctx.error = decoded.truncated ? error_code::unexpected_end
  ------------------
  |  Branch (1093:43): [True: 0, False: 73]
  ------------------
 1094|     73|                                                            : error_code::unicode_escape_conversion_failure;
 1095|     73|                              value.resize(size_t(p - written_begin));
 1096|     73|                              return;
 1097|     73|                           }
 1098|    678|                           n += decoded.written;
 1099|    678|                           n -= 2 + uint32_t(start - mark);
 1100|    678|                        }
 1101|    263|                        else {
 1102|    263|                           *p = char_unescape_table[uint8_t(*start)];
 1103|    263|                           if (*p == 0) [[unlikely]] {
  ------------------
  |  Branch (1103:32): [True: 13, False: 250]
  ------------------
 1104|     13|                              ctx.error = error_code::invalid_escape;
 1105|     13|                              value.resize(size_t(p - written_begin));
 1106|     13|                              return;
 1107|     13|                           }
 1108|    250|                           ++p;
 1109|    250|                           ++start;
 1110|    250|                           --n;
 1111|    250|                        }
 1112|  1.01k|                     }
 1113|  2.49k|                     else {
 1114|  2.49k|                        *p = *start;
 1115|  2.49k|                        ++p;
 1116|  2.49k|                        ++start;
 1117|  2.49k|                     }
 1118|  3.51k|                  }
 1119|       |
 1120|  3.95k|                  value.resize(n);
 1121|  3.95k|                  ++it;
 1122|  3.95k|               }
 1123|    292|               else {
 1124|       |                  // For short strings
 1125|       |
 1126|    292|                  std::array<char, 8> buffer{};
 1127|       |
 1128|    292|                  auto* p = buffer.data();
 1129|    292|                  const auto* const utf8_start = it;
 1130|       |
 1131|    766|                  while (it < end) [[likely]] {
  ------------------
  |  Branch (1131:26): [True: 694, False: 72]
  ------------------
 1132|    694|                     *p = *it;
 1133|    694|                     if (*it == '"') {
  ------------------
  |  Branch (1133:26): [True: 176, False: 518]
  ------------------
 1134|    176|                        if (validate_utf8_span<Opts>(ctx, utf8_start, it)) [[unlikely]] {
  ------------------
  |  Branch (1134:29): [True: 69, False: 107]
  ------------------
 1135|     69|                           return;
 1136|     69|                        }
 1137|    107|                        const size_t n = size_t(p - buffer.data());
 1138|    107|#if __has_cpp_attribute(assume) >= 202207L
 1139|    107|                        [[assume(n <= sizeof(buffer))]];
 1140|    107|#endif
 1141|    107|                        value.assign(buffer.data(), n);
 1142|    107|                        ++it;
 1143|    107|                        if constexpr (not Opts.null_terminated) {
 1144|    107|                           if (it == end) {
  ------------------
  |  Branch (1144:32): [True: 92, False: 15]
  ------------------
 1145|     92|                              ctx.error = error_code::end_reached;
 1146|     92|                              return;
 1147|     92|                           }
 1148|    107|                        }
 1149|     15|                        return;
 1150|    176|                     }
 1151|    518|                     else if (*it == '\\') {
  ------------------
  |  Branch (1151:31): [True: 97, False: 421]
  ------------------
 1152|       |                        // Bounded whatever `null_terminated` says: a document cut off inside an
 1153|       |                        // escape has run out of input, and saying so beats blaming the terminator
 1154|       |                        // the cut exposed -- which is what reading on would find, and would report
 1155|       |                        // as a malformed escape.
 1156|     97|                        ++it; // skip the escape
 1157|     97|                        if (it == end) [[unlikely]] {
  ------------------
  |  Branch (1157:29): [True: 3, False: 94]
  ------------------
 1158|      3|                           ctx.error = error_code::unexpected_end;
 1159|      3|                           return;
 1160|      3|                        }
 1161|     94|                        if (*it == 'u') {
  ------------------
  |  Branch (1161:29): [True: 72, False: 22]
  ------------------
 1162|     72|                           ++it;
 1163|     72|                           if (it == end) [[unlikely]] {
  ------------------
  |  Branch (1163:32): [True: 1, False: 71]
  ------------------
 1164|      1|                              ctx.error = error_code::unexpected_end;
 1165|      1|                              return;
 1166|      1|                           }
 1167|     71|                           const auto decoded = handle_unicode_code_point(it, p, end);
 1168|     71|                           if (decoded.written == 0) [[unlikely]] {
  ------------------
  |  Branch (1168:32): [True: 24, False: 47]
  ------------------
 1169|     24|                              ctx.error = decoded.truncated ? error_code::unexpected_end
  ------------------
  |  Branch (1169:43): [True: 7, False: 17]
  ------------------
 1170|     24|                                                            : error_code::unicode_escape_conversion_failure;
 1171|     24|                              return;
 1172|     24|                           }
 1173|     71|                        }
 1174|     22|                        else {
 1175|     22|                           *p = char_unescape_table[uint8_t(*it)];
 1176|     22|                           if (*p == 0) [[unlikely]] {
  ------------------
  |  Branch (1176:32): [True: 9, False: 13]
  ------------------
 1177|      9|                              ctx.error = error_code::invalid_escape;
 1178|      9|                              return;
 1179|      9|                           }
 1180|     13|                           ++p;
 1181|     13|                           ++it;
 1182|     13|                        }
 1183|     94|                     }
 1184|    421|                     else if ((*it & 0b11100000) == 0) [[unlikely]] {
  ------------------
  |  Branch (1184:31): [True: 7, False: 414]
  ------------------
 1185|      7|                        ctx.error = error_code::syntax_error;
 1186|      7|                        return;
 1187|      7|                     }
 1188|    414|                     else {
 1189|    414|                        ++it;
 1190|    414|                        ++p;
 1191|    414|                     }
 1192|    694|                  }
 1193|       |
 1194|     72|                  ctx.error = error_code::unexpected_end;
 1195|     72|               }
 1196|       |            }
 1197|       |            else {
 1198|       |               // raw_string
 1199|       |               auto start = it;
 1200|       |               skip_string_view(ctx, it, end);
 1201|       |               if (bool(ctx.error)) [[unlikely]]
 1202|       |                  return;
 1203|       |
 1204|       |               if (validate_utf8_span<Opts>(ctx, start, it)) [[unlikely]] {
 1205|       |                  return;
 1206|       |               }
 1207|       |
 1208|       |               value.assign(start, size_t(it - start));
 1209|       |               ++it;
 1210|       |            }
 1211|  4.75k|         }
 1212|  4.75k|      }
_ZZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_ENKUlTnmvE_clILm3EEEDav:
  491|  9.06k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
_ZN3glz12decode_indexITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structLm3ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT2_OT4_OT5_OT6_DpOT3_:
  313|  9.06k|   {
  314|  9.06k|      static constexpr auto Key = get<I>(reflect<T>::keys);
  315|  9.06k|      static constexpr auto KeyWithEndQuote = join_v<Key, chars<"\"">>;
  316|  9.06k|      static constexpr auto Length = KeyWithEndQuote.size();
  317|       |
  318|       |      // Compared as a count rather than by forming `it + Length` first: a pointer past one-past-the-end
  319|       |      // is undefined even when it is never dereferenced, and a key near the end of a short buffer
  320|       |      // reaches this with fewer than `Length` bytes left. Signed, so a cursor that has overshot
  321|       |      // `end` does not read as room.
  322|  9.06k|      if (((end - it) > std::ptrdiff_t(Length)) && comparitor<KeyWithEndQuote>(it)) [[likely]] {
  ------------------
  |  Branch (322:11): [True: 9.05k, False: 8]
  |  Branch (322:52): [True: 9.01k, False: 40]
  ------------------
  323|  9.01k|         it += Length;
  324|  9.01k|         if constexpr (not Opts.null_terminated) {
  325|  9.01k|            if (it == end) [[unlikely]] {
  ------------------
  |  Branch (325:17): [True: 0, False: 9.01k]
  ------------------
  326|      0|               ctx.error = error_code::unexpected_end;
  327|      0|               return;
  328|      0|            }
  329|  9.01k|         }
  330|       |
  331|  9.01k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (331:14): [True: 8, False: 9.00k]
  ------------------
  332|      8|            return;
  333|      8|         }
  334|  9.00k|         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (334:14): [True: 20, False: 8.98k]
  ------------------
  335|     20|            return;
  336|     20|         }
  337|  8.98k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (337:14): [True: 20, False: 8.96k]
  ------------------
  338|     20|            return;
  339|     20|         }
  340|       |
  341|       |         // The hash path has already consumed the whitespace before the value
  342|  8.96k|         decode_field_value<Opts, ws_handled<Opts>(), T, I>(value, ctx, it, end, selected_index...);
  343|  8.96k|      }
  344|     48|      else [[unlikely]] {
  345|     48|         decode_index_unknown_key<Opts, T>(value, ctx, it, end);
  346|     48|      }
  347|  9.06k|   }
_ZN3glz18decode_field_valueITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEETnDaXtlS1_Lj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEE9my_structLm3ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT1_E11reflectableIS9_EEEvOT3_OT5_OT6_OT7_DpOT4_:
  247|  8.96k|   {
  248|       |      // Check for null value skipping on read
  249|       |      if constexpr (check_skip_null_members_on_read(Opts)) {
  250|       |         if (*it == 'n') {
  251|       |            ++it;
  252|       |            if constexpr (not Opts.null_terminated) {
  253|       |               if (it == end) [[unlikely]] {
  254|       |                  ctx.error = error_code::unexpected_end;
  255|       |                  return;
  256|       |               }
  257|       |            }
  258|       |            match<"ull", Opts>(ctx, it, end);
  259|       |            if (bool(ctx.error)) [[unlikely]]
  260|       |               return;
  261|       |            // Successfully matched "null", skip it
  262|       |            if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  263|       |               ((selected_index = I), ...); // Mark as handled even if skipped
  264|       |            }
  265|       |            return;
  266|       |         }
  267|       |      }
  268|       |
  269|       |      if constexpr (skipped_by_meta<T, I, operation::parse>) {
  270|       |         skip_value<JSON>::op<Opts>(ctx, it, end);
  271|       |         if (bool(ctx.error)) [[unlikely]]
  272|       |            return; // Propagate error from skip_value
  273|       |      }
  274|  8.96k|      else {
  275|  8.96k|         using V = refl_t<T, I>;
  276|       |
  277|       |         if constexpr (const_value_v<V>) {
  278|       |            if constexpr (check_error_on_const_read(Opts)) {
  279|       |               ctx.error = error_code::attempt_const_read;
  280|       |            }
  281|       |            else {
  282|       |               // do not read anything into the const value
  283|       |               skip_value<JSON>::op<Opts>(ctx, it, end);
  284|       |            }
  285|       |         }
  286|       |         else if constexpr (is_function_ptr_or_ref<V>) {
  287|       |            // Function pointers cannot be deserialized from JSON.
  288|       |            // When write_function_pointers is enabled the writer emits a type-name string,
  289|       |            // but there is nothing meaningful to reconstruct on read — just skip the value.
  290|       |            // When write_function_pointers is off the key is never written, so this branch
  291|       |            // is unreachable in that case.
  292|       |            skip_value<JSON>::op<Opts>(ctx, it, end);
  293|       |         }
  294|       |         else if constexpr (glaze_object_t<T>) {
  295|       |            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(reflect<T>::values)),
  296|       |                                                                       ctx, it, end);
  297|       |         }
  298|  8.96k|         else {
  299|  8.96k|            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(to_tie(value))), ctx,
  300|  8.96k|                                                                       it, end);
  301|  8.96k|         }
  302|  8.96k|      }
  303|       |
  304|       |      // The key was present and handled, even when the value itself was skipped
  305|       |      if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  306|       |         ((selected_index = I), ...);
  307|       |      }
  308|  8.96k|   }
_ZN3glz4fromILj10ENSt3__15arrayImLm3EEEE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERS3_TkNS_10is_contextERNS_7contextERPKcSB_EEvOT0_OT1_OT2_T3_:
 2051|  8.96k|      {
 2052|  8.96k|         constexpr auto Opts = ws_handled_off<Options>();
 2053|       |         if constexpr (!check_ws_handled(Options)) {
 2054|       |            if (skip_ws<Opts>(ctx, it, end)) {
 2055|       |               return;
 2056|       |            }
 2057|       |         }
 2058|       |
 2059|  8.96k|         if (match_invalid_end<'[', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2059:14): [True: 20, False: 8.94k]
  ------------------
 2060|     20|            return;
 2061|     20|         }
 2062|       |         // one nesting level (see enter_depth): counted in both modes so the limit binds,
 2063|       |         // released at each syntactic close below
 2064|  8.94k|         if (enter_depth(ctx)) [[unlikely]] {
  ------------------
  |  Branch (2064:14): [True: 0, False: 8.94k]
  ------------------
 2065|      0|            return;
 2066|      0|         }
 2067|       |
 2068|  8.94k|         const auto ws_start = it;
 2069|  8.94k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2069:14): [True: 27, False: 8.91k]
  ------------------
 2070|     27|            return;
 2071|     27|         }
 2072|       |
 2073|  8.91k|         if (*it == ']') {
  ------------------
  |  Branch (2073:14): [True: 766, False: 8.15k]
  ------------------
 2074|    766|            --ctx.depth;
 2075|    766|            ++it;
 2076|       |            if constexpr ((resizable<T> || is_inplace_vector<T>) && not check_append_arrays(Opts)) {
 2077|       |               value.clear();
 2078|       |
 2079|       |               if constexpr (check_shrink_to_fit(Opts) && has_shrink_to_fit<T>) {
 2080|       |                  value.shrink_to_fit();
 2081|       |               }
 2082|       |            }
 2083|    766|            return;
 2084|    766|         }
 2085|       |
 2086|  8.15k|         const size_t ws_size = size_t(it - ws_start);
 2087|       |
 2088|  8.15k|         static constexpr bool should_append = (resizable<T> || is_inplace_vector<T>) && check_append_arrays(Opts);
  ------------------
  |  Branch (2088:49): [Folded, False: 0]
  |  Branch (2088:65): [Folded, False: 0]
  |  Branch (2088:90): [Folded, False: 0]
  ------------------
 2089|  8.15k|         if constexpr (not should_append) {
 2090|  8.15k|            const auto n = value.size();
 2091|       |
 2092|  8.15k|            auto value_it = value.begin();
 2093|       |
 2094|  18.3k|            for (size_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2094:32): [True: 18.3k, False: 24]
  ------------------
 2095|  18.3k|               parse<JSON>::op<ws_handled<Opts>()>(*value_it++, ctx, it, end);
 2096|  18.3k|               if (bool(ctx.error)) [[unlikely]]
  ------------------
  |  Branch (2096:20): [True: 966, False: 17.3k]
  ------------------
 2097|    966|                  return;
 2098|  17.3k|               if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2098:20): [True: 24, False: 17.3k]
  ------------------
 2099|     24|                  return;
 2100|     24|               }
 2101|  17.3k|               if (*it == ',') {
  ------------------
  |  Branch (2101:20): [True: 10.2k, False: 7.06k]
  ------------------
 2102|  10.2k|                  ++it;
 2103|       |
 2104|  10.2k|                  if constexpr (!Opts.minified && !Opts.comments) {
 2105|  10.2k|                     if (ws_size && ws_size < size_t(end - it)) {
  ------------------
  |  Branch (2105:26): [True: 2.21k, False: 8.07k]
  |  Branch (2105:37): [True: 2.15k, False: 69]
  ------------------
 2106|  2.15k|                        skip_matching_ws(ws_start, it, ws_size);
 2107|  2.15k|                     }
 2108|  10.2k|                  }
 2109|       |
 2110|  10.2k|                  if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2110:23): [True: 75, False: 10.2k]
  ------------------
 2111|     75|                     return;
 2112|     75|                  }
 2113|  10.2k|               }
 2114|  7.06k|               else if (*it == ']') {
  ------------------
  |  Branch (2114:25): [True: 6.78k, False: 273]
  ------------------
 2115|  6.78k|                  --ctx.depth;
 2116|  6.78k|                  ++it;
 2117|       |                  if constexpr (erasable<T>) {
 2118|       |                     value.erase(value_it,
 2119|       |                                 value.end()); // use erase rather than resize for non-default constructible elements
 2120|       |
 2121|       |                     if constexpr (check_shrink_to_fit(Opts) && has_shrink_to_fit<T>) {
 2122|       |                        value.shrink_to_fit();
 2123|       |                     }
 2124|       |                  }
 2125|  6.78k|                  return;
 2126|  6.78k|               }
 2127|    273|               else [[unlikely]] {
 2128|    273|                  ctx.error = error_code::expected_bracket;
 2129|    273|                  return;
 2130|    273|               }
 2131|  17.3k|            }
 2132|  8.15k|         }
 2133|       |
 2134|       |         if constexpr (Opts.partial_read) {
 2135|       |            // partial_read stops early on a success path, so give the level back like the
 2136|       |            // syntactic-close paths do; otherwise it accumulates across reads sharing a context.
 2137|       |            --ctx.depth;
 2138|       |            return;
 2139|       |         }
 2140|  8.15k|         else {
 2141|       |            // growing
 2142|       |            if constexpr (emplace_backable<T> || has_try_emplace_back<T>) {
 2143|       |               while (it < end) {
 2144|       |                  // Streaming refill point: at start of each iteration, ensure buffer has data
 2145|       |                  if constexpr (has_streaming_state<decltype(ctx)>) {
 2146|       |                     if (ctx.stream.enabled()) {
 2147|       |                        const size_t consumed = static_cast<size_t>(it - ctx.stream.data());
 2148|       |                        const size_t remaining = ctx.stream.size() - consumed;
 2149|       |                        // Refill when less than half of buffer remains to ensure space for next element
 2150|       |                        if (remaining <= ctx.stream.size() / 2 || it >= end) {
 2151|       |                           const char* new_it;
 2152|       |                           const char* new_end;
 2153|       |                           ctx.stream.consume_and_refill(consumed, new_it, new_end);
 2154|       |                           it = new_it;
 2155|       |                           end = new_end;
 2156|       |                           if (it >= end && ctx.stream.at_eof()) {
 2157|       |                              break; // No more data, exit loop normally
 2158|       |                           }
 2159|       |                        }
 2160|       |                     }
 2161|       |                  }
 2162|       |
 2163|       |                  if constexpr (has_try_emplace_back<T>) {
 2164|       |                     if (value.try_emplace_back())
 2165|       |                        parse<JSON>::op<ws_handled<Opts>()>(value.back(), ctx, it, end);
 2166|       |                     else
 2167|       |                        ctx.error = error_code::exceeded_static_array_size;
 2168|       |                  }
 2169|       |                  else {
 2170|       |                     parse<JSON>::op<ws_handled<Opts>()>(value.emplace_back(), ctx, it, end);
 2171|       |                  }
 2172|       |
 2173|       |                  if (bool(ctx.error)) [[unlikely]]
 2174|       |                     return;
 2175|       |
 2176|       |                  // Streaming refill point: after parsing each element, refill if buffer is low
 2177|       |                  if constexpr (has_streaming_state<decltype(ctx)>) {
 2178|       |                     if (ctx.stream.enabled()) {
 2179|       |                        const size_t consumed = static_cast<size_t>(it - ctx.stream.data());
 2180|       |                        // Refill when less than 25% of buffer remains to ensure enough space for next element
 2181|       |                        if (ctx.stream.size() - consumed <= ctx.stream.size() / 4 || it >= end) {
 2182|       |                           const char* new_it;
 2183|       |                           const char* new_end;
 2184|       |                           ctx.stream.consume_and_refill(consumed, new_it, new_end);
 2185|       |                           it = new_it;
 2186|       |                           end = new_end;
 2187|       |                           if (it >= end && ctx.stream.at_eof()) {
 2188|       |                              ctx.error = error_code::unexpected_end;
 2189|       |                              return;
 2190|       |                           }
 2191|       |                        }
 2192|       |                     }
 2193|       |                  }
 2194|       |
 2195|       |                  if (skip_ws<Opts>(ctx, it, end)) {
 2196|       |                     return;
 2197|       |                  }
 2198|       |                  if (*it == ',') [[likely]] {
 2199|       |                     ++it;
 2200|       |
 2201|       |                     if constexpr (!Opts.minified && !Opts.comments) {
 2202|       |                        if (ws_size && ws_size < size_t(end - it)) {
 2203|       |                           skip_matching_ws(ws_start, it, ws_size);
 2204|       |                        }
 2205|       |                     }
 2206|       |
 2207|       |                     if (skip_ws<Opts>(ctx, it, end)) {
 2208|       |                        return;
 2209|       |                     }
 2210|       |                  }
 2211|       |                  else if (*it == ']') {
 2212|       |                     --ctx.depth;
 2213|       |                     ++it;
 2214|       |                     if constexpr (check_shrink_to_fit(Opts) && has_shrink_to_fit<T>) {
 2215|       |                        value.shrink_to_fit();
 2216|       |                     }
 2217|       |                     return;
 2218|       |                  }
 2219|       |                  else [[unlikely]] {
 2220|       |                     ctx.error = error_code::expected_bracket;
 2221|       |                     return;
 2222|       |                  }
 2223|       |               }
 2224|       |
 2225|       |               // A valid array always returns from inside the loop upon reaching ']'.
 2226|       |               // For a null-terminated buffer the loop can only exit here by falling
 2227|       |               // through when `it` reaches the terminator without a closing bracket,
 2228|       |               // which means the input was truncated (e.g. "[", "[1," or "[1,2,").
 2229|       |               // Non-null-terminated buffers surface this through skip_ws/depth
 2230|       |               // tracking (or the streaming refill break), so this guard is limited
 2231|       |               // to the null-terminated case.
 2232|       |               if constexpr (Opts.null_terminated) {
 2233|       |                  ctx.error = error_code::unexpected_end;
 2234|       |               }
 2235|       |            }
 2236|  8.15k|            else {
 2237|  8.15k|               ctx.error = error_code::exceeded_static_array_size;
 2238|  8.15k|            }
 2239|  8.15k|         }
 2240|  8.15k|      }
_ZN3glz5parseILj10EE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERmTkNS_10is_contextERNS_7contextERPKcS8_EEvOT0_OT1_OT2_T3_:
   50|  18.3k|      {
   51|       |         if constexpr (const_value_v<T>) {
   52|       |            if constexpr (check_error_on_const_read(Opts)) {
   53|       |               ctx.error = error_code::attempt_const_read;
   54|       |            }
   55|       |            else {
   56|       |               // do not read anything into the const value
   57|       |               skip_value<JSON>::op<Opts>(std::forward<Ctx>(ctx), std::forward<It0>(it), end);
   58|       |            }
   59|       |         }
   60|  18.3k|         else {
   61|  18.3k|            using V = std::remove_cvref_t<T>;
   62|  18.3k|            from<JSON, V>::template op<Opts>(std::forward<T>(value), std::forward<Ctx>(ctx), std::forward<It0>(it),
   63|  18.3k|                                             end);
   64|  18.3k|         }
   65|  18.3k|      }
_ZN3glz4fromILj10EmE2opITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERPKcRmTkNS_10is_contextERNS_7contextES5_EEvOT1_OT2_OT0_T3_:
  764|  18.3k|      {
  765|       |         if constexpr (check_quoted_num(Opts)) {
  766|       |            if (skip_ws<Opts>(ctx, it, end)) {
  767|       |               return;
  768|       |            }
  769|       |            if (match_invalid_end<'"', Opts>(ctx, it, end)) {
  770|       |               return;
  771|       |            }
  772|       |         }
  773|       |
  774|       |         if constexpr (!check_ws_handled(Opts)) {
  775|       |            if (skip_ws<Opts>(ctx, it, end)) {
  776|       |               return;
  777|       |            }
  778|       |         }
  779|       |
  780|  18.3k|         using V = std::decay_t<decltype(value)>;
  781|  18.3k|         if constexpr (int_t<V>) {
  782|  18.3k|            static_assert(sizeof(*it) == sizeof(char));
  783|       |
  784|       |            if constexpr (Opts.null_terminated) {
  785|       |               if (not glz::atoi(value, it)) [[unlikely]] {
  786|       |                  ctx.error = error_code::parse_number_failure;
  787|       |                  return;
  788|       |               }
  789|       |            }
  790|  18.3k|            else {
  791|  18.3k|               if (not glz::atoi(value, it, end)) [[unlikely]] {
  ------------------
  |  Branch (791:20): [True: 666, False: 17.6k]
  ------------------
  792|    666|                  ctx.error = error_code::parse_number_failure;
  793|    666|                  return;
  794|    666|               }
  795|  18.3k|            }
  796|       |         }
  797|       |         else {
  798|       |// float128_t requires std::from_chars for floating-point, unavailable on older Apple platforms (iOS < 16.3)
  799|       |#if !defined(_LIBCPP_VERSION) || defined(_LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT)
  800|       |            if constexpr (is_float128<V>) {
  801|       |               auto [ptr, ec] = std::from_chars(it, end, value);
  802|       |               if (ec != std::errc()) {
  803|       |                  ctx.error = error_code::parse_number_failure;
  804|       |                  return;
  805|       |               }
  806|       |               it = ptr;
  807|       |            }
  808|       |            else
  809|       |#endif
  810|       |            {
  811|       |               if constexpr (std::is_volatile_v<std::remove_reference_t<decltype(value)>>) {
  812|       |                  // Hardware may interact with value changes, so we parse into a temporary and assign in one
  813|       |                  // place
  814|       |                  V temp;
  815|       |                  if constexpr (is_size_optimized(Opts)) {
  816|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, temp);
  817|       |                     if (ec != std::errc{}) [[unlikely]] {
  818|       |                        ctx.error = error_code::parse_number_failure;
  819|       |                        return;
  820|       |                     }
  821|       |                     it = ptr;
  822|       |                  }
  823|       |                  else {
  824|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, temp);
  825|       |                     if (ec != std::errc()) [[unlikely]] {
  826|       |                        ctx.error = error_code::parse_number_failure;
  827|       |                        return;
  828|       |                     }
  829|       |                     it = ptr;
  830|       |                  }
  831|       |                  value = temp;
  832|       |               }
  833|       |               else {
  834|       |                  if constexpr (is_size_optimized(Opts)) {
  835|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, value);
  836|       |                     if (ec != std::errc{}) [[unlikely]] {
  837|       |                        ctx.error = error_code::parse_number_failure;
  838|       |                        return;
  839|       |                     }
  840|       |                     it = ptr;
  841|       |                  }
  842|       |                  else {
  843|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, value);
  844|       |                     if (ec != std::errc()) [[unlikely]] {
  845|       |                        ctx.error = error_code::parse_number_failure;
  846|       |                        return;
  847|       |                     }
  848|       |                     it = ptr;
  849|       |                  }
  850|       |               }
  851|       |            }
  852|       |         }
  853|       |
  854|       |         if constexpr (check_quoted_num(Opts)) {
  855|       |            if constexpr (not Opts.null_terminated) {
  856|       |               if (it == end) [[unlikely]] {
  857|       |                  ctx.error = error_code::unexpected_end;
  858|       |                  return;
  859|       |               }
  860|       |            }
  861|       |            if (match<'"'>(ctx, it)) {
  862|       |               return;
  863|       |            }
  864|       |            if constexpr (not Opts.null_terminated) {
  865|       |               if (it == end) {
  866|       |                  ctx.error = error_code::end_reached;
  867|       |                  return;
  868|       |               }
  869|       |            }
  870|       |         }
  871|  18.3k|         else {
  872|  18.3k|            if constexpr (not Opts.null_terminated) {
  873|  18.3k|               if (it == end) {
  ------------------
  |  Branch (873:20): [True: 300, False: 18.0k]
  ------------------
  874|    300|                  ctx.error = error_code::end_reached;
  875|    300|                  return;
  876|    300|               }
  877|  18.3k|            }
  878|  18.3k|         }
  879|  18.3k|      }
_ZN3glz9read_jsonITkNS_14read_supportedIL_ZNS_4JSONEEEE9my_structTkNS_9is_bufferENSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEQnt18is_input_streamingIu20__remove_reference_tIT0_EEEENS3_8expectedIT_NS_9error_ctxEEEOS8_:
 5089|  7.57k|   {
 5090|  7.57k|      T value{};
 5091|  7.57k|      context ctx{};
 5092|  7.57k|      const error_ctx ec = read<opts{}>(value, std::forward<Buffer>(buffer), ctx);
 5093|  7.57k|      if (ec) {
  ------------------
  |  Branch (5093:11): [True: 7.57k, False: 3]
  ------------------
 5094|  7.57k|         return unexpected<error_ctx>(ec);
 5095|  7.57k|      }
 5096|      3|      return value;
 5097|  7.57k|   }
_ZN3glz5parseILj10EE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEER9my_structTkNS_10is_contextERNS_7contextERPKcS9_EEvOT0_OT1_OT2_T3_:
   50|  7.57k|      {
   51|       |         if constexpr (const_value_v<T>) {
   52|       |            if constexpr (check_error_on_const_read(Opts)) {
   53|       |               ctx.error = error_code::attempt_const_read;
   54|       |            }
   55|       |            else {
   56|       |               // do not read anything into the const value
   57|       |               skip_value<JSON>::op<Opts>(std::forward<Ctx>(ctx), std::forward<It0>(it), end);
   58|       |            }
   59|       |         }
   60|  7.57k|         else {
   61|  7.57k|            using V = std::remove_cvref_t<T>;
   62|  7.57k|            from<JSON, V>::template op<Opts>(std::forward<T>(value), std::forward<Ctx>(ctx), std::forward<It0>(it),
   63|  7.57k|                                             end);
   64|  7.57k|         }
   65|  7.57k|      }
_ZN3glz4fromILj10E9my_structE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETnNS_14string_literalEXtlNS5_ILm1EEEEERS1_TkNS_10is_contextERNS_7contextERPKcSB_EEvOT1_OT2_OT3_T4_:
 2794|  7.57k|      {
 2795|  7.57k|         static constexpr auto num_members = reflect<T>::size;
 2796|       |
 2797|  7.57k|         static constexpr auto Opts = opening_handled_off<ws_handled_off<Options>()>();
 2798|  7.57k|         if constexpr (!check_opening_handled(Options)) {
 2799|  7.57k|            if constexpr (!check_ws_handled(Options)) {
 2800|  7.57k|               if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2800:20): [True: 0, False: 7.57k]
  ------------------
 2801|      0|                  return;
 2802|      0|               }
 2803|  7.57k|            }
 2804|  7.57k|            if (match_invalid_end<'{', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2804:17): [True: 28, False: 7.54k]
  ------------------
 2805|     28|               return;
 2806|     28|            }
 2807|       |            if constexpr (not Opts.null_terminated) {
 2808|       |               if (it == end) [[unlikely]] {
 2809|       |                  ctx.error = error_code::unexpected_end;
 2810|       |                  return;
 2811|       |               }
 2812|       |            }
 2813|       |            // one nesting level (see enter_depth): counted in both modes so the limit binds,
 2814|       |            // released at each syntactic close below
 2815|  7.54k|            if (enter_depth(ctx)) [[unlikely]] {
  ------------------
  |  Branch (2815:17): [True: 0, False: 7.54k]
  ------------------
 2816|      0|               return;
 2817|      0|            }
 2818|  7.54k|         }
 2819|  7.54k|         const auto ws_start = it;
 2820|  7.57k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2820:14): [True: 0, False: 7.57k]
  ------------------
 2821|      0|            return;
 2822|      0|         }
 2823|  7.57k|         const size_t ws_size = size_t(it - ws_start);
 2824|       |
 2825|       |         if constexpr ((glaze_object_t<T> || reflectable<T>) && num_members == 0 && Opts.error_on_unknown_keys) {
 2826|       |            if constexpr (not tag.sv().empty()) {
 2827|       |               if (*it == '"') {
 2828|       |                  ++it;
 2829|       |                  if constexpr (not Opts.null_terminated) {
 2830|       |                     if (it == end) [[unlikely]] {
 2831|       |                        ctx.error = error_code::unexpected_end;
 2832|       |                        return;
 2833|       |                     }
 2834|       |                  }
 2835|       |
 2836|       |                  const auto start = it;
 2837|       |                  skip_string_view(ctx, it, end);
 2838|       |                  if (bool(ctx.error)) [[unlikely]]
 2839|       |                     return;
 2840|       |                  if (validate_utf8_span<Opts>(ctx, start, it)) [[unlikely]]
 2841|       |                     return;
 2842|       |                  const sv key{start, size_t(it - start)};
 2843|       |                  ++it;
 2844|       |                  if constexpr (not Opts.null_terminated) {
 2845|       |                     if (it == end) [[unlikely]] {
 2846|       |                        ctx.error = error_code::unexpected_end;
 2847|       |                        return;
 2848|       |                     }
 2849|       |                  }
 2850|       |
 2851|       |                  if (key == tag.sv()) {
 2852|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 2853|       |                        return;
 2854|       |                     }
 2855|       |
 2856|       |                     parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
 2857|       |                     if (bool(ctx.error)) [[unlikely]]
 2858|       |                        return;
 2859|       |
 2860|       |                     if (skip_ws<Opts>(ctx, it, end)) {
 2861|       |                        return;
 2862|       |                     }
 2863|       |                  }
 2864|       |                  else {
 2865|       |                     ctx.error = error_code::unknown_key;
 2866|       |                     return;
 2867|       |                  }
 2868|       |               }
 2869|       |            }
 2870|       |
 2871|       |            if (*it == '}') [[likely]] {
 2872|       |               --ctx.depth;
 2873|       |               if constexpr (glaze_object_t<T> || reflectable<T>) {
 2874|       |                  if constexpr (has_self_constraint_v<T> && !check_skip_self_constraint(Opts)) {
 2875|       |                     auto wrapper = self_constraint_v<T>(value);
 2876|       |                     from<JSON, decltype(wrapper)>::template op<ws_handled<Opts>()>(wrapper, ctx, it, end);
 2877|       |                     if (bool(ctx.error)) {
 2878|       |                        return;
 2879|       |                     }
 2880|       |                  }
 2881|       |               }
 2882|       |               ++it;
 2883|       |               if constexpr (not Opts.null_terminated) {
 2884|       |                  if (it == end) {
 2885|       |                     ctx.error = error_code::end_reached;
 2886|       |                     return;
 2887|       |                  }
 2888|       |               }
 2889|       |               if constexpr (Opts.partial_read) {
 2890|       |                  ctx.error = error_code::partial_read_complete;
 2891|       |               }
 2892|       |               return;
 2893|       |            }
 2894|       |            ctx.error = error_code::unknown_key;
 2895|       |            return;
 2896|       |         }
 2897|  7.57k|         else {
 2898|  7.57k|            decltype(auto) fields = [&]() -> decltype(auto) {
 2899|  7.57k|               if constexpr ((glaze_object_t<T> || reflectable<T>) &&
 2900|  7.57k|                             (Opts.error_on_missing_keys || Opts.partial_read)) {
 2901|  7.57k|                  return bit_array<num_members>{};
 2902|  7.57k|               }
 2903|  7.57k|               else {
 2904|  7.57k|                  return nullptr;
 2905|  7.57k|               }
 2906|  7.57k|            }();
 2907|       |
 2908|       |            // A file include merges an external document into this object, so with
 2909|       |            // error_on_missing_keys the keys have to be counted across both documents (see
 2910|       |            // context::key_bits). While this object parses, its bits are published for its
 2911|       |            // includer members to hand down; and if this parse is itself an included document,
 2912|       |            // it claims the bits of the object that included us and merges into them at the
 2913|       |            // closing brace instead of running a check of its own.
 2914|  7.57k|            static constexpr bool tracks_include_keys = [] {
 2915|       |               // Nested so that reflecting over the members is only asked for when it can matter
 2916|  7.57k|               if constexpr ((glaze_object_t<T> || reflectable<T>) && Opts.error_on_missing_keys) {
 2917|  7.57k|                  return has_includer_member<T>;
 2918|  7.57k|               }
 2919|  7.57k|               else {
 2920|  7.57k|                  return false;
 2921|  7.57k|               }
 2922|  7.57k|            }();
 2923|  7.57k|            [[maybe_unused]] bit_array<num_members>* include_bits{};
 2924|       |            if constexpr (tracks_include_keys) {
 2925|       |               if (ctx.include_key_type == &include_key_tag<T>) {
 2926|       |                  include_bits = static_cast<bit_array<num_members>*>(ctx.include_key_bits);
 2927|       |                  ctx.include_key_bits = nullptr;
 2928|       |                  ctx.include_key_type = nullptr;
 2929|       |               }
 2930|       |            }
 2931|  7.57k|            [[maybe_unused]] const std::conditional_t<tracks_include_keys,
 2932|  7.57k|                                                      key_bits_scope<std::remove_reference_t<decltype(ctx)>>,
 2933|  7.57k|                                                      inert_key_bits_scope> published_bits{
 2934|  7.57k|               ctx, [&]() -> void* {
 2935|  7.57k|                  if constexpr (tracks_include_keys) {
 2936|  7.57k|                     return &fields;
 2937|  7.57k|                  }
 2938|  7.57k|                  else {
 2939|  7.57k|                     return nullptr;
 2940|  7.57k|                  }
 2941|  7.57k|               }()};
 2942|       |
 2943|  7.57k|            size_t read_count{}; // for partial_read
 2944|       |
 2945|  7.57k|            bool first = true;
 2946|  46.8k|            while (true) {
  ------------------
  |  Branch (2946:20): [True: 43.2k, Folded]
  ------------------
 2947|       |               if constexpr ((glaze_object_t<T> || reflectable<T>) && Opts.partial_read) {
 2948|       |                  static constexpr bit_array<num_members> all_fields = [] {
 2949|       |                     bit_array<num_members> arr{};
 2950|       |                     for (size_t i = 0; i < num_members; ++i) {
 2951|       |                        arr[i] = true;
 2952|       |                     }
 2953|       |                     return arr;
 2954|       |                  }();
 2955|       |
 2956|       |                  if ((all_fields & fields) == all_fields) {
 2957|       |                     ctx.error = error_code::partial_read_complete;
 2958|       |                     --ctx.depth; // as above: an early success still closes this level
 2959|       |                     return;
 2960|       |                  }
 2961|       |               }
 2962|       |
 2963|       |               // Streaming refill point: at start of each iteration, ensure buffer has data
 2964|       |               if constexpr (has_streaming_state<decltype(ctx)>) {
 2965|       |                  if (ctx.stream.enabled()) {
 2966|       |                     const size_t consumed = static_cast<size_t>(it - ctx.stream.data());
 2967|       |                     const size_t remaining = ctx.stream.size() - consumed;
 2968|       |                     // Refill when less than half of buffer remains to ensure space for next key-value pair
 2969|       |                     if (remaining <= ctx.stream.size() / 2 || it >= end) {
 2970|       |                        const char* new_it;
 2971|       |                        const char* new_end;
 2972|       |                        ctx.stream.consume_and_refill(consumed, new_it, new_end);
 2973|       |                        it = new_it;
 2974|       |                        end = new_end;
 2975|       |                        if (it >= end && ctx.stream.at_eof()) {
 2976|       |                           ctx.error = error_code::unexpected_end;
 2977|       |                           return;
 2978|       |                        }
 2979|       |                     }
 2980|       |                  }
 2981|       |               }
 2982|       |
 2983|  43.2k|               if (*it == '}') {
  ------------------
  |  Branch (2983:20): [True: 3, False: 43.2k]
  ------------------
 2984|      3|                  --ctx.depth;
 2985|       |                  if constexpr ((glaze_object_t<T> || reflectable<T>) && Opts.error_on_missing_keys) {
 2986|       |                     const bool defer_to_includer = [&] {
 2987|       |                        if constexpr (tracks_include_keys) {
 2988|       |                           if (include_bits) {
 2989|       |                              // An included document is a fragment: hand the keys it supplied to
 2990|       |                              // the object that included it, which checks the union of both.
 2991|       |                              *include_bits |= fields;
 2992|       |                              return true;
 2993|       |                           }
 2994|       |                        }
 2995|       |                        return false;
 2996|       |                     }();
 2997|       |                     constexpr auto req_fields = required_fields<T, Opts>();
 2998|       |                     if (not defer_to_includer && (req_fields & fields) != req_fields) {
 2999|       |                        for (size_t i = 0; i < num_members; ++i) {
 3000|       |                           if (not fields[i] && req_fields[i]) {
 3001|       |                              ctx.custom_error_message = reflect<T>::keys[i];
 3002|       |                              // We just return the first missing key in order to avoid heap allocations
 3003|       |                              break;
 3004|       |                           }
 3005|       |                        }
 3006|       |
 3007|       |                        ctx.error = error_code::missing_key;
 3008|       |                        return;
 3009|       |                     }
 3010|       |                  }
 3011|      3|                  if constexpr (glaze_object_t<T> || reflectable<T>) {
 3012|       |                     if constexpr (has_self_constraint_v<T> && !check_skip_self_constraint(Opts)) {
 3013|       |                        auto wrapper = self_constraint_v<T>(value);
 3014|       |                        from<JSON, decltype(wrapper)>::template op<ws_handled<Opts>()>(wrapper, ctx, it, end);
 3015|       |                        if (bool(ctx.error)) {
 3016|       |                           return;
 3017|       |                        }
 3018|       |                     }
 3019|      3|                  }
 3020|      3|                  ++it; // Increment after checking for missing keys so errors are within buffer bounds
 3021|       |                  if constexpr (not Opts.null_terminated) {
 3022|       |                     if (it == end) {
 3023|       |                        ctx.error = error_code::end_reached;
 3024|       |                        return;
 3025|       |                     }
 3026|       |                  }
 3027|      3|                  return;
 3028|      3|               }
 3029|  43.2k|               else if (first) {
  ------------------
  |  Branch (3029:25): [True: 7.54k, False: 35.7k]
  ------------------
 3030|  7.54k|                  first = false;
 3031|  7.54k|               }
 3032|  35.7k|               else {
 3033|  35.7k|                  if (match_invalid_end<',', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (3033:23): [True: 3.95k, False: 31.7k]
  ------------------
 3034|  3.95k|                     return;
 3035|  3.95k|                  }
 3036|       |                  if constexpr (not Opts.null_terminated) {
 3037|       |                     if (it == end) [[unlikely]] {
 3038|       |                        ctx.error = error_code::unexpected_end;
 3039|       |                        return;
 3040|       |                     }
 3041|       |                  }
 3042|       |
 3043|       |                  if constexpr ((not Opts.minified) && (num_members > 1 || not Opts.error_on_unknown_keys) &&
 3044|  31.7k|                                (!Opts.comments)) {
 3045|  31.7k|                     if (ws_size && ws_size < size_t(end - it)) {
  ------------------
  |  Branch (3045:26): [True: 5.51k, False: 26.2k]
  |  Branch (3045:37): [True: 5.25k, False: 262]
  ------------------
 3046|  5.25k|                        skip_matching_ws(ws_start, it, ws_size);
 3047|  5.25k|                     }
 3048|  31.7k|                  }
 3049|       |
 3050|  31.7k|                  if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (3050:23): [True: 0, False: 31.7k]
  ------------------
 3051|      0|                     return;
 3052|      0|                  }
 3053|  31.7k|               }
 3054|       |
 3055|  39.3k|               constexpr auto reflection_type = glaze_object_t<T> || reflectable<T>;
  ------------------
  |  Branch (3055:49): [Folded, False: 0]
  |  Branch (3055:70): [True: 0, Folded]
  ------------------
 3056|       |
 3057|       |               if constexpr (reflection_type && (num_members == 0)) {
 3058|       |                  if constexpr (Opts.error_on_unknown_keys) {
 3059|       |                     static_assert(false_v<T>, "This should be unreachable");
 3060|       |                  }
 3061|       |                  else {
 3062|       |                     if (match_invalid_end<'"', Opts>(ctx, it, end)) {
 3063|       |                        return;
 3064|       |                     }
 3065|       |
 3066|       |                     // parsing to an empty object, but at this point the JSON presents keys
 3067|       |
 3068|       |                     // Unknown key handler does not unescape keys. Unknown escaped keys are
 3069|       |                     // handled by the user.
 3070|       |
 3071|       |                     const auto start = it;
 3072|       |                     uint64_t ascii_acc{};
 3073|       |                     skip_string_view(ctx, it, end, ascii_acc);
 3074|       |                     if (bool(ctx.error)) [[unlikely]]
 3075|       |                        return;
 3076|       |                     if (validate_utf8_span<Opts>(ctx, start, it, ascii_acc)) [[unlikely]]
 3077|       |                        return;
 3078|       |                     const sv key{start, size_t(it - start)};
 3079|       |                     ++it;
 3080|       |                     if constexpr (not Opts.null_terminated) {
 3081|       |                        if (it == end) [[unlikely]] {
 3082|       |                           ctx.error = error_code::unexpected_end;
 3083|       |                           return;
 3084|       |                        }
 3085|       |                     }
 3086|       |
 3087|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 3088|       |                        return;
 3089|       |                     }
 3090|       |
 3091|       |                     // Check if this key is the variant tag that should be skipped
 3092|       |                     if constexpr (not tag.sv().empty()) {
 3093|       |                        if (key == tag.sv()) {
 3094|       |                           // Skip the tag value
 3095|       |                           skip_value<JSON>::op<Opts>(ctx, it, end);
 3096|       |                           if (bool(ctx.error)) [[unlikely]]
 3097|       |                              return;
 3098|       |                           resync_window_end(ctx, end); // a streaming skip refills
 3099|       |                           if (skip_ws<Opts>(ctx, it, end)) {
 3100|       |                              return;
 3101|       |                           }
 3102|       |                           continue;
 3103|       |                        }
 3104|       |                     }
 3105|       |
 3106|       |                     parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
 3107|       |                     if (bool(ctx.error)) [[unlikely]]
 3108|       |                        return;
 3109|       |                     if constexpr (not Opts.null_terminated) {
 3110|       |                        if (it == end) [[unlikely]] {
 3111|       |                           ctx.error = error_code::unexpected_end;
 3112|       |                           return;
 3113|       |                        }
 3114|       |                     }
 3115|       |                     if (skip_ws<Opts>(ctx, it, end)) {
 3116|       |                        return;
 3117|       |                     }
 3118|       |                  }
 3119|       |               }
 3120|  39.3k|               else if constexpr (reflection_type) {
 3121|  39.3k|                  static_assert(bool(hash_info<T>.type));
 3122|       |
 3123|  39.3k|                  if (*it != '"') [[unlikely]] {
  ------------------
  |  Branch (3123:23): [True: 468, False: 38.8k]
  ------------------
 3124|    468|                     ctx.error = error_code::expected_quote;
 3125|    468|                     return;
 3126|    468|                  }
 3127|  38.8k|                  ++it;
 3128|       |                  if constexpr (not Opts.null_terminated) {
 3129|       |                     if (it == end) [[unlikely]] {
 3130|       |                        ctx.error = error_code::unexpected_end;
 3131|       |                        return;
 3132|       |                     }
 3133|       |                  }
 3134|       |
 3135|       |                  if constexpr (not tag.sv().empty() && not contains_tag<T, tag>()) {
 3136|       |                     // For tagged variants we first check to see if the key matches the tag
 3137|       |                     // We only need to do this if the tag is not part of the keys
 3138|       |
 3139|       |                     const auto start = it;
 3140|       |                     uint64_t ascii_acc{};
 3141|       |                     skip_string_view(ctx, it, end, ascii_acc);
 3142|       |                     if (bool(ctx.error)) [[unlikely]]
 3143|       |                        return;
 3144|       |                     if (validate_utf8_span<Opts>(ctx, start, it, ascii_acc)) [[unlikely]]
 3145|       |                        return;
 3146|       |                     const sv key{start, size_t(it - start)};
 3147|       |                     ++it;
 3148|       |                     if constexpr (not Opts.null_terminated) {
 3149|       |                        if (it == end) [[unlikely]] {
 3150|       |                           ctx.error = error_code::unexpected_end;
 3151|       |                           return;
 3152|       |                        }
 3153|       |                     }
 3154|       |
 3155|       |                     if (key == tag.sv()) {
 3156|       |                        if (parse_ws_colon<Opts>(ctx, it, end)) {
 3157|       |                           return;
 3158|       |                        }
 3159|       |
 3160|       |                        parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
 3161|       |                        if (bool(ctx.error)) [[unlikely]]
 3162|       |                           return;
 3163|       |
 3164|       |                        if (skip_ws<Opts>(ctx, it, end)) {
 3165|       |                           return;
 3166|       |                        }
 3167|       |                        continue;
 3168|       |                     }
 3169|       |                     else {
 3170|       |                        it = start; // reset the iterator
 3171|       |                     }
 3172|       |                  }
 3173|       |
 3174|       |                  if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
 3175|       |                     size_t index = num_members;
 3176|       |                     parse_and_invoke<Opts, T>(value, ctx, it, end, index);
 3177|       |                     if (bool(ctx.error)) [[unlikely]]
 3178|       |                        return;
 3179|       |                     if (index < num_members) {
 3180|       |                        fields[index] = true;
 3181|       |                     }
 3182|       |                  }
 3183|  38.8k|                  else {
 3184|  38.8k|                     parse_and_invoke<Opts, T>(value, ctx, it, end);
 3185|  38.8k|                     if (bool(ctx.error)) [[unlikely]]
  ------------------
  |  Branch (3185:26): [True: 3.12k, False: 35.7k]
  ------------------
 3186|  3.12k|                        return;
 3187|  38.8k|                  }
 3188|       |               }
 3189|       |               else {
 3190|       |                  // For types like std::map, std::unordered_map
 3191|       |
 3192|       |                  auto reading = [&](auto&& key) {
 3193|       |                     if constexpr (Opts.partial_read) {
 3194|       |                        if (auto element = value.find(key); element != value.end()) {
 3195|       |                           ++read_count;
 3196|       |                           parse<JSON>::op<ws_handled<Opts>()>(element->second, ctx, it, end);
 3197|       |                        }
 3198|       |                        else {
 3199|       |                           skip_value<JSON>::op<Opts>(ctx, it, end);
 3200|       |                        }
 3201|       |                     }
 3202|       |                     else {
 3203|       |                        parse<JSON>::op<ws_handled<Opts>()>(value[key], ctx, it, end);
 3204|       |                     }
 3205|       |                  };
 3206|       |
 3207|       |                  // using Key = std::conditional_t<heterogeneous_map<T>, sv, typename T::key_type>;
 3208|       |                  using Key = typename T::key_type;
 3209|       |                  if constexpr (std::is_same_v<Key, std::string>) {
 3210|       |                     ctx.scratch.clear();
 3211|       |                     parse<JSON>::op<Opts>(ctx.scratch, ctx, it, end);
 3212|       |                     if (bool(ctx.error)) [[unlikely]]
 3213|       |                        return;
 3214|       |
 3215|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 3216|       |                        return;
 3217|       |                     }
 3218|       |
 3219|       |                     reading(ctx.scratch);
 3220|       |                     if constexpr (Opts.partial_read) {
 3221|       |                        if (read_count == value.size()) {
 3222|       |                           return;
 3223|       |                        }
 3224|       |                     }
 3225|       |                     if (bool(ctx.error)) [[unlikely]]
 3226|       |                        return;
 3227|       |                  }
 3228|       |                  else if constexpr (str_t<Key>) {
 3229|       |                     Key key;
 3230|       |                     parse<JSON>::op<Opts>(key, ctx, it, end);
 3231|       |                     if (bool(ctx.error)) [[unlikely]]
 3232|       |                        return;
 3233|       |
 3234|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 3235|       |                        return;
 3236|       |                     }
 3237|       |
 3238|       |                     reading(key);
 3239|       |                     if constexpr (Opts.partial_read) {
 3240|       |                        if (read_count == value.size()) {
 3241|       |                           return;
 3242|       |                        }
 3243|       |                     }
 3244|       |                     if (bool(ctx.error)) [[unlikely]]
 3245|       |                        return;
 3246|       |                  }
 3247|       |                  else {
 3248|       |                     Key key_value{};
 3249|       |                     if constexpr (is_named_enum<Key> || mimics_str_t<Key>) {
 3250|       |                        parse<JSON>::op<Opts>(key_value, ctx, it, end);
 3251|       |                     }
 3252|       |                     else if constexpr (std::is_arithmetic_v<Key>) {
 3253|       |                        // prefer over quoted_t below to avoid double parsing of quoted_t
 3254|       |                        parse<JSON>::op<opt_true<Opts, quoted_num_opt_tag{}>>(key_value, ctx, it, end);
 3255|       |                     }
 3256|       |                     else {
 3257|       |                        parse<JSON>::op<opt_false<Opts, raw_string_opt_tag{}>>(quoted_t<Key>{key_value}, ctx, it, end);
 3258|       |                     }
 3259|       |                     if (bool(ctx.error)) [[unlikely]]
 3260|       |                        return;
 3261|       |
 3262|       |                     if (parse_ws_colon<Opts>(ctx, it, end)) {
 3263|       |                        return;
 3264|       |                     }
 3265|       |
 3266|       |                     reading(key_value);
 3267|       |                     if constexpr (Opts.partial_read) {
 3268|       |                        if (read_count == value.size()) {
 3269|       |                           return;
 3270|       |                        }
 3271|       |                     }
 3272|       |                     if (bool(ctx.error)) [[unlikely]]
 3273|       |                        return;
 3274|       |                  }
 3275|       |               }
 3276|       |
 3277|       |               // Streaming refill point: after parsing each key-value pair, refill if buffer is low
 3278|       |               if constexpr (has_streaming_state<decltype(ctx)>) {
 3279|       |                  if (ctx.stream.enabled()) {
 3280|       |                     const size_t consumed = static_cast<size_t>(it - ctx.stream.data());
 3281|       |                     // Refill when less than 25% of buffer remains to ensure enough space for next element
 3282|       |                     if (ctx.stream.size() - consumed <= ctx.stream.size() / 4 || it >= end) {
 3283|       |                        const char* new_it;
 3284|       |                        const char* new_end;
 3285|       |                        ctx.stream.consume_and_refill(consumed, new_it, new_end);
 3286|       |                        it = new_it;
 3287|       |                        end = new_end;
 3288|       |                        if (it >= end && ctx.stream.at_eof()) {
 3289|       |                           ctx.error = error_code::unexpected_end;
 3290|       |                           return;
 3291|       |                        }
 3292|       |                     }
 3293|       |                  }
 3294|       |               }
 3295|       |
 3296|  39.3k|               if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (3296:20): [True: 0, False: 39.3k]
  ------------------
 3297|      0|                  return;
 3298|      0|               }
 3299|  39.3k|            }
 3300|  7.57k|         }
 3301|  7.57k|      }
_ZZN3glz4fromILj10E9my_structE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETnNS_14string_literalEXtlNS5_ILm1EEEEERS1_TkNS_10is_contextERNS_7contextERPKcSB_EEvOT1_OT2_OT3_T4_ENKUlvE_clEv:
 2898|  7.54k|            decltype(auto) fields = [&]() -> decltype(auto) {
 2899|       |               if constexpr ((glaze_object_t<T> || reflectable<T>) &&
 2900|       |                             (Opts.error_on_missing_keys || Opts.partial_read)) {
 2901|       |                  return bit_array<num_members>{};
 2902|       |               }
 2903|  7.54k|               else {
 2904|  7.54k|                  return nullptr;
 2905|  7.54k|               }
 2906|  7.54k|            }();
_ZZN3glz4fromILj10E9my_structE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETnNS_14string_literalEXtlNS5_ILm1EEEEERS1_TkNS_10is_contextERNS_7contextERPKcSB_EEvOT1_OT2_OT3_T4_ENKUlvE1_clEv:
 2934|  7.54k|               ctx, [&]() -> void* {
 2935|       |                  if constexpr (tracks_include_keys) {
 2936|       |                     return &fields;
 2937|       |                  }
 2938|  7.54k|                  else {
 2939|  7.54k|                     return nullptr;
 2940|  7.54k|                  }
 2941|  7.54k|               }()};
_ZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_:
  383|  38.8k|   {
  384|  38.8k|      constexpr auto N = reflect<T>::size;
  385|       |
  386|       |      if constexpr (N == 1) {
  387|       |         decode_index<Opts, T, 0>(value, ctx, it, end, selected_index...);
  388|       |      }
  389|       |      else if constexpr (check_linear_search(Opts)) {
  390|       |         // Linear search path
  391|       |         auto key_start = it;
  392|       |         const auto index = decode_linear<T>(ctx, it, end);
  393|       |         if (bool(ctx.error)) [[unlikely]]
  394|       |            return;
  395|       |
  396|       |         if (index >= N) [[unlikely]] {
  397|       |            if constexpr (Opts.error_on_unknown_keys) {
  398|       |               ctx.error = error_code::unknown_key;
  399|       |               return;
  400|       |            }
  401|       |            else {
  402|       |               // it sits one past the closing quote, so the raw key spans [key_start, it - 1)
  403|       |               if (validate_utf8_span<Opts>(ctx, key_start, it - 1)) [[unlikely]] {
  404|       |                  return;
  405|       |               }
  406|       |               const sv key{key_start, size_t(it - key_start - 1)};
  407|       |               if constexpr (not Opts.null_terminated) {
  408|       |                  if (it == end) [[unlikely]] {
  409|       |                     ctx.error = error_code::unexpected_end;
  410|       |                     return;
  411|       |                  }
  412|       |               }
  413|       |               if (parse_ws_colon<Opts>(ctx, it, end)) {
  414|       |                  return;
  415|       |               }
  416|       |               parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
  417|       |               return;
  418|       |            }
  419|       |         }
  420|       |
  421|       |         if constexpr (not Opts.null_terminated) {
  422|       |            if (it == end) [[unlikely]] {
  423|       |               ctx.error = error_code::unexpected_end;
  424|       |               return;
  425|       |            }
  426|       |         }
  427|       |         if (skip_ws<Opts>(ctx, it, end)) {
  428|       |            return;
  429|       |         }
  430|       |         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  431|       |            return;
  432|       |         }
  433|       |         if (skip_ws<Opts>(ctx, it, end)) {
  434|       |            return;
  435|       |         }
  436|       |
  437|       |         // Fold expression dispatch - avoids jump table overhead for smaller binary size.
  438|       |         // For linear_search, pass Opts through to the field parser to avoid duplicate template
  439|       |         // instantiations; the whitespace before the value has already been skipped either way.
  440|       |         [&]<size_t... Is>(std::index_sequence<Is...>) {
  441|       |            (void)(((index == Is ? (decode_field_value<Opts, Opts, T, Is>(value, ctx, it, end, selected_index...), true)
  442|       |                                 : false) ||
  443|       |                    ...));
  444|       |         }(std::make_index_sequence<N>{});
  445|       |      }
  446|  38.8k|      else {
  447|       |         // Hash-based lookup
  448|  38.8k|         constexpr auto& HashInfo = hash_info<T>;
  449|  38.8k|         constexpr auto type = HashInfo.type;
  450|  38.8k|         static_assert(bool(type), "invalid hash algorithm");
  451|       |
  452|  38.8k|         const auto index = decode_hash<JSON, T, HashInfo, HashInfo.type>::op(it, end);
  453|       |
  454|  38.8k|         if (index >= N) [[unlikely]] {
  ------------------
  |  Branch (454:14): [True: 67, False: 38.7k]
  ------------------
  455|     67|            if constexpr (Opts.error_on_unknown_keys) {
  456|     67|               ctx.error = error_code::unknown_key;
  457|     67|               return;
  458|       |            }
  459|       |            else {
  460|       |               auto start = it;
  461|       |               skip_string_view(ctx, it, end);
  462|       |               if (bool(ctx.error)) [[unlikely]]
  463|       |                  return;
  464|       |               if (validate_utf8_span<Opts>(ctx, start, it)) [[unlikely]]
  465|       |                  return;
  466|       |               const sv key = {start, size_t(it - start)};
  467|       |               ++it; // skip the quote
  468|       |               if constexpr (not Opts.null_terminated) {
  469|       |                  if (it == end) [[unlikely]] {
  470|       |                     ctx.error = error_code::unexpected_end;
  471|       |                     return;
  472|       |                  }
  473|       |               }
  474|       |               if (parse_ws_colon<Opts>(ctx, it, end)) {
  475|       |                  return;
  476|       |               }
  477|       |               parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
  478|       |               return;
  479|       |            }
  480|     67|         }
  481|       |
  482|       |         if constexpr (N == 2) {
  483|       |            if (index == 0) {
  484|       |               decode_index<Opts, T, 0>(value, ctx, it, end, selected_index...);
  485|       |            }
  486|       |            else {
  487|       |               decode_index<Opts, T, 1>(value, ctx, it, end, selected_index...);
  488|       |            }
  489|       |         }
  490|  38.8k|         else {
  491|  38.8k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
  492|  38.8k|         }
  493|  38.8k|      }
  494|  38.8k|   }
_ZZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_ENKUlTnmvE_clILm0EEEDav:
  491|  10.2k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
_ZN3glz12decode_indexITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structLm0ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT2_OT4_OT5_OT6_DpOT3_:
  313|  10.2k|   {
  314|  10.2k|      static constexpr auto Key = get<I>(reflect<T>::keys);
  315|  10.2k|      static constexpr auto KeyWithEndQuote = join_v<Key, chars<"\"">>;
  316|  10.2k|      static constexpr auto Length = KeyWithEndQuote.size();
  317|       |
  318|       |      // Compared as a count rather than by forming `it + Length` first: a pointer past one-past-the-end
  319|       |      // is undefined even when it is never dereferenced, and a key near the end of a short buffer
  320|       |      // reaches this with fewer than `Length` bytes left. Signed, so a cursor that has overshot
  321|       |      // `end` does not read as room.
  322|  10.2k|      if (((end - it) > std::ptrdiff_t(Length)) && comparitor<KeyWithEndQuote>(it)) [[likely]] {
  ------------------
  |  Branch (322:11): [True: 10.2k, False: 7]
  |  Branch (322:52): [True: 10.2k, False: 18]
  ------------------
  323|  10.2k|         it += Length;
  324|       |         if constexpr (not Opts.null_terminated) {
  325|       |            if (it == end) [[unlikely]] {
  326|       |               ctx.error = error_code::unexpected_end;
  327|       |               return;
  328|       |            }
  329|       |         }
  330|       |
  331|  10.2k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (331:14): [True: 0, False: 10.2k]
  ------------------
  332|      0|            return;
  333|      0|         }
  334|  10.2k|         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (334:14): [True: 22, False: 10.2k]
  ------------------
  335|     22|            return;
  336|     22|         }
  337|  10.2k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (337:14): [True: 0, False: 10.2k]
  ------------------
  338|      0|            return;
  339|      0|         }
  340|       |
  341|       |         // The hash path has already consumed the whitespace before the value
  342|  10.2k|         decode_field_value<Opts, ws_handled<Opts>(), T, I>(value, ctx, it, end, selected_index...);
  343|  10.2k|      }
  344|     25|      else [[unlikely]] {
  345|     25|         decode_index_unknown_key<Opts, T>(value, ctx, it, end);
  346|     25|      }
  347|  10.2k|   }
_ZN3glz18decode_field_valueITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETnDaXtlS1_Lj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEE9my_structLm0ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT1_E11reflectableIS9_EEEvOT3_OT5_OT6_OT7_DpOT4_:
  247|  10.2k|   {
  248|       |      // Check for null value skipping on read
  249|       |      if constexpr (check_skip_null_members_on_read(Opts)) {
  250|       |         if (*it == 'n') {
  251|       |            ++it;
  252|       |            if constexpr (not Opts.null_terminated) {
  253|       |               if (it == end) [[unlikely]] {
  254|       |                  ctx.error = error_code::unexpected_end;
  255|       |                  return;
  256|       |               }
  257|       |            }
  258|       |            match<"ull", Opts>(ctx, it, end);
  259|       |            if (bool(ctx.error)) [[unlikely]]
  260|       |               return;
  261|       |            // Successfully matched "null", skip it
  262|       |            if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  263|       |               ((selected_index = I), ...); // Mark as handled even if skipped
  264|       |            }
  265|       |            return;
  266|       |         }
  267|       |      }
  268|       |
  269|       |      if constexpr (skipped_by_meta<T, I, operation::parse>) {
  270|       |         skip_value<JSON>::op<Opts>(ctx, it, end);
  271|       |         if (bool(ctx.error)) [[unlikely]]
  272|       |            return; // Propagate error from skip_value
  273|       |      }
  274|  10.2k|      else {
  275|  10.2k|         using V = refl_t<T, I>;
  276|       |
  277|       |         if constexpr (const_value_v<V>) {
  278|       |            if constexpr (check_error_on_const_read(Opts)) {
  279|       |               ctx.error = error_code::attempt_const_read;
  280|       |            }
  281|       |            else {
  282|       |               // do not read anything into the const value
  283|       |               skip_value<JSON>::op<Opts>(ctx, it, end);
  284|       |            }
  285|       |         }
  286|       |         else if constexpr (is_function_ptr_or_ref<V>) {
  287|       |            // Function pointers cannot be deserialized from JSON.
  288|       |            // When write_function_pointers is enabled the writer emits a type-name string,
  289|       |            // but there is nothing meaningful to reconstruct on read — just skip the value.
  290|       |            // When write_function_pointers is off the key is never written, so this branch
  291|       |            // is unreachable in that case.
  292|       |            skip_value<JSON>::op<Opts>(ctx, it, end);
  293|       |         }
  294|       |         else if constexpr (glaze_object_t<T>) {
  295|       |            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(reflect<T>::values)),
  296|       |                                                                       ctx, it, end);
  297|       |         }
  298|  10.2k|         else {
  299|  10.2k|            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(to_tie(value))), ctx,
  300|  10.2k|                                                                       it, end);
  301|  10.2k|         }
  302|  10.2k|      }
  303|       |
  304|       |      // The key was present and handled, even when the value itself was skipped
  305|       |      if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  306|       |         ((selected_index = I), ...);
  307|       |      }
  308|  10.2k|   }
_ZN3glz4fromILj10EiE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERPKcRiTkNS_10is_contextERNS_7contextES5_EEvOT1_OT2_OT0_T3_:
  764|  10.2k|      {
  765|       |         if constexpr (check_quoted_num(Opts)) {
  766|       |            if (skip_ws<Opts>(ctx, it, end)) {
  767|       |               return;
  768|       |            }
  769|       |            if (match_invalid_end<'"', Opts>(ctx, it, end)) {
  770|       |               return;
  771|       |            }
  772|       |         }
  773|       |
  774|       |         if constexpr (!check_ws_handled(Opts)) {
  775|       |            if (skip_ws<Opts>(ctx, it, end)) {
  776|       |               return;
  777|       |            }
  778|       |         }
  779|       |
  780|  10.2k|         using V = std::decay_t<decltype(value)>;
  781|  10.2k|         if constexpr (int_t<V>) {
  782|  10.2k|            static_assert(sizeof(*it) == sizeof(char));
  783|       |
  784|  10.2k|            if constexpr (Opts.null_terminated) {
  785|  10.2k|               if (not glz::atoi(value, it)) [[unlikely]] {
  ------------------
  |  Branch (785:20): [True: 299, False: 9.91k]
  ------------------
  786|    299|                  ctx.error = error_code::parse_number_failure;
  787|    299|                  return;
  788|    299|               }
  789|       |            }
  790|       |            else {
  791|       |               if (not glz::atoi(value, it, end)) [[unlikely]] {
  792|       |                  ctx.error = error_code::parse_number_failure;
  793|       |                  return;
  794|       |               }
  795|       |            }
  796|       |         }
  797|       |         else {
  798|       |// float128_t requires std::from_chars for floating-point, unavailable on older Apple platforms (iOS < 16.3)
  799|       |#if !defined(_LIBCPP_VERSION) || defined(_LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT)
  800|       |            if constexpr (is_float128<V>) {
  801|       |               auto [ptr, ec] = std::from_chars(it, end, value);
  802|       |               if (ec != std::errc()) {
  803|       |                  ctx.error = error_code::parse_number_failure;
  804|       |                  return;
  805|       |               }
  806|       |               it = ptr;
  807|       |            }
  808|       |            else
  809|       |#endif
  810|       |            {
  811|       |               if constexpr (std::is_volatile_v<std::remove_reference_t<decltype(value)>>) {
  812|       |                  // Hardware may interact with value changes, so we parse into a temporary and assign in one
  813|       |                  // place
  814|       |                  V temp;
  815|       |                  if constexpr (is_size_optimized(Opts)) {
  816|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, temp);
  817|       |                     if (ec != std::errc{}) [[unlikely]] {
  818|       |                        ctx.error = error_code::parse_number_failure;
  819|       |                        return;
  820|       |                     }
  821|       |                     it = ptr;
  822|       |                  }
  823|       |                  else {
  824|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, temp);
  825|       |                     if (ec != std::errc()) [[unlikely]] {
  826|       |                        ctx.error = error_code::parse_number_failure;
  827|       |                        return;
  828|       |                     }
  829|       |                     it = ptr;
  830|       |                  }
  831|       |                  value = temp;
  832|       |               }
  833|       |               else {
  834|       |                  if constexpr (is_size_optimized(Opts)) {
  835|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, value);
  836|       |                     if (ec != std::errc{}) [[unlikely]] {
  837|       |                        ctx.error = error_code::parse_number_failure;
  838|       |                        return;
  839|       |                     }
  840|       |                     it = ptr;
  841|       |                  }
  842|       |                  else {
  843|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, value);
  844|       |                     if (ec != std::errc()) [[unlikely]] {
  845|       |                        ctx.error = error_code::parse_number_failure;
  846|       |                        return;
  847|       |                     }
  848|       |                     it = ptr;
  849|       |                  }
  850|       |               }
  851|       |            }
  852|       |         }
  853|       |
  854|       |         if constexpr (check_quoted_num(Opts)) {
  855|       |            if constexpr (not Opts.null_terminated) {
  856|       |               if (it == end) [[unlikely]] {
  857|       |                  ctx.error = error_code::unexpected_end;
  858|       |                  return;
  859|       |               }
  860|       |            }
  861|       |            if (match<'"'>(ctx, it)) {
  862|       |               return;
  863|       |            }
  864|       |            if constexpr (not Opts.null_terminated) {
  865|       |               if (it == end) {
  866|       |                  ctx.error = error_code::end_reached;
  867|       |                  return;
  868|       |               }
  869|       |            }
  870|       |         }
  871|  10.2k|         else {
  872|       |            if constexpr (not Opts.null_terminated) {
  873|       |               if (it == end) {
  874|       |                  ctx.error = error_code::end_reached;
  875|       |                  return;
  876|       |               }
  877|       |            }
  878|  10.2k|         }
  879|  10.2k|      }
_ZN3glz24decode_index_unknown_keyITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structRS2_TkNS_10is_contextERNS_7contextERPKcS7_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT2_OT3_T4_:
  178|    130|   {
  179|    130|      if constexpr (Opts.error_on_unknown_keys) {
  180|    130|         ctx.error = error_code::unknown_key;
  181|       |      }
  182|       |      else {
  183|       |         auto* start = it;
  184|       |         uint64_t ascii_acc{};
  185|       |         skip_string_view(ctx, it, end, ascii_acc);
  186|       |         if (bool(ctx.error)) [[unlikely]]
  187|       |            return;
  188|       |         if (validate_utf8_span<Opts>(ctx, start, it, ascii_acc)) [[unlikely]]
  189|       |            return;
  190|       |         const sv key = {start, size_t(it - start)};
  191|       |         ++it;
  192|       |         if constexpr (not Opts.null_terminated) {
  193|       |            if (it == end) [[unlikely]] {
  194|       |               ctx.error = error_code::unexpected_end;
  195|       |               return;
  196|       |            }
  197|       |         }
  198|       |
  199|       |         if (parse_ws_colon<Opts>(ctx, it, end)) {
  200|       |            return;
  201|       |         }
  202|       |
  203|       |         parse<JSON>::handle_unknown<Opts>(key, value, ctx, it, end);
  204|       |      }
  205|    130|   }
_ZZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_ENKUlTnmvE_clILm1EEEDav:
  491|  14.6k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
_ZN3glz12decode_indexITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structLm1ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT2_OT4_OT5_OT6_DpOT3_:
  313|  14.6k|   {
  314|  14.6k|      static constexpr auto Key = get<I>(reflect<T>::keys);
  315|  14.6k|      static constexpr auto KeyWithEndQuote = join_v<Key, chars<"\"">>;
  316|  14.6k|      static constexpr auto Length = KeyWithEndQuote.size();
  317|       |
  318|       |      // Compared as a count rather than by forming `it + Length` first: a pointer past one-past-the-end
  319|       |      // is undefined even when it is never dereferenced, and a key near the end of a short buffer
  320|       |      // reaches this with fewer than `Length` bytes left. Signed, so a cursor that has overshot
  321|       |      // `end` does not read as room.
  322|  14.6k|      if (((end - it) > std::ptrdiff_t(Length)) && comparitor<KeyWithEndQuote>(it)) [[likely]] {
  ------------------
  |  Branch (322:11): [True: 14.5k, False: 11]
  |  Branch (322:52): [True: 14.5k, False: 19]
  ------------------
  323|  14.5k|         it += Length;
  324|       |         if constexpr (not Opts.null_terminated) {
  325|       |            if (it == end) [[unlikely]] {
  326|       |               ctx.error = error_code::unexpected_end;
  327|       |               return;
  328|       |            }
  329|       |         }
  330|       |
  331|  14.5k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (331:14): [True: 0, False: 14.5k]
  ------------------
  332|      0|            return;
  333|      0|         }
  334|  14.5k|         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (334:14): [True: 20, False: 14.5k]
  ------------------
  335|     20|            return;
  336|     20|         }
  337|  14.5k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (337:14): [True: 0, False: 14.5k]
  ------------------
  338|      0|            return;
  339|      0|         }
  340|       |
  341|       |         // The hash path has already consumed the whitespace before the value
  342|  14.5k|         decode_field_value<Opts, ws_handled<Opts>(), T, I>(value, ctx, it, end, selected_index...);
  343|  14.5k|      }
  344|     30|      else [[unlikely]] {
  345|     30|         decode_index_unknown_key<Opts, T>(value, ctx, it, end);
  346|     30|      }
  347|  14.6k|   }
_ZN3glz18decode_field_valueITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETnDaXtlS1_Lj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEE9my_structLm1ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT1_E11reflectableIS9_EEEvOT3_OT5_OT6_OT7_DpOT4_:
  247|  14.5k|   {
  248|       |      // Check for null value skipping on read
  249|       |      if constexpr (check_skip_null_members_on_read(Opts)) {
  250|       |         if (*it == 'n') {
  251|       |            ++it;
  252|       |            if constexpr (not Opts.null_terminated) {
  253|       |               if (it == end) [[unlikely]] {
  254|       |                  ctx.error = error_code::unexpected_end;
  255|       |                  return;
  256|       |               }
  257|       |            }
  258|       |            match<"ull", Opts>(ctx, it, end);
  259|       |            if (bool(ctx.error)) [[unlikely]]
  260|       |               return;
  261|       |            // Successfully matched "null", skip it
  262|       |            if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  263|       |               ((selected_index = I), ...); // Mark as handled even if skipped
  264|       |            }
  265|       |            return;
  266|       |         }
  267|       |      }
  268|       |
  269|       |      if constexpr (skipped_by_meta<T, I, operation::parse>) {
  270|       |         skip_value<JSON>::op<Opts>(ctx, it, end);
  271|       |         if (bool(ctx.error)) [[unlikely]]
  272|       |            return; // Propagate error from skip_value
  273|       |      }
  274|  14.5k|      else {
  275|  14.5k|         using V = refl_t<T, I>;
  276|       |
  277|       |         if constexpr (const_value_v<V>) {
  278|       |            if constexpr (check_error_on_const_read(Opts)) {
  279|       |               ctx.error = error_code::attempt_const_read;
  280|       |            }
  281|       |            else {
  282|       |               // do not read anything into the const value
  283|       |               skip_value<JSON>::op<Opts>(ctx, it, end);
  284|       |            }
  285|       |         }
  286|       |         else if constexpr (is_function_ptr_or_ref<V>) {
  287|       |            // Function pointers cannot be deserialized from JSON.
  288|       |            // When write_function_pointers is enabled the writer emits a type-name string,
  289|       |            // but there is nothing meaningful to reconstruct on read — just skip the value.
  290|       |            // When write_function_pointers is off the key is never written, so this branch
  291|       |            // is unreachable in that case.
  292|       |            skip_value<JSON>::op<Opts>(ctx, it, end);
  293|       |         }
  294|       |         else if constexpr (glaze_object_t<T>) {
  295|       |            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(reflect<T>::values)),
  296|       |                                                                       ctx, it, end);
  297|       |         }
  298|  14.5k|         else {
  299|  14.5k|            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(to_tie(value))), ctx,
  300|  14.5k|                                                                       it, end);
  301|  14.5k|         }
  302|  14.5k|      }
  303|       |
  304|       |      // The key was present and handled, even when the value itself was skipped
  305|       |      if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  306|       |         ((selected_index = I), ...);
  307|       |      }
  308|  14.5k|   }
_ZN3glz4fromILj10EdE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERPKcRdTkNS_10is_contextERNS_7contextES5_EEvOT1_OT2_OT0_T3_:
  764|  14.5k|      {
  765|       |         if constexpr (check_quoted_num(Opts)) {
  766|       |            if (skip_ws<Opts>(ctx, it, end)) {
  767|       |               return;
  768|       |            }
  769|       |            if (match_invalid_end<'"', Opts>(ctx, it, end)) {
  770|       |               return;
  771|       |            }
  772|       |         }
  773|       |
  774|       |         if constexpr (!check_ws_handled(Opts)) {
  775|       |            if (skip_ws<Opts>(ctx, it, end)) {
  776|       |               return;
  777|       |            }
  778|       |         }
  779|       |
  780|  14.5k|         using V = std::decay_t<decltype(value)>;
  781|       |         if constexpr (int_t<V>) {
  782|       |            static_assert(sizeof(*it) == sizeof(char));
  783|       |
  784|       |            if constexpr (Opts.null_terminated) {
  785|       |               if (not glz::atoi(value, it)) [[unlikely]] {
  786|       |                  ctx.error = error_code::parse_number_failure;
  787|       |                  return;
  788|       |               }
  789|       |            }
  790|       |            else {
  791|       |               if (not glz::atoi(value, it, end)) [[unlikely]] {
  792|       |                  ctx.error = error_code::parse_number_failure;
  793|       |                  return;
  794|       |               }
  795|       |            }
  796|       |         }
  797|  14.5k|         else {
  798|       |// float128_t requires std::from_chars for floating-point, unavailable on older Apple platforms (iOS < 16.3)
  799|  14.5k|#if !defined(_LIBCPP_VERSION) || defined(_LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT)
  800|       |            if constexpr (is_float128<V>) {
  801|       |               auto [ptr, ec] = std::from_chars(it, end, value);
  802|       |               if (ec != std::errc()) {
  803|       |                  ctx.error = error_code::parse_number_failure;
  804|       |                  return;
  805|       |               }
  806|       |               it = ptr;
  807|       |            }
  808|       |            else
  809|       |#endif
  810|  14.5k|            {
  811|       |               if constexpr (std::is_volatile_v<std::remove_reference_t<decltype(value)>>) {
  812|       |                  // Hardware may interact with value changes, so we parse into a temporary and assign in one
  813|       |                  // place
  814|       |                  V temp;
  815|       |                  if constexpr (is_size_optimized(Opts)) {
  816|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, temp);
  817|       |                     if (ec != std::errc{}) [[unlikely]] {
  818|       |                        ctx.error = error_code::parse_number_failure;
  819|       |                        return;
  820|       |                     }
  821|       |                     it = ptr;
  822|       |                  }
  823|       |                  else {
  824|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, temp);
  825|       |                     if (ec != std::errc()) [[unlikely]] {
  826|       |                        ctx.error = error_code::parse_number_failure;
  827|       |                        return;
  828|       |                     }
  829|       |                     it = ptr;
  830|       |                  }
  831|       |                  value = temp;
  832|       |               }
  833|  14.5k|               else {
  834|       |                  if constexpr (is_size_optimized(Opts)) {
  835|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, value);
  836|       |                     if (ec != std::errc{}) [[unlikely]] {
  837|       |                        ctx.error = error_code::parse_number_failure;
  838|       |                        return;
  839|       |                     }
  840|       |                     it = ptr;
  841|       |                  }
  842|  14.5k|                  else {
  843|  14.5k|                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, value);
  844|  14.5k|                     if (ec != std::errc()) [[unlikely]] {
  ------------------
  |  Branch (844:26): [True: 380, False: 14.1k]
  ------------------
  845|    380|                        ctx.error = error_code::parse_number_failure;
  846|    380|                        return;
  847|    380|                     }
  848|  14.1k|                     it = ptr;
  849|  14.1k|                  }
  850|  14.5k|               }
  851|  14.5k|            }
  852|  14.5k|         }
  853|       |
  854|       |         if constexpr (check_quoted_num(Opts)) {
  855|       |            if constexpr (not Opts.null_terminated) {
  856|       |               if (it == end) [[unlikely]] {
  857|       |                  ctx.error = error_code::unexpected_end;
  858|       |                  return;
  859|       |               }
  860|       |            }
  861|       |            if (match<'"'>(ctx, it)) {
  862|       |               return;
  863|       |            }
  864|       |            if constexpr (not Opts.null_terminated) {
  865|       |               if (it == end) {
  866|       |                  ctx.error = error_code::end_reached;
  867|       |                  return;
  868|       |               }
  869|       |            }
  870|       |         }
  871|  14.5k|         else {
  872|       |            if constexpr (not Opts.null_terminated) {
  873|       |               if (it == end) {
  874|       |                  ctx.error = error_code::end_reached;
  875|       |                  return;
  876|       |               }
  877|       |            }
  878|  14.5k|         }
  879|  14.5k|      }
_ZZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_ENKUlTnmvE_clILm2EEEDav:
  491|  4.85k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
_ZN3glz12decode_indexITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structLm2ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT2_OT4_OT5_OT6_DpOT3_:
  313|  4.85k|   {
  314|  4.85k|      static constexpr auto Key = get<I>(reflect<T>::keys);
  315|  4.85k|      static constexpr auto KeyWithEndQuote = join_v<Key, chars<"\"">>;
  316|  4.85k|      static constexpr auto Length = KeyWithEndQuote.size();
  317|       |
  318|       |      // Compared as a count rather than by forming `it + Length` first: a pointer past one-past-the-end
  319|       |      // is undefined even when it is never dereferenced, and a key near the end of a short buffer
  320|       |      // reaches this with fewer than `Length` bytes left. Signed, so a cursor that has overshot
  321|       |      // `end` does not read as room.
  322|  4.85k|      if (((end - it) > std::ptrdiff_t(Length)) && comparitor<KeyWithEndQuote>(it)) [[likely]] {
  ------------------
  |  Branch (322:11): [True: 4.82k, False: 25]
  |  Branch (322:52): [True: 4.82k, False: 2]
  ------------------
  323|  4.82k|         it += Length;
  324|       |         if constexpr (not Opts.null_terminated) {
  325|       |            if (it == end) [[unlikely]] {
  326|       |               ctx.error = error_code::unexpected_end;
  327|       |               return;
  328|       |            }
  329|       |         }
  330|       |
  331|  4.82k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (331:14): [True: 0, False: 4.82k]
  ------------------
  332|      0|            return;
  333|      0|         }
  334|  4.82k|         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (334:14): [True: 20, False: 4.80k]
  ------------------
  335|     20|            return;
  336|     20|         }
  337|  4.80k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (337:14): [True: 0, False: 4.80k]
  ------------------
  338|      0|            return;
  339|      0|         }
  340|       |
  341|       |         // The hash path has already consumed the whitespace before the value
  342|  4.80k|         decode_field_value<Opts, ws_handled<Opts>(), T, I>(value, ctx, it, end, selected_index...);
  343|  4.80k|      }
  344|     27|      else [[unlikely]] {
  345|     27|         decode_index_unknown_key<Opts, T>(value, ctx, it, end);
  346|     27|      }
  347|  4.85k|   }
_ZN3glz18decode_field_valueITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETnDaXtlS1_Lj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEE9my_structLm2ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT1_E11reflectableIS9_EEEvOT3_OT5_OT6_OT7_DpOT4_:
  247|  4.80k|   {
  248|       |      // Check for null value skipping on read
  249|       |      if constexpr (check_skip_null_members_on_read(Opts)) {
  250|       |         if (*it == 'n') {
  251|       |            ++it;
  252|       |            if constexpr (not Opts.null_terminated) {
  253|       |               if (it == end) [[unlikely]] {
  254|       |                  ctx.error = error_code::unexpected_end;
  255|       |                  return;
  256|       |               }
  257|       |            }
  258|       |            match<"ull", Opts>(ctx, it, end);
  259|       |            if (bool(ctx.error)) [[unlikely]]
  260|       |               return;
  261|       |            // Successfully matched "null", skip it
  262|       |            if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  263|       |               ((selected_index = I), ...); // Mark as handled even if skipped
  264|       |            }
  265|       |            return;
  266|       |         }
  267|       |      }
  268|       |
  269|       |      if constexpr (skipped_by_meta<T, I, operation::parse>) {
  270|       |         skip_value<JSON>::op<Opts>(ctx, it, end);
  271|       |         if (bool(ctx.error)) [[unlikely]]
  272|       |            return; // Propagate error from skip_value
  273|       |      }
  274|  4.80k|      else {
  275|  4.80k|         using V = refl_t<T, I>;
  276|       |
  277|       |         if constexpr (const_value_v<V>) {
  278|       |            if constexpr (check_error_on_const_read(Opts)) {
  279|       |               ctx.error = error_code::attempt_const_read;
  280|       |            }
  281|       |            else {
  282|       |               // do not read anything into the const value
  283|       |               skip_value<JSON>::op<Opts>(ctx, it, end);
  284|       |            }
  285|       |         }
  286|       |         else if constexpr (is_function_ptr_or_ref<V>) {
  287|       |            // Function pointers cannot be deserialized from JSON.
  288|       |            // When write_function_pointers is enabled the writer emits a type-name string,
  289|       |            // but there is nothing meaningful to reconstruct on read — just skip the value.
  290|       |            // When write_function_pointers is off the key is never written, so this branch
  291|       |            // is unreachable in that case.
  292|       |            skip_value<JSON>::op<Opts>(ctx, it, end);
  293|       |         }
  294|       |         else if constexpr (glaze_object_t<T>) {
  295|       |            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(reflect<T>::values)),
  296|       |                                                                       ctx, it, end);
  297|       |         }
  298|  4.80k|         else {
  299|  4.80k|            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(to_tie(value))), ctx,
  300|  4.80k|                                                                       it, end);
  301|  4.80k|         }
  302|  4.80k|      }
  303|       |
  304|       |      // The key was present and handled, even when the value itself was skipped
  305|       |      if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  306|       |         ((selected_index = I), ...);
  307|       |      }
  308|  4.80k|   }
_ZN3glz4fromILj10ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERPKcSC_S7_TkNS_10is_contextERNS_7contextEEEvRT2_OT3_OT0_T1_:
  888|  4.80k|      {
  889|       |         if constexpr (check_string_as_number(Opts)) {
  890|       |            auto start = it;
  891|       |            skip_number<Opts>(ctx, it, end);
  892|       |            if (bool(ctx.error)) [[unlikely]] {
  893|       |               return;
  894|       |            }
  895|       |            if (start == it) [[unlikely]] {
  896|       |               ctx.error = error_code::parse_number_failure;
  897|       |               return;
  898|       |            }
  899|       |            value.append(start, size_t(it - start));
  900|       |         }
  901|  4.80k|         else {
  902|  4.80k|            if constexpr (!check_opening_handled(Opts)) {
  903|       |               if constexpr (!check_ws_handled(Opts)) {
  904|       |                  if (skip_ws<Opts>(ctx, it, end)) {
  905|       |                     return;
  906|       |                  }
  907|       |               }
  908|       |
  909|  4.80k|               if (match_invalid_end<'"', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (909:20): [True: 38, False: 4.76k]
  ------------------
  910|     38|                  return;
  911|     38|               }
  912|  4.80k|            }
  913|       |
  914|  4.80k|            if constexpr (not check_raw_string(Opts)) {
  915|  4.80k|               static constexpr auto string_padding_bytes = 8;
  916|       |
  917|       |               // How much buffer has to remain for an eight byte load at the cursor to stay inside
  918|       |               // it. One on a padded input, where the last chunk is free to straddle the end of the
  919|       |               // document, so the byte tails below are unreachable; eight otherwise, which costs the
  920|       |               // final bytes of the buffer their chunked path and nothing else.
  921|  4.80k|               const std::ptrdiff_t scan_min = chunk_min<8>(ctx.padded_input);
  922|       |
  923|  4.80k|               if (size_t(end - it) >= 8) {
  ------------------
  |  Branch (923:20): [True: 4.48k, False: 322]
  ------------------
  924|       |                  // The bound as a pointer, so the loops below spend a compare per chunk rather
  925|       |                  // than a subtract and a compare. Well defined here and nowhere else in this
  926|       |                  // reader: the branch has just established that at least eight bytes remain, and
  927|       |                  // `scan_min` is at most eight.
  928|  4.48k|                  const auto* const chunk_limit = end - scan_min;
  929|       |
  930|  4.48k|                  auto start = it;
  931|  4.48k|                  uint64_t ascii_acc{};
  932|  3.15M|                  while (it <= chunk_limit) {
  ------------------
  |  Branch (932:26): [True: 3.15M, False: 452]
  ------------------
  933|  3.15M|                     uint64_t chunk;
  934|  3.15M|                     std::memcpy(&chunk, it, 8);
  935|       |                     if constexpr (std::endian::native == std::endian::big) {
  936|       |                        chunk = std::byteswap(chunk);
  937|       |                     }
  938|  3.15M|                     ascii_acc |= chunk;
  939|  3.15M|                     const uint64_t test_chars = has_quote(chunk);
  940|  3.15M|                     if (test_chars) {
  ------------------
  |  Branch (940:26): [True: 4.36k, False: 3.15M]
  ------------------
  941|  4.36k|                        it += (countr_zero(test_chars) >> 3);
  942|       |
  943|  4.36k|                        auto* prev = it - 1;
  944|  5.72k|                        while (*prev == '\\') {
  ------------------
  |  Branch (944:32): [True: 1.36k, False: 4.36k]
  ------------------
  945|  1.36k|                           --prev;
  946|  1.36k|                        }
  947|  4.36k|                        if (size_t(it - prev) % 2) {
  ------------------
  |  Branch (947:29): [True: 4.03k, False: 331]
  ------------------
  948|  4.03k|                           goto continue_decode;
  949|  4.03k|                        }
  950|    331|                        ++it; // skip the escaped quote
  951|    331|                     }
  952|  3.15M|                     else {
  953|  3.15M|                        it += 8;
  954|  3.15M|                     }
  955|  3.15M|                  }
  956|       |
  957|  1.08k|                  while (it[-1] == '\\') [[unlikely]] {
  ------------------
  |  Branch (957:26): [True: 628, False: 452]
  ------------------
  958|       |                     // if we ended on an escape character then we need to rewind
  959|       |                     // because we lost our context
  960|    628|                     --it;
  961|    628|                  }
  962|       |
  963|       |                  // The byte-wise tail keeps feeding the accumulator: it has to cover every byte of
  964|       |                  // the string, or a non-ASCII byte reached here would be waved through unvalidated.
  965|  2.06k|                  for (; it < end; ++it) {
  ------------------
  |  Branch (965:26): [True: 2.02k, False: 41]
  ------------------
  966|  2.02k|                     ascii_acc |= uint8_t(*it);
  967|  2.02k|                     if (*it == '"') {
  ------------------
  |  Branch (967:26): [True: 435, False: 1.58k]
  ------------------
  968|    435|                        auto* prev = it - 1;
  969|    669|                        while (*prev == '\\') {
  ------------------
  |  Branch (969:32): [True: 234, False: 435]
  ------------------
  970|    234|                           --prev;
  971|    234|                        }
  972|    435|                        if (size_t(it - prev) % 2) {
  ------------------
  |  Branch (972:29): [True: 411, False: 24]
  ------------------
  973|    411|                           goto continue_decode;
  974|    411|                        }
  975|    435|                     }
  976|  2.02k|                  }
  977|       |
  978|     41|                  ctx.error = error_code::unexpected_end;
  979|     41|                  return;
  980|       |
  981|  4.44k|               continue_decode:
  982|       |
  983|  4.44k|                  if (validate_utf8_span<Opts>(ctx, start, it, ascii_acc)) [[unlikely]] {
  ------------------
  |  Branch (983:23): [True: 89, False: 4.35k]
  ------------------
  984|     89|                     return;
  985|     89|                  }
  986|       |
  987|  4.35k|                  auto n = size_t(it - start);
  988|       |
  989|       |                  // The padding lets the chunked copy below run up to the closing quote. Skip it when it
  990|       |                  // would be the only reason to allocate, as for a string that fits the small string
  991|       |                  // buffer but not with eight bytes to spare.
  992|  4.35k|                  bool pad = true;
  993|  4.35k|                  if constexpr (requires { value.capacity(); }) {
  994|  4.35k|                     const auto capacity = size_t(value.capacity());
  995|  4.35k|                     pad = capacity >= n + string_padding_bytes || capacity < n;
  ------------------
  |  Branch (995:28): [True: 2.90k, False: 1.45k]
  |  Branch (995:68): [True: 405, False: 1.04k]
  ------------------
  996|  4.35k|                  }
  997|  4.35k|                  resize_unfilled(value, pad ? n + string_padding_bytes : n);
  ------------------
  |  Branch (997:42): [True: 3.30k, False: 1.04k]
  ------------------
  998|       |
  999|  4.35k|                  auto* p = value.data();
 1000|       |
 1001|       |                  // An error below returns with the tail of `value` still unwritten. Leave the size at
 1002|       |                  // what was actually written rather than at the padded length, which resize_unfilled
 1003|       |                  // did not fill.
 1004|  4.35k|                  auto* const written_begin = p;
 1005|       |
 1006|       |                  // Without the padding, copy a chunk only while eight bytes remain before the quote.
 1007|       |                  // Unescaping never puts the output ahead of the input, so no store lands past the end.
 1008|  4.35k|                  const auto* const copy_end = pad ? it : it - (std::min)(n, size_t(7));
  ------------------
  |  Branch (1008:48): [True: 3.30k, False: 1.04k]
  ------------------
 1009|       |
 1010|       |                  // Copy eight bytes at a time for as long as eight bytes are there to read, then
 1011|       |                  // finish the span below. The chunked form reads past the character it is looking
 1012|       |                  // at, so on an unpadded buffer it has to stop short of the end; splitting it this
 1013|       |                  // way keeps it for the body of every string rather than giving it up whenever the
 1014|       |                  // string happens to finish near the end of the buffer -- which, for a document
 1015|       |                  // that is itself one string, is every string.
 1016|   632k|                  while (start < copy_end && start <= chunk_limit) {
  ------------------
  |  Branch (1016:26): [True: 628k, False: 3.66k]
  |  Branch (1016:46): [True: 628k, False: 191]
  ------------------
 1017|   628k|                     std::memcpy(p, start, 8);
 1018|   628k|                     uint64_t swar;
 1019|   628k|                     std::memcpy(&swar, p, 8);
 1020|       |                     if constexpr (std::endian::native == std::endian::big) {
 1021|       |                        swar = std::byteswap(swar);
 1022|       |                     }
 1023|       |
 1024|   628k|                     constexpr uint64_t lo7_mask = repeat_byte8(0b01111111);
 1025|   628k|                     const uint64_t lo7 = swar & lo7_mask;
 1026|   628k|                     const uint64_t backslash = (lo7 ^ repeat_byte8('\\')) + lo7_mask;
 1027|   628k|                     const uint64_t less_32 = (swar & repeat_byte8(0b01100000)) + lo7_mask;
 1028|   628k|                     uint64_t next = ~((backslash & less_32) | swar);
 1029|       |
 1030|   628k|                     next &= repeat_byte8(0b10000000);
 1031|   628k|                     if (next == 0) {
  ------------------
  |  Branch (1031:26): [True: 620k, False: 7.92k]
  ------------------
 1032|   620k|                        start += 8;
 1033|   620k|                        p += 8;
 1034|   620k|                        continue;
 1035|   620k|                     }
 1036|       |
 1037|  7.92k|                     next = countr_zero(next) >> 3;
 1038|  7.92k|                     start += next;
 1039|  7.92k|                     if (start >= it) {
  ------------------
  |  Branch (1039:26): [True: 205, False: 7.71k]
  ------------------
 1040|    205|                        break;
 1041|    205|                     }
 1042|       |
 1043|  7.71k|                     if ((*start & 0b11100000) == 0) [[unlikely]] {
  ------------------
  |  Branch (1043:26): [True: 109, False: 7.60k]
  ------------------
 1044|    109|                        ctx.error = error_code::syntax_error;
 1045|    109|                        value.resize(size_t(p - written_begin));
 1046|    109|                        return;
 1047|    109|                     }
 1048|  7.60k|                     ++start; // skip the escape
 1049|  7.60k|                     if (*start == 'u') {
  ------------------
  |  Branch (1049:26): [True: 2.00k, False: 5.60k]
  ------------------
 1050|  2.00k|                        ++start;
 1051|  2.00k|                        p += next;
 1052|  2.00k|                        const auto mark = start;
 1053|  2.00k|                        const auto decoded = handle_unicode_code_point(start, p, end);
 1054|  2.00k|                        if (decoded.written == 0) [[unlikely]] {
  ------------------
  |  Branch (1054:29): [True: 160, False: 1.84k]
  ------------------
 1055|    160|                           ctx.error = decoded.truncated ? error_code::unexpected_end
  ------------------
  |  Branch (1055:40): [True: 0, False: 160]
  ------------------
 1056|    160|                                                         : error_code::unicode_escape_conversion_failure;
 1057|    160|                           value.resize(size_t(p - written_begin));
 1058|    160|                           return;
 1059|    160|                        }
 1060|  1.84k|                        n += decoded.written;
 1061|       |                        // escape + u + unicode code points
 1062|  1.84k|                        n -= 2 + uint32_t(start - mark);
 1063|  1.84k|                     }
 1064|  5.60k|                     else {
 1065|  5.60k|                        p += next;
 1066|  5.60k|                        *p = char_unescape_table[uint8_t(*start)];
 1067|  5.60k|                        if (*p == 0) [[unlikely]] {
  ------------------
  |  Branch (1067:29): [True: 21, False: 5.58k]
  ------------------
 1068|     21|                           ctx.error = error_code::invalid_escape;
 1069|     21|                           value.resize(size_t(p - written_begin));
 1070|     21|                           return;
 1071|     21|                        }
 1072|  5.58k|                        ++p;
 1073|  5.58k|                        ++start;
 1074|  5.58k|                        --n;
 1075|  5.58k|                     }
 1076|  7.60k|                  }
 1077|       |
 1078|       |                  // Whatever the chunked copy could not reach. `p` and `start` stay in step across
 1079|       |                  // that loop, so this picks up exactly where it stopped.
 1080|  7.49k|                  while (start < it) {
  ------------------
  |  Branch (1080:26): [True: 3.53k, False: 3.96k]
  ------------------
 1081|  3.53k|                     if ((*start & 0b11100000) == 0) [[unlikely]] {
  ------------------
  |  Branch (1081:26): [True: 14, False: 3.51k]
  ------------------
 1082|     14|                        ctx.error = error_code::syntax_error;
 1083|     14|                        value.resize(size_t(p - written_begin));
 1084|     14|                        return;
 1085|     14|                     }
 1086|  3.51k|                     if (*start == '\\') {
  ------------------
  |  Branch (1086:26): [True: 1.01k, False: 2.50k]
  ------------------
 1087|  1.01k|                        ++start; // skip the escape
 1088|  1.01k|                        if (*start == 'u') {
  ------------------
  |  Branch (1088:29): [True: 751, False: 263]
  ------------------
 1089|    751|                           ++start;
 1090|    751|                           const auto mark = start;
 1091|    751|                           const auto decoded = handle_unicode_code_point(start, p, end);
 1092|    751|                           if (decoded.written == 0) [[unlikely]] {
  ------------------
  |  Branch (1092:32): [True: 73, False: 678]
  ------------------
 1093|     73|                              ctx.error = decoded.truncated ? error_code::unexpected_end
  ------------------
  |  Branch (1093:43): [True: 0, False: 73]
  ------------------
 1094|     73|                                                            : error_code::unicode_escape_conversion_failure;
 1095|     73|                              value.resize(size_t(p - written_begin));
 1096|     73|                              return;
 1097|     73|                           }
 1098|    678|                           n += decoded.written;
 1099|    678|                           n -= 2 + uint32_t(start - mark);
 1100|    678|                        }
 1101|    263|                        else {
 1102|    263|                           *p = char_unescape_table[uint8_t(*start)];
 1103|    263|                           if (*p == 0) [[unlikely]] {
  ------------------
  |  Branch (1103:32): [True: 13, False: 250]
  ------------------
 1104|     13|                              ctx.error = error_code::invalid_escape;
 1105|     13|                              value.resize(size_t(p - written_begin));
 1106|     13|                              return;
 1107|     13|                           }
 1108|    250|                           ++p;
 1109|    250|                           ++start;
 1110|    250|                           --n;
 1111|    250|                        }
 1112|  1.01k|                     }
 1113|  2.50k|                     else {
 1114|  2.50k|                        *p = *start;
 1115|  2.50k|                        ++p;
 1116|  2.50k|                        ++start;
 1117|  2.50k|                     }
 1118|  3.51k|                  }
 1119|       |
 1120|  3.96k|                  value.resize(n);
 1121|  3.96k|                  ++it;
 1122|  3.96k|               }
 1123|    322|               else {
 1124|       |                  // For short strings
 1125|       |
 1126|    322|                  std::array<char, 8> buffer{};
 1127|       |
 1128|    322|                  auto* p = buffer.data();
 1129|    322|                  const auto* const utf8_start = it;
 1130|       |
 1131|    797|                  while (it < end) [[likely]] {
  ------------------
  |  Branch (1131:26): [True: 699, False: 98]
  ------------------
 1132|    699|                     *p = *it;
 1133|    699|                     if (*it == '"') {
  ------------------
  |  Branch (1133:26): [True: 180, False: 519]
  ------------------
 1134|    180|                        if (validate_utf8_span<Opts>(ctx, utf8_start, it)) [[unlikely]] {
  ------------------
  |  Branch (1134:29): [True: 69, False: 111]
  ------------------
 1135|     69|                           return;
 1136|     69|                        }
 1137|    111|                        const size_t n = size_t(p - buffer.data());
 1138|    111|#if __has_cpp_attribute(assume) >= 202207L
 1139|    111|                        [[assume(n <= sizeof(buffer))]];
 1140|    111|#endif
 1141|    111|                        value.assign(buffer.data(), n);
 1142|    111|                        ++it;
 1143|       |                        if constexpr (not Opts.null_terminated) {
 1144|       |                           if (it == end) {
 1145|       |                              ctx.error = error_code::end_reached;
 1146|       |                              return;
 1147|       |                           }
 1148|       |                        }
 1149|    111|                        return;
 1150|    180|                     }
 1151|    519|                     else if (*it == '\\') {
  ------------------
  |  Branch (1151:31): [True: 97, False: 422]
  ------------------
 1152|       |                        // Bounded whatever `null_terminated` says: a document cut off inside an
 1153|       |                        // escape has run out of input, and saying so beats blaming the terminator
 1154|       |                        // the cut exposed -- which is what reading on would find, and would report
 1155|       |                        // as a malformed escape.
 1156|     97|                        ++it; // skip the escape
 1157|     97|                        if (it == end) [[unlikely]] {
  ------------------
  |  Branch (1157:29): [True: 3, False: 94]
  ------------------
 1158|      3|                           ctx.error = error_code::unexpected_end;
 1159|      3|                           return;
 1160|      3|                        }
 1161|     94|                        if (*it == 'u') {
  ------------------
  |  Branch (1161:29): [True: 72, False: 22]
  ------------------
 1162|     72|                           ++it;
 1163|     72|                           if (it == end) [[unlikely]] {
  ------------------
  |  Branch (1163:32): [True: 1, False: 71]
  ------------------
 1164|      1|                              ctx.error = error_code::unexpected_end;
 1165|      1|                              return;
 1166|      1|                           }
 1167|     71|                           const auto decoded = handle_unicode_code_point(it, p, end);
 1168|     71|                           if (decoded.written == 0) [[unlikely]] {
  ------------------
  |  Branch (1168:32): [True: 24, False: 47]
  ------------------
 1169|     24|                              ctx.error = decoded.truncated ? error_code::unexpected_end
  ------------------
  |  Branch (1169:43): [True: 7, False: 17]
  ------------------
 1170|     24|                                                            : error_code::unicode_escape_conversion_failure;
 1171|     24|                              return;
 1172|     24|                           }
 1173|     71|                        }
 1174|     22|                        else {
 1175|     22|                           *p = char_unescape_table[uint8_t(*it)];
 1176|     22|                           if (*p == 0) [[unlikely]] {
  ------------------
  |  Branch (1176:32): [True: 9, False: 13]
  ------------------
 1177|      9|                              ctx.error = error_code::invalid_escape;
 1178|      9|                              return;
 1179|      9|                           }
 1180|     13|                           ++p;
 1181|     13|                           ++it;
 1182|     13|                        }
 1183|     94|                     }
 1184|    422|                     else if ((*it & 0b11100000) == 0) [[unlikely]] {
  ------------------
  |  Branch (1184:31): [True: 7, False: 415]
  ------------------
 1185|      7|                        ctx.error = error_code::syntax_error;
 1186|      7|                        return;
 1187|      7|                     }
 1188|    415|                     else {
 1189|    415|                        ++it;
 1190|    415|                        ++p;
 1191|    415|                     }
 1192|    699|                  }
 1193|       |
 1194|     98|                  ctx.error = error_code::unexpected_end;
 1195|     98|               }
 1196|       |            }
 1197|       |            else {
 1198|       |               // raw_string
 1199|       |               auto start = it;
 1200|       |               skip_string_view(ctx, it, end);
 1201|       |               if (bool(ctx.error)) [[unlikely]]
 1202|       |                  return;
 1203|       |
 1204|       |               if (validate_utf8_span<Opts>(ctx, start, it)) [[unlikely]] {
 1205|       |                  return;
 1206|       |               }
 1207|       |
 1208|       |               value.assign(start, size_t(it - start));
 1209|       |               ++it;
 1210|       |            }
 1211|  4.80k|         }
 1212|  4.80k|      }
_ZZN3glz16parse_and_invokeITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structRS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT1_OT3_OT4_OT5_DpOT2_ENKUlTnmvE_clILm3EEEDav:
  491|  9.06k|            visit<N>([&]<size_t I>() { decode_index<Opts, T, I>(value, ctx, it, end, selected_index...); }, index);
_ZN3glz12decode_indexITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structLm3ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT0_E11reflectableIS9_EEEvOT2_OT4_OT5_OT6_DpOT3_:
  313|  9.06k|   {
  314|  9.06k|      static constexpr auto Key = get<I>(reflect<T>::keys);
  315|  9.06k|      static constexpr auto KeyWithEndQuote = join_v<Key, chars<"\"">>;
  316|  9.06k|      static constexpr auto Length = KeyWithEndQuote.size();
  317|       |
  318|       |      // Compared as a count rather than by forming `it + Length` first: a pointer past one-past-the-end
  319|       |      // is undefined even when it is never dereferenced, and a key near the end of a short buffer
  320|       |      // reaches this with fewer than `Length` bytes left. Signed, so a cursor that has overshot
  321|       |      // `end` does not read as room.
  322|  9.06k|      if (((end - it) > std::ptrdiff_t(Length)) && comparitor<KeyWithEndQuote>(it)) [[likely]] {
  ------------------
  |  Branch (322:11): [True: 9.05k, False: 8]
  |  Branch (322:52): [True: 9.01k, False: 40]
  ------------------
  323|  9.01k|         it += Length;
  324|       |         if constexpr (not Opts.null_terminated) {
  325|       |            if (it == end) [[unlikely]] {
  326|       |               ctx.error = error_code::unexpected_end;
  327|       |               return;
  328|       |            }
  329|       |         }
  330|       |
  331|  9.01k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (331:14): [True: 0, False: 9.01k]
  ------------------
  332|      0|            return;
  333|      0|         }
  334|  9.01k|         if (match_invalid_end<':', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (334:14): [True: 20, False: 8.99k]
  ------------------
  335|     20|            return;
  336|     20|         }
  337|  8.99k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (337:14): [True: 0, False: 8.99k]
  ------------------
  338|      0|            return;
  339|      0|         }
  340|       |
  341|       |         // The hash path has already consumed the whitespace before the value
  342|  8.99k|         decode_field_value<Opts, ws_handled<Opts>(), T, I>(value, ctx, it, end, selected_index...);
  343|  8.99k|      }
  344|     48|      else [[unlikely]] {
  345|     48|         decode_index_unknown_key<Opts, T>(value, ctx, it, end);
  346|     48|      }
  347|  9.06k|   }
_ZN3glz18decode_field_valueITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEETnDaXtlS1_Lj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEE9my_structLm3ERS2_JETkNS_10is_contextERNS_7contextERPKcS8_Qoo14glaze_object_tIT1_E11reflectableIS9_EEEvOT3_OT5_OT6_OT7_DpOT4_:
  247|  8.99k|   {
  248|       |      // Check for null value skipping on read
  249|       |      if constexpr (check_skip_null_members_on_read(Opts)) {
  250|       |         if (*it == 'n') {
  251|       |            ++it;
  252|       |            if constexpr (not Opts.null_terminated) {
  253|       |               if (it == end) [[unlikely]] {
  254|       |                  ctx.error = error_code::unexpected_end;
  255|       |                  return;
  256|       |               }
  257|       |            }
  258|       |            match<"ull", Opts>(ctx, it, end);
  259|       |            if (bool(ctx.error)) [[unlikely]]
  260|       |               return;
  261|       |            // Successfully matched "null", skip it
  262|       |            if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  263|       |               ((selected_index = I), ...); // Mark as handled even if skipped
  264|       |            }
  265|       |            return;
  266|       |         }
  267|       |      }
  268|       |
  269|       |      if constexpr (skipped_by_meta<T, I, operation::parse>) {
  270|       |         skip_value<JSON>::op<Opts>(ctx, it, end);
  271|       |         if (bool(ctx.error)) [[unlikely]]
  272|       |            return; // Propagate error from skip_value
  273|       |      }
  274|  8.99k|      else {
  275|  8.99k|         using V = refl_t<T, I>;
  276|       |
  277|       |         if constexpr (const_value_v<V>) {
  278|       |            if constexpr (check_error_on_const_read(Opts)) {
  279|       |               ctx.error = error_code::attempt_const_read;
  280|       |            }
  281|       |            else {
  282|       |               // do not read anything into the const value
  283|       |               skip_value<JSON>::op<Opts>(ctx, it, end);
  284|       |            }
  285|       |         }
  286|       |         else if constexpr (is_function_ptr_or_ref<V>) {
  287|       |            // Function pointers cannot be deserialized from JSON.
  288|       |            // When write_function_pointers is enabled the writer emits a type-name string,
  289|       |            // but there is nothing meaningful to reconstruct on read — just skip the value.
  290|       |            // When write_function_pointers is off the key is never written, so this branch
  291|       |            // is unreachable in that case.
  292|       |            skip_value<JSON>::op<Opts>(ctx, it, end);
  293|       |         }
  294|       |         else if constexpr (glaze_object_t<T>) {
  295|       |            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(reflect<T>::values)),
  296|       |                                                                       ctx, it, end);
  297|       |         }
  298|  8.99k|         else {
  299|  8.99k|            from<JSON, std::remove_cvref_t<V>>::template op<FieldOpts>(get_member(value, get<I>(to_tie(value))), ctx,
  300|  8.99k|                                                                       it, end);
  301|  8.99k|         }
  302|  8.99k|      }
  303|       |
  304|       |      // The key was present and handled, even when the value itself was skipped
  305|       |      if constexpr (Opts.error_on_missing_keys || Opts.partial_read) {
  306|       |         ((selected_index = I), ...);
  307|       |      }
  308|  8.99k|   }
_ZN3glz4fromILj10ENSt3__15arrayImLm3EEEE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERS3_TkNS_10is_contextERNS_7contextERPKcSB_EEvOT0_OT1_OT2_T3_:
 2051|  8.99k|      {
 2052|  8.99k|         constexpr auto Opts = ws_handled_off<Options>();
 2053|       |         if constexpr (!check_ws_handled(Options)) {
 2054|       |            if (skip_ws<Opts>(ctx, it, end)) {
 2055|       |               return;
 2056|       |            }
 2057|       |         }
 2058|       |
 2059|  8.99k|         if (match_invalid_end<'[', Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2059:14): [True: 41, False: 8.95k]
  ------------------
 2060|     41|            return;
 2061|     41|         }
 2062|       |         // one nesting level (see enter_depth): counted in both modes so the limit binds,
 2063|       |         // released at each syntactic close below
 2064|  8.95k|         if (enter_depth(ctx)) [[unlikely]] {
  ------------------
  |  Branch (2064:14): [True: 0, False: 8.95k]
  ------------------
 2065|      0|            return;
 2066|      0|         }
 2067|       |
 2068|  8.95k|         const auto ws_start = it;
 2069|  8.95k|         if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2069:14): [True: 0, False: 8.95k]
  ------------------
 2070|      0|            return;
 2071|      0|         }
 2072|       |
 2073|  8.95k|         if (*it == ']') {
  ------------------
  |  Branch (2073:14): [True: 766, False: 8.18k]
  ------------------
 2074|    766|            --ctx.depth;
 2075|    766|            ++it;
 2076|       |            if constexpr ((resizable<T> || is_inplace_vector<T>) && not check_append_arrays(Opts)) {
 2077|       |               value.clear();
 2078|       |
 2079|       |               if constexpr (check_shrink_to_fit(Opts) && has_shrink_to_fit<T>) {
 2080|       |                  value.shrink_to_fit();
 2081|       |               }
 2082|       |            }
 2083|    766|            return;
 2084|    766|         }
 2085|       |
 2086|  8.18k|         const size_t ws_size = size_t(it - ws_start);
 2087|       |
 2088|  8.18k|         static constexpr bool should_append = (resizable<T> || is_inplace_vector<T>) && check_append_arrays(Opts);
  ------------------
  |  Branch (2088:49): [Folded, False: 0]
  |  Branch (2088:65): [Folded, False: 0]
  |  Branch (2088:90): [Folded, False: 0]
  ------------------
 2089|  8.18k|         if constexpr (not should_append) {
 2090|  8.18k|            const auto n = value.size();
 2091|       |
 2092|  8.18k|            auto value_it = value.begin();
 2093|       |
 2094|  18.4k|            for (size_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2094:32): [True: 18.4k, False: 37]
  ------------------
 2095|  18.4k|               parse<JSON>::op<ws_handled<Opts>()>(*value_it++, ctx, it, end);
 2096|  18.4k|               if (bool(ctx.error)) [[unlikely]]
  ------------------
  |  Branch (2096:20): [True: 756, False: 17.6k]
  ------------------
 2097|    756|                  return;
 2098|  17.6k|               if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2098:20): [True: 0, False: 17.6k]
  ------------------
 2099|      0|                  return;
 2100|      0|               }
 2101|  17.6k|               if (*it == ',') {
  ------------------
  |  Branch (2101:20): [True: 10.2k, False: 7.39k]
  ------------------
 2102|  10.2k|                  ++it;
 2103|       |
 2104|  10.2k|                  if constexpr (!Opts.minified && !Opts.comments) {
 2105|  10.2k|                     if (ws_size && ws_size < size_t(end - it)) {
  ------------------
  |  Branch (2105:26): [True: 2.21k, False: 8.07k]
  |  Branch (2105:37): [True: 2.15k, False: 69]
  ------------------
 2106|  2.15k|                        skip_matching_ws(ws_start, it, ws_size);
 2107|  2.15k|                     }
 2108|  10.2k|                  }
 2109|       |
 2110|  10.2k|                  if (skip_ws<Opts>(ctx, it, end)) {
  ------------------
  |  Branch (2110:23): [True: 0, False: 10.2k]
  ------------------
 2111|      0|                     return;
 2112|      0|                  }
 2113|  10.2k|               }
 2114|  7.39k|               else if (*it == ']') {
  ------------------
  |  Branch (2114:25): [True: 6.78k, False: 603]
  ------------------
 2115|  6.78k|                  --ctx.depth;
 2116|  6.78k|                  ++it;
 2117|       |                  if constexpr (erasable<T>) {
 2118|       |                     value.erase(value_it,
 2119|       |                                 value.end()); // use erase rather than resize for non-default constructible elements
 2120|       |
 2121|       |                     if constexpr (check_shrink_to_fit(Opts) && has_shrink_to_fit<T>) {
 2122|       |                        value.shrink_to_fit();
 2123|       |                     }
 2124|       |                  }
 2125|  6.78k|                  return;
 2126|  6.78k|               }
 2127|    603|               else [[unlikely]] {
 2128|    603|                  ctx.error = error_code::expected_bracket;
 2129|    603|                  return;
 2130|    603|               }
 2131|  17.6k|            }
 2132|  8.18k|         }
 2133|       |
 2134|       |         if constexpr (Opts.partial_read) {
 2135|       |            // partial_read stops early on a success path, so give the level back like the
 2136|       |            // syntactic-close paths do; otherwise it accumulates across reads sharing a context.
 2137|       |            --ctx.depth;
 2138|       |            return;
 2139|       |         }
 2140|  8.18k|         else {
 2141|       |            // growing
 2142|       |            if constexpr (emplace_backable<T> || has_try_emplace_back<T>) {
 2143|       |               while (it < end) {
 2144|       |                  // Streaming refill point: at start of each iteration, ensure buffer has data
 2145|       |                  if constexpr (has_streaming_state<decltype(ctx)>) {
 2146|       |                     if (ctx.stream.enabled()) {
 2147|       |                        const size_t consumed = static_cast<size_t>(it - ctx.stream.data());
 2148|       |                        const size_t remaining = ctx.stream.size() - consumed;
 2149|       |                        // Refill when less than half of buffer remains to ensure space for next element
 2150|       |                        if (remaining <= ctx.stream.size() / 2 || it >= end) {
 2151|       |                           const char* new_it;
 2152|       |                           const char* new_end;
 2153|       |                           ctx.stream.consume_and_refill(consumed, new_it, new_end);
 2154|       |                           it = new_it;
 2155|       |                           end = new_end;
 2156|       |                           if (it >= end && ctx.stream.at_eof()) {
 2157|       |                              break; // No more data, exit loop normally
 2158|       |                           }
 2159|       |                        }
 2160|       |                     }
 2161|       |                  }
 2162|       |
 2163|       |                  if constexpr (has_try_emplace_back<T>) {
 2164|       |                     if (value.try_emplace_back())
 2165|       |                        parse<JSON>::op<ws_handled<Opts>()>(value.back(), ctx, it, end);
 2166|       |                     else
 2167|       |                        ctx.error = error_code::exceeded_static_array_size;
 2168|       |                  }
 2169|       |                  else {
 2170|       |                     parse<JSON>::op<ws_handled<Opts>()>(value.emplace_back(), ctx, it, end);
 2171|       |                  }
 2172|       |
 2173|       |                  if (bool(ctx.error)) [[unlikely]]
 2174|       |                     return;
 2175|       |
 2176|       |                  // Streaming refill point: after parsing each element, refill if buffer is low
 2177|       |                  if constexpr (has_streaming_state<decltype(ctx)>) {
 2178|       |                     if (ctx.stream.enabled()) {
 2179|       |                        const size_t consumed = static_cast<size_t>(it - ctx.stream.data());
 2180|       |                        // Refill when less than 25% of buffer remains to ensure enough space for next element
 2181|       |                        if (ctx.stream.size() - consumed <= ctx.stream.size() / 4 || it >= end) {
 2182|       |                           const char* new_it;
 2183|       |                           const char* new_end;
 2184|       |                           ctx.stream.consume_and_refill(consumed, new_it, new_end);
 2185|       |                           it = new_it;
 2186|       |                           end = new_end;
 2187|       |                           if (it >= end && ctx.stream.at_eof()) {
 2188|       |                              ctx.error = error_code::unexpected_end;
 2189|       |                              return;
 2190|       |                           }
 2191|       |                        }
 2192|       |                     }
 2193|       |                  }
 2194|       |
 2195|       |                  if (skip_ws<Opts>(ctx, it, end)) {
 2196|       |                     return;
 2197|       |                  }
 2198|       |                  if (*it == ',') [[likely]] {
 2199|       |                     ++it;
 2200|       |
 2201|       |                     if constexpr (!Opts.minified && !Opts.comments) {
 2202|       |                        if (ws_size && ws_size < size_t(end - it)) {
 2203|       |                           skip_matching_ws(ws_start, it, ws_size);
 2204|       |                        }
 2205|       |                     }
 2206|       |
 2207|       |                     if (skip_ws<Opts>(ctx, it, end)) {
 2208|       |                        return;
 2209|       |                     }
 2210|       |                  }
 2211|       |                  else if (*it == ']') {
 2212|       |                     --ctx.depth;
 2213|       |                     ++it;
 2214|       |                     if constexpr (check_shrink_to_fit(Opts) && has_shrink_to_fit<T>) {
 2215|       |                        value.shrink_to_fit();
 2216|       |                     }
 2217|       |                     return;
 2218|       |                  }
 2219|       |                  else [[unlikely]] {
 2220|       |                     ctx.error = error_code::expected_bracket;
 2221|       |                     return;
 2222|       |                  }
 2223|       |               }
 2224|       |
 2225|       |               // A valid array always returns from inside the loop upon reaching ']'.
 2226|       |               // For a null-terminated buffer the loop can only exit here by falling
 2227|       |               // through when `it` reaches the terminator without a closing bracket,
 2228|       |               // which means the input was truncated (e.g. "[", "[1," or "[1,2,").
 2229|       |               // Non-null-terminated buffers surface this through skip_ws/depth
 2230|       |               // tracking (or the streaming refill break), so this guard is limited
 2231|       |               // to the null-terminated case.
 2232|       |               if constexpr (Opts.null_terminated) {
 2233|       |                  ctx.error = error_code::unexpected_end;
 2234|       |               }
 2235|       |            }
 2236|  8.18k|            else {
 2237|  8.18k|               ctx.error = error_code::exceeded_static_array_size;
 2238|  8.18k|            }
 2239|  8.18k|         }
 2240|  8.18k|      }
_ZN3glz5parseILj10EE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERmTkNS_10is_contextERNS_7contextERPKcS8_EEvOT0_OT1_OT2_T3_:
   50|  18.4k|      {
   51|       |         if constexpr (const_value_v<T>) {
   52|       |            if constexpr (check_error_on_const_read(Opts)) {
   53|       |               ctx.error = error_code::attempt_const_read;
   54|       |            }
   55|       |            else {
   56|       |               // do not read anything into the const value
   57|       |               skip_value<JSON>::op<Opts>(std::forward<Ctx>(ctx), std::forward<It0>(it), end);
   58|       |            }
   59|       |         }
   60|  18.4k|         else {
   61|  18.4k|            using V = std::remove_cvref_t<T>;
   62|  18.4k|            from<JSON, V>::template op<Opts>(std::forward<T>(value), std::forward<Ctx>(ctx), std::forward<It0>(it),
   63|  18.4k|                                             end);
   64|  18.4k|         }
   65|  18.4k|      }
_ZN3glz4fromILj10EmE2opITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEERPKcRmTkNS_10is_contextERNS_7contextES5_EEvOT1_OT2_OT0_T3_:
  764|  18.4k|      {
  765|       |         if constexpr (check_quoted_num(Opts)) {
  766|       |            if (skip_ws<Opts>(ctx, it, end)) {
  767|       |               return;
  768|       |            }
  769|       |            if (match_invalid_end<'"', Opts>(ctx, it, end)) {
  770|       |               return;
  771|       |            }
  772|       |         }
  773|       |
  774|       |         if constexpr (!check_ws_handled(Opts)) {
  775|       |            if (skip_ws<Opts>(ctx, it, end)) {
  776|       |               return;
  777|       |            }
  778|       |         }
  779|       |
  780|  18.4k|         using V = std::decay_t<decltype(value)>;
  781|  18.4k|         if constexpr (int_t<V>) {
  782|  18.4k|            static_assert(sizeof(*it) == sizeof(char));
  783|       |
  784|  18.4k|            if constexpr (Opts.null_terminated) {
  785|  18.4k|               if (not glz::atoi(value, it)) [[unlikely]] {
  ------------------
  |  Branch (785:20): [True: 756, False: 17.6k]
  ------------------
  786|    756|                  ctx.error = error_code::parse_number_failure;
  787|    756|                  return;
  788|    756|               }
  789|       |            }
  790|       |            else {
  791|       |               if (not glz::atoi(value, it, end)) [[unlikely]] {
  792|       |                  ctx.error = error_code::parse_number_failure;
  793|       |                  return;
  794|       |               }
  795|       |            }
  796|       |         }
  797|       |         else {
  798|       |// float128_t requires std::from_chars for floating-point, unavailable on older Apple platforms (iOS < 16.3)
  799|       |#if !defined(_LIBCPP_VERSION) || defined(_LIBCPP_AVAILABILITY_HAS_TO_CHARS_FLOATING_POINT)
  800|       |            if constexpr (is_float128<V>) {
  801|       |               auto [ptr, ec] = std::from_chars(it, end, value);
  802|       |               if (ec != std::errc()) {
  803|       |                  ctx.error = error_code::parse_number_failure;
  804|       |                  return;
  805|       |               }
  806|       |               it = ptr;
  807|       |            }
  808|       |            else
  809|       |#endif
  810|       |            {
  811|       |               if constexpr (std::is_volatile_v<std::remove_reference_t<decltype(value)>>) {
  812|       |                  // Hardware may interact with value changes, so we parse into a temporary and assign in one
  813|       |                  // place
  814|       |                  V temp;
  815|       |                  if constexpr (is_size_optimized(Opts)) {
  816|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, temp);
  817|       |                     if (ec != std::errc{}) [[unlikely]] {
  818|       |                        ctx.error = error_code::parse_number_failure;
  819|       |                        return;
  820|       |                     }
  821|       |                     it = ptr;
  822|       |                  }
  823|       |                  else {
  824|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, temp);
  825|       |                     if (ec != std::errc()) [[unlikely]] {
  826|       |                        ctx.error = error_code::parse_number_failure;
  827|       |                        return;
  828|       |                     }
  829|       |                     it = ptr;
  830|       |                  }
  831|       |                  value = temp;
  832|       |               }
  833|       |               else {
  834|       |                  if constexpr (is_size_optimized(Opts)) {
  835|       |                     auto [ptr, ec] = simple_float::from_chars<Opts.null_terminated>(it, end, value);
  836|       |                     if (ec != std::errc{}) [[unlikely]] {
  837|       |                        ctx.error = error_code::parse_number_failure;
  838|       |                        return;
  839|       |                     }
  840|       |                     it = ptr;
  841|       |                  }
  842|       |                  else {
  843|       |                     auto [ptr, ec] = glz::from_chars<Opts.null_terminated>(it, end, value);
  844|       |                     if (ec != std::errc()) [[unlikely]] {
  845|       |                        ctx.error = error_code::parse_number_failure;
  846|       |                        return;
  847|       |                     }
  848|       |                     it = ptr;
  849|       |                  }
  850|       |               }
  851|       |            }
  852|       |         }
  853|       |
  854|       |         if constexpr (check_quoted_num(Opts)) {
  855|       |            if constexpr (not Opts.null_terminated) {
  856|       |               if (it == end) [[unlikely]] {
  857|       |                  ctx.error = error_code::unexpected_end;
  858|       |                  return;
  859|       |               }
  860|       |            }
  861|       |            if (match<'"'>(ctx, it)) {
  862|       |               return;
  863|       |            }
  864|       |            if constexpr (not Opts.null_terminated) {
  865|       |               if (it == end) {
  866|       |                  ctx.error = error_code::end_reached;
  867|       |                  return;
  868|       |               }
  869|       |            }
  870|       |         }
  871|  18.4k|         else {
  872|       |            if constexpr (not Opts.null_terminated) {
  873|       |               if (it == end) {
  874|       |                  ctx.error = error_code::end_reached;
  875|       |                  return;
  876|       |               }
  877|       |            }
  878|  18.4k|         }
  879|  18.4k|      }

_ZN3glz6to_tieIR9my_structLm4EQleT0_L_ZNS_6detail25max_pure_reflection_countEEEEDcOT_:
  232|  76.7k|   {
  233|       |      if constexpr (N == 0) {
  234|       |         return tuple{};
  235|       |      }
  236|       |      else if constexpr (N == 1) {
  237|       |         auto& [p] = t;
  238|       |         return glz::tie(p);
  239|       |      }
  240|       |      else if constexpr (N == 2) {
  241|       |         auto& [p0, p1] = t;
  242|       |         return glz::tie(p0, p1);
  243|       |      }
  244|       |      else if constexpr (N == 3) {
  245|       |         auto& [p0, p1, p2] = t;
  246|       |         return glz::tie(p0, p1, p2);
  247|       |      }
  248|  76.7k|      else if constexpr (N == 4) {
  249|  76.7k|         auto& [p0, p1, p2, p3] = t;
  250|  76.7k|         return glz::tie(p0, p1, p2, p3);
  251|       |      }
  252|       |      else if constexpr (N == 5) {
  253|       |         auto& [p0, p1, p2, p3, p4] = t;
  254|       |         return glz::tie(p0, p1, p2, p3, p4);
  255|       |      }
  256|       |      else if constexpr (N == 6) {
  257|       |         auto& [p0, p1, p2, p3, p4, p5] = t;
  258|       |         return glz::tie(p0, p1, p2, p3, p4, p5);
  259|       |      }
  260|       |      else if constexpr (N == 7) {
  261|       |         auto& [p0, p1, p2, p3, p4, p5, p6] = t;
  262|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6);
  263|       |      }
  264|       |      else if constexpr (N == 8) {
  265|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7] = t;
  266|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7);
  267|       |      }
  268|       |      else if constexpr (N == 9) {
  269|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8] = t;
  270|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8);
  271|       |      }
  272|       |      else if constexpr (N == 10) {
  273|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9] = t;
  274|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9);
  275|       |      }
  276|       |      else if constexpr (N == 11) {
  277|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10] = t;
  278|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10);
  279|       |      }
  280|       |      else if constexpr (N == 12) {
  281|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11] = t;
  282|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11);
  283|       |      }
  284|       |      else if constexpr (N == 13) {
  285|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12] = t;
  286|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12);
  287|       |      }
  288|       |      else if constexpr (N == 14) {
  289|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13] = t;
  290|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13);
  291|       |      }
  292|       |      else if constexpr (N == 15) {
  293|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14] = t;
  294|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14);
  295|       |      }
  296|       |      else if constexpr (N == 16) {
  297|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15] = t;
  298|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15);
  299|       |      }
  300|       |      else if constexpr (N == 17) {
  301|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16] = t;
  302|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16);
  303|       |      }
  304|       |      else if constexpr (N == 18) {
  305|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17] = t;
  306|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17);
  307|       |      }
  308|       |      else if constexpr (N == 19) {
  309|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18] = t;
  310|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18);
  311|       |      }
  312|       |      else if constexpr (N == 20) {
  313|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19] = t;
  314|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19);
  315|       |      }
  316|       |      else if constexpr (N == 21) {
  317|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20] = t;
  318|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20);
  319|       |      }
  320|       |      else if constexpr (N == 22) {
  321|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21] = t;
  322|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  323|       |                         p21);
  324|       |      }
  325|       |      else if constexpr (N == 23) {
  326|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21,
  327|       |                p22] = t;
  328|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  329|       |                         p21, p22);
  330|       |      }
  331|       |      else if constexpr (N == 24) {
  332|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  333|       |                p23] = t;
  334|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  335|       |                         p21, p22, p23);
  336|       |      }
  337|       |      else if constexpr (N == 25) {
  338|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  339|       |                p23, p24] = t;
  340|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  341|       |                         p21, p22, p23, p24);
  342|       |      }
  343|       |      else if constexpr (N == 26) {
  344|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  345|       |                p23, p24, p25] = t;
  346|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  347|       |                         p21, p22, p23, p24, p25);
  348|       |      }
  349|       |      else if constexpr (N == 27) {
  350|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  351|       |                p23, p24, p25, p26] = t;
  352|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  353|       |                         p21, p22, p23, p24, p25, p26);
  354|       |      }
  355|       |      else if constexpr (N == 28) {
  356|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  357|       |                p23, p24, p25, p26, p27] = t;
  358|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  359|       |                         p21, p22, p23, p24, p25, p26, p27);
  360|       |      }
  361|       |      else if constexpr (N == 29) {
  362|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  363|       |                p23, p24, p25, p26, p27, p28] = t;
  364|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  365|       |                         p21, p22, p23, p24, p25, p26, p27, p28);
  366|       |      }
  367|       |      else if constexpr (N == 30) {
  368|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  369|       |                p23, p24, p25, p26, p27, p28, p29] = t;
  370|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  371|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29);
  372|       |      }
  373|       |      else if constexpr (N == 31) {
  374|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  375|       |                p23, p24, p25, p26, p27, p28, p29, p30] = t;
  376|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  377|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30);
  378|       |      }
  379|       |      else if constexpr (N == 32) {
  380|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  381|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31] = t;
  382|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  383|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31);
  384|       |      }
  385|       |      else if constexpr (N == 33) {
  386|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  387|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32] = t;
  388|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  389|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32);
  390|       |      }
  391|       |      else if constexpr (N == 34) {
  392|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  393|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33] = t;
  394|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  395|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33);
  396|       |      }
  397|       |      else if constexpr (N == 35) {
  398|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  399|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34] = t;
  400|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  401|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34);
  402|       |      }
  403|       |      else if constexpr (N == 36) {
  404|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  405|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35] = t;
  406|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  407|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35);
  408|       |      }
  409|       |      else if constexpr (N == 37) {
  410|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  411|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36] = t;
  412|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  413|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36);
  414|       |      }
  415|       |      else if constexpr (N == 38) {
  416|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  417|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37] = t;
  418|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  419|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37);
  420|       |      }
  421|       |      else if constexpr (N == 39) {
  422|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  423|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38] = t;
  424|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  425|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38);
  426|       |      }
  427|       |      else if constexpr (N == 40) {
  428|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  429|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39] = t;
  430|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  431|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39);
  432|       |      }
  433|       |      else if constexpr (N == 41) {
  434|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  435|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40] = t;
  436|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  437|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  438|       |                         p40);
  439|       |      }
  440|       |      else if constexpr (N == 42) {
  441|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  442|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41] = t;
  443|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  444|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  445|       |                         p40, p41);
  446|       |      }
  447|       |      else if constexpr (N == 43) {
  448|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  449|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42] = t;
  450|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  451|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  452|       |                         p40, p41, p42);
  453|       |      }
  454|       |      else if constexpr (N == 44) {
  455|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  456|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42,
  457|       |                p43] = t;
  458|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  459|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  460|       |                         p40, p41, p42, p43);
  461|       |      }
  462|       |      else if constexpr (N == 45) {
  463|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  464|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  465|       |                p44] = t;
  466|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  467|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  468|       |                         p40, p41, p42, p43, p44);
  469|       |      }
  470|       |      else if constexpr (N == 46) {
  471|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  472|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  473|       |                p44, p45] = t;
  474|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  475|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  476|       |                         p40, p41, p42, p43, p44, p45);
  477|       |      }
  478|       |      else if constexpr (N == 47) {
  479|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  480|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  481|       |                p44, p45, p46] = t;
  482|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  483|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  484|       |                         p40, p41, p42, p43, p44, p45, p46);
  485|       |      }
  486|       |      else if constexpr (N == 48) {
  487|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  488|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  489|       |                p44, p45, p46, p47] = t;
  490|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  491|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  492|       |                         p40, p41, p42, p43, p44, p45, p46, p47);
  493|       |      }
  494|       |      else if constexpr (N == 49) {
  495|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  496|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  497|       |                p44, p45, p46, p47, p48] = t;
  498|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  499|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  500|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48);
  501|       |      }
  502|       |      else if constexpr (N == 50) {
  503|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  504|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  505|       |                p44, p45, p46, p47, p48, p49] = t;
  506|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  507|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  508|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49);
  509|       |      }
  510|       |      else if constexpr (N == 51) {
  511|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  512|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  513|       |                p44, p45, p46, p47, p48, p49, p50] = t;
  514|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  515|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  516|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50);
  517|       |      }
  518|       |      else if constexpr (N == 52) {
  519|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  520|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  521|       |                p44, p45, p46, p47, p48, p49, p50, p51] = t;
  522|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  523|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  524|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51);
  525|       |      }
  526|       |      else if constexpr (N == 53) {
  527|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  528|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  529|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52] = t;
  530|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  531|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  532|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52);
  533|       |      }
  534|       |      else if constexpr (N == 54) {
  535|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  536|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  537|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53] = t;
  538|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  539|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  540|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53);
  541|       |      }
  542|       |      else if constexpr (N == 55) {
  543|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  544|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  545|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54] = t;
  546|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  547|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  548|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54);
  549|       |      }
  550|       |      else if constexpr (N == 56) {
  551|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  552|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  553|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55] = t;
  554|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  555|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  556|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55);
  557|       |      }
  558|       |      else if constexpr (N == 57) {
  559|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  560|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  561|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56] = t;
  562|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  563|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  564|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56);
  565|       |      }
  566|       |      else if constexpr (N == 58) {
  567|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  568|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  569|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57] = t;
  570|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  571|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  572|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57);
  573|       |      }
  574|       |      else if constexpr (N == 59) {
  575|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  576|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  577|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58] = t;
  578|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  579|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  580|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58);
  581|       |      }
  582|       |      else if constexpr (N == 60) {
  583|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  584|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  585|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59] = t;
  586|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  587|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  588|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  589|       |                         p59);
  590|       |      }
  591|       |      else if constexpr (N == 61) {
  592|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  593|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  594|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60] = t;
  595|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  596|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  597|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  598|       |                         p59, p60);
  599|       |      }
  600|       |      else if constexpr (N == 62) {
  601|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  602|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  603|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61] = t;
  604|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  605|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  606|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  607|       |                         p59, p60, p61);
  608|       |      }
  609|       |      else if constexpr (N == 63) {
  610|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  611|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  612|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62] = t;
  613|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  614|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  615|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  616|       |                         p59, p60, p61, p62);
  617|       |      }
  618|       |      else if constexpr (N == 64) {
  619|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  620|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  621|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63] = t;
  622|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  623|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  624|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  625|       |                         p59, p60, p61, p62, p63);
  626|       |      }
  627|       |      else if constexpr (N == 65) {
  628|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  629|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  630|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63,
  631|       |                p64] = t;
  632|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  633|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  634|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  635|       |                         p59, p60, p61, p62, p63, p64);
  636|       |      }
  637|       |      else if constexpr (N == 66) {
  638|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  639|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  640|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  641|       |                p65] = t;
  642|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  643|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  644|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  645|       |                         p59, p60, p61, p62, p63, p64, p65);
  646|       |      }
  647|       |      else if constexpr (N == 67) {
  648|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  649|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  650|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  651|       |                p65, p66] = t;
  652|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  653|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  654|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  655|       |                         p59, p60, p61, p62, p63, p64, p65, p66);
  656|       |      }
  657|       |      else if constexpr (N == 68) {
  658|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  659|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  660|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  661|       |                p65, p66, p67] = t;
  662|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  663|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  664|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  665|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67);
  666|       |      }
  667|       |      else if constexpr (N == 69) {
  668|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  669|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  670|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  671|       |                p65, p66, p67, p68] = t;
  672|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  673|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  674|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  675|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68);
  676|       |      }
  677|       |      else if constexpr (N == 70) {
  678|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  679|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  680|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  681|       |                p65, p66, p67, p68, p69] = t;
  682|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  683|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  684|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  685|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69);
  686|       |      }
  687|       |      else if constexpr (N == 71) {
  688|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  689|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  690|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  691|       |                p65, p66, p67, p68, p69, p70] = t;
  692|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  693|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  694|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  695|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70);
  696|       |      }
  697|       |      else if constexpr (N == 72) {
  698|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  699|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  700|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  701|       |                p65, p66, p67, p68, p69, p70, p71] = t;
  702|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  703|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  704|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  705|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71);
  706|       |      }
  707|       |      else if constexpr (N == 73) {
  708|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  709|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  710|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  711|       |                p65, p66, p67, p68, p69, p70, p71, p72] = t;
  712|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  713|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  714|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  715|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72);
  716|       |      }
  717|       |      else if constexpr (N == 74) {
  718|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  719|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  720|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  721|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73] = t;
  722|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  723|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  724|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  725|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73);
  726|       |      }
  727|       |      else if constexpr (N == 75) {
  728|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  729|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  730|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  731|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74] = t;
  732|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  733|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  734|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  735|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74);
  736|       |      }
  737|       |      else if constexpr (N == 76) {
  738|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  739|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  740|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  741|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75] = t;
  742|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  743|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  744|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  745|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75);
  746|       |      }
  747|       |      else if constexpr (N == 77) {
  748|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  749|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  750|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  751|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76] = t;
  752|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  753|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  754|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  755|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76);
  756|       |      }
  757|       |      else if constexpr (N == 78) {
  758|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  759|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  760|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  761|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77] = t;
  762|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  763|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  764|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  765|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77);
  766|       |      }
  767|       |      else if constexpr (N == 79) {
  768|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  769|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  770|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  771|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78] = t;
  772|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  773|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  774|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  775|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  776|       |                         p78);
  777|       |      }
  778|       |      else if constexpr (N == 80) {
  779|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  780|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  781|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  782|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79] = t;
  783|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  784|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  785|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  786|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  787|       |                         p78, p79);
  788|       |      }
  789|       |      else if constexpr (N == 81) {
  790|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  791|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  792|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  793|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80] = t;
  794|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  795|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  796|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  797|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  798|       |                         p78, p79, p80);
  799|       |      }
  800|       |      else if constexpr (N == 82) {
  801|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  802|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  803|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  804|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81] = t;
  805|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  806|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  807|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  808|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  809|       |                         p78, p79, p80, p81);
  810|       |      }
  811|       |      else if constexpr (N == 83) {
  812|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  813|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  814|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  815|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82] = t;
  816|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  817|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  818|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  819|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  820|       |                         p78, p79, p80, p81, p82);
  821|       |      }
  822|       |      else if constexpr (N == 84) {
  823|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  824|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  825|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  826|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83] = t;
  827|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  828|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  829|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  830|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  831|       |                         p78, p79, p80, p81, p82, p83);
  832|       |      }
  833|       |      else if constexpr (N == 85) {
  834|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  835|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  836|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  837|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84] = t;
  838|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  839|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  840|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  841|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  842|       |                         p78, p79, p80, p81, p82, p83, p84);
  843|       |      }
  844|       |      else if constexpr (N == 86) {
  845|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  846|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  847|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  848|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84,
  849|       |                p85] = t;
  850|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  851|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  852|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  853|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  854|       |                         p78, p79, p80, p81, p82, p83, p84, p85);
  855|       |      }
  856|       |      else if constexpr (N == 87) {
  857|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  858|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  859|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  860|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  861|       |                p86] = t;
  862|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  863|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  864|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  865|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  866|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86);
  867|       |      }
  868|       |      else if constexpr (N == 88) {
  869|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  870|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  871|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  872|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  873|       |                p86, p87] = t;
  874|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  875|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  876|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  877|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  878|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87);
  879|       |      }
  880|       |      else if constexpr (N == 89) {
  881|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  882|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  883|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  884|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  885|       |                p86, p87, p88] = t;
  886|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  887|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  888|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  889|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  890|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88);
  891|       |      }
  892|       |      else if constexpr (N == 90) {
  893|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  894|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  895|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  896|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  897|       |                p86, p87, p88, p89] = t;
  898|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  899|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  900|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  901|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  902|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89);
  903|       |      }
  904|       |      else if constexpr (N == 91) {
  905|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  906|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  907|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  908|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  909|       |                p86, p87, p88, p89, p90] = t;
  910|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  911|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  912|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  913|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  914|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90);
  915|       |      }
  916|       |      else if constexpr (N == 92) {
  917|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  918|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  919|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  920|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  921|       |                p86, p87, p88, p89, p90, p91] = t;
  922|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  923|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  924|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  925|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  926|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91);
  927|       |      }
  928|       |      else if constexpr (N == 93) {
  929|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  930|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  931|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  932|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  933|       |                p86, p87, p88, p89, p90, p91, p92] = t;
  934|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  935|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  936|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  937|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  938|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92);
  939|       |      }
  940|       |      else if constexpr (N == 94) {
  941|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  942|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  943|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  944|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  945|       |                p86, p87, p88, p89, p90, p91, p92, p93] = t;
  946|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  947|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  948|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  949|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  950|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93);
  951|       |      }
  952|       |      else if constexpr (N == 95) {
  953|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  954|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  955|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  956|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  957|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94] = t;
  958|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  959|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  960|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  961|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  962|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94);
  963|       |      }
  964|       |      else if constexpr (N == 96) {
  965|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  966|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  967|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  968|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  969|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95] = t;
  970|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  971|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  972|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  973|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  974|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95);
  975|       |      }
  976|       |      else if constexpr (N == 97) {
  977|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  978|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  979|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  980|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  981|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96] = t;
  982|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  983|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  984|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  985|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  986|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96);
  987|       |      }
  988|       |      else if constexpr (N == 98) {
  989|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
  990|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
  991|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
  992|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
  993|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97] = t;
  994|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
  995|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
  996|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
  997|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
  998|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
  999|       |                         p97);
 1000|       |      }
 1001|       |      else if constexpr (N == 99) {
 1002|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1003|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1004|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1005|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1006|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98] = t;
 1007|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1008|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1009|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1010|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1011|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1012|       |                         p97, p98);
 1013|       |      }
 1014|       |      else if constexpr (N == 100) {
 1015|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1016|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1017|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1018|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1019|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99] = t;
 1020|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1021|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1022|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1023|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1024|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1025|       |                         p97, p98, p99);
 1026|       |      }
 1027|       |      else if constexpr (N == 101) {
 1028|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1029|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1030|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1031|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1032|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100] = t;
 1033|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1034|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1035|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1036|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1037|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1038|       |                         p97, p98, p99, p100);
 1039|       |      }
 1040|       |      else if constexpr (N == 102) {
 1041|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1042|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1043|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1044|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1045|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101] = t;
 1046|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1047|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1048|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1049|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1050|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1051|       |                         p97, p98, p99, p100, p101);
 1052|       |      }
 1053|       |      else if constexpr (N == 103) {
 1054|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1055|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1056|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1057|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1058|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102] = t;
 1059|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1060|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1061|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1062|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1063|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1064|       |                         p97, p98, p99, p100, p101, p102);
 1065|       |      }
 1066|       |      else if constexpr (N == 104) {
 1067|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1068|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1069|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1070|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1071|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103] = t;
 1072|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1073|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1074|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1075|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1076|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1077|       |                         p97, p98, p99, p100, p101, p102, p103);
 1078|       |      }
 1079|       |      else if constexpr (N == 105) {
 1080|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1081|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1082|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1083|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1084|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104] = t;
 1085|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1086|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1087|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1088|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1089|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1090|       |                         p97, p98, p99, p100, p101, p102, p103, p104);
 1091|       |      }
 1092|       |      else if constexpr (N == 106) {
 1093|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1094|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1095|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1096|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1097|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1098|       |                p105] = t;
 1099|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1100|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1101|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1102|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1103|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1104|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105);
 1105|       |      }
 1106|       |      else if constexpr (N == 107) {
 1107|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1108|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1109|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1110|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1111|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1112|       |                p105, p106] = t;
 1113|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1114|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1115|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1116|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1117|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1118|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106);
 1119|       |      }
 1120|       |      else if constexpr (N == 108) {
 1121|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1122|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1123|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1124|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1125|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1126|       |                p105, p106, p107] = t;
 1127|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1128|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1129|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1130|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1131|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1132|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107);
 1133|       |      }
 1134|       |      else if constexpr (N == 109) {
 1135|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1136|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1137|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1138|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1139|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1140|       |                p105, p106, p107, p108] = t;
 1141|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1142|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1143|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1144|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1145|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1146|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108);
 1147|       |      }
 1148|       |      else if constexpr (N == 110) {
 1149|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1150|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1151|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1152|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1153|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1154|       |                p105, p106, p107, p108, p109] = t;
 1155|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1156|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1157|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1158|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1159|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1160|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109);
 1161|       |      }
 1162|       |      else if constexpr (N == 111) {
 1163|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1164|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1165|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1166|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1167|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1168|       |                p105, p106, p107, p108, p109, p110] = t;
 1169|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1170|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1171|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1172|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1173|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1174|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110);
 1175|       |      }
 1176|       |      else if constexpr (N == 112) {
 1177|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1178|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1179|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1180|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1181|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1182|       |                p105, p106, p107, p108, p109, p110, p111] = t;
 1183|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1184|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1185|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1186|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1187|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1188|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111);
 1189|       |      }
 1190|       |      else if constexpr (N == 113) {
 1191|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1192|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1193|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1194|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1195|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1196|       |                p105, p106, p107, p108, p109, p110, p111, p112] = t;
 1197|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1198|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1199|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1200|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1201|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1202|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112);
 1203|       |      }
 1204|       |      else if constexpr (N == 114) {
 1205|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1206|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1207|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1208|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1209|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1210|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113] = t;
 1211|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1212|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1213|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1214|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1215|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1216|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1217|       |                         p113);
 1218|       |      }
 1219|       |      else if constexpr (N == 115) {
 1220|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1221|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1222|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1223|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1224|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1225|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114] = t;
 1226|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1227|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1228|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1229|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1230|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1231|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1232|       |                         p113, p114);
 1233|       |      }
 1234|       |      else if constexpr (N == 116) {
 1235|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1236|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1237|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1238|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1239|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1240|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115] = t;
 1241|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1242|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1243|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1244|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1245|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1246|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1247|       |                         p113, p114, p115);
 1248|       |      }
 1249|       |      else if constexpr (N == 117) {
 1250|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1251|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1252|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1253|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1254|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1255|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116] = t;
 1256|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1257|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1258|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1259|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1260|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1261|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1262|       |                         p113, p114, p115, p116);
 1263|       |      }
 1264|       |      else if constexpr (N == 118) {
 1265|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1266|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1267|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1268|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1269|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1270|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117] = t;
 1271|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1272|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1273|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1274|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1275|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1276|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1277|       |                         p113, p114, p115, p116, p117);
 1278|       |      }
 1279|       |      else if constexpr (N == 119) {
 1280|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1281|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1282|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1283|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1284|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1285|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118] = t;
 1286|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1287|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1288|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1289|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1290|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1291|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1292|       |                         p113, p114, p115, p116, p117, p118);
 1293|       |      }
 1294|       |      else if constexpr (N == 120) {
 1295|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1296|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1297|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1298|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1299|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1300|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119] = t;
 1301|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1302|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1303|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1304|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1305|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1306|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1307|       |                         p113, p114, p115, p116, p117, p118, p119);
 1308|       |      }
 1309|       |      else if constexpr (N == 121) {
 1310|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1311|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1312|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1313|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1314|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1315|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119, p120] = t;
 1316|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1317|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1318|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1319|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1320|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1321|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1322|       |                         p113, p114, p115, p116, p117, p118, p119, p120);
 1323|       |      }
 1324|       |      else if constexpr (N == 122) {
 1325|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1326|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1327|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1328|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1329|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1330|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119, p120, p121] =
 1331|       |            t;
 1332|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1333|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1334|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1335|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1336|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1337|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1338|       |                         p113, p114, p115, p116, p117, p118, p119, p120, p121);
 1339|       |      }
 1340|       |      else if constexpr (N == 123) {
 1341|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1342|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1343|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1344|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1345|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1346|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119, p120, p121,
 1347|       |                p122] = t;
 1348|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1349|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1350|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1351|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1352|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1353|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1354|       |                         p113, p114, p115, p116, p117, p118, p119, p120, p121, p122);
 1355|       |      }
 1356|       |      else if constexpr (N == 124) {
 1357|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1358|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1359|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1360|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1361|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1362|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119, p120, p121,
 1363|       |                p122, p123] = t;
 1364|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1365|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1366|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1367|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1368|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1369|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1370|       |                         p113, p114, p115, p116, p117, p118, p119, p120, p121, p122, p123);
 1371|       |      }
 1372|       |      else if constexpr (N == 125) {
 1373|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1374|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1375|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1376|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1377|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1378|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119, p120, p121,
 1379|       |                p122, p123, p124] = t;
 1380|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1381|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1382|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1383|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1384|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1385|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1386|       |                         p113, p114, p115, p116, p117, p118, p119, p120, p121, p122, p123, p124);
 1387|       |      }
 1388|       |      else if constexpr (N == 126) {
 1389|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1390|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1391|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1392|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1393|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1394|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119, p120, p121,
 1395|       |                p122, p123, p124, p125] = t;
 1396|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1397|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1398|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1399|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1400|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1401|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1402|       |                         p113, p114, p115, p116, p117, p118, p119, p120, p121, p122, p123, p124, p125);
 1403|       |      }
 1404|       |      else if constexpr (N == 127) {
 1405|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1406|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1407|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1408|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1409|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1410|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119, p120, p121,
 1411|       |                p122, p123, p124, p125, p126] = t;
 1412|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1413|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1414|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1415|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1416|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1417|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1418|       |                         p113, p114, p115, p116, p117, p118, p119, p120, p121, p122, p123, p124, p125, p126);
 1419|       |      }
 1420|       |      else if constexpr (N == 128) {
 1421|       |         auto& [p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22,
 1422|       |                p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43,
 1423|       |                p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, p64,
 1424|       |                p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77, p78, p79, p80, p81, p82, p83, p84, p85,
 1425|       |                p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96, p97, p98, p99, p100, p101, p102, p103, p104,
 1426|       |                p105, p106, p107, p108, p109, p110, p111, p112, p113, p114, p115, p116, p117, p118, p119, p120, p121,
 1427|       |                p122, p123, p124, p125, p126, p127] = t;
 1428|       |         return glz::tie(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20,
 1429|       |                         p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39,
 1430|       |                         p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58,
 1431|       |                         p59, p60, p61, p62, p63, p64, p65, p66, p67, p68, p69, p70, p71, p72, p73, p74, p75, p76, p77,
 1432|       |                         p78, p79, p80, p81, p82, p83, p84, p85, p86, p87, p88, p89, p90, p91, p92, p93, p94, p95, p96,
 1433|       |                         p97, p98, p99, p100, p101, p102, p103, p104, p105, p106, p107, p108, p109, p110, p111, p112,
 1434|       |                         p113, p114, p115, p116, p117, p118, p119, p120, p121, p122, p123, p124, p125, p126, p127);
 1435|       |      }
 1436|  76.7k|   }

_ZN3glz4atoiITkNSt3__18integralEicEEbRT_RPKT0_S6_:
  806|  10.1k|   {
  807|       |      // The number of characters needed at most for each type, rounded to nearest 8 bytes
  808|  10.1k|      constexpr auto buffer_length = int_buffer_lengths[std::bit_width(sizeof(T)) - 1];
  809|       |      // We copy the rest of the buffer, or buffer_length bytes, into a null terminated buffer. The
  810|       |      // trailing byte is never written by the copy, so the null-terminated atoi below always halts
  811|       |      // inside the array even when the input fills it: the exponent scan stops at a non-digit rather
  812|       |      // than after a fixed digit count, and a value-initialized array alone would not terminate a
  813|       |      // copy that covers every byte.
  814|  10.1k|      std::array<char, buffer_length + 1> data{};
  815|  10.1k|      const auto n = size_t(end - it);
  816|  10.1k|      if (n > 0) [[likely]] {
  ------------------
  |  Branch (816:11): [True: 10.1k, False: 0]
  ------------------
  817|  10.1k|         const auto truncated = n > buffer_length;
  818|  10.1k|         std::memcpy(data.data(), it, truncated ? buffer_length : n);
  ------------------
  |  Branch (818:39): [True: 8.84k, False: 1.31k]
  ------------------
  819|       |
  820|  10.1k|         const auto start = data.data();
  821|  10.1k|         const auto* c = start;
  822|  10.1k|         const auto valid = glz::atoi(v, c);
  823|  10.1k|         const auto consumed = size_t(c - start);
  824|  10.1k|         it += consumed;
  825|       |         // Reaching the end of a truncated copy means the number was cut off: parsing halted on the
  826|       |         // terminator this buffer supplies rather than on a character of the input, so what parsed is
  827|       |         // a prefix and its value is not the number's. Only zero padding can stretch a number this
  828|       |         // far -- no in-range integer needs buffer_length characters -- but a caller that ignores
  829|       |         // trailing content would otherwise take the prefix's value as the answer.
  830|  10.1k|         return valid && not(truncated && consumed == buffer_length);
  ------------------
  |  Branch (830:17): [True: 9.89k, False: 273]
  |  Branch (830:30): [True: 8.83k, False: 1.05k]
  |  Branch (830:43): [True: 211, False: 8.62k]
  ------------------
  831|  10.1k|      }
  832|      0|      else [[unlikely]] {
  833|      0|         return false;
  834|      0|      }
  835|  10.1k|   }
_ZN3glz4atoiITkNSt3__18integralEiKcQsr3stdE11is_signed_vIT_EEEbRS3_RPT0_:
  718|  20.3k|   {
  719|  20.3k|      using X = std::decay_t<T>;
  720|  20.3k|      using utype = std::make_unsigned_t<X>;
  721|       |
  722|  20.3k|      const uint8_t sign = *c == '-';
  723|  20.3k|      if (auto ptr = parse_int(v, reinterpret_cast<const uint8_t*>(c))) [[likely]] {
  ------------------
  |  Branch (723:16): [True: 20.2k, False: 150]
  ------------------
  724|  20.2k|         c = reinterpret_cast<const Char*>(ptr);
  725|  20.2k|         if (*c == 'e' || *c == 'E') {
  ------------------
  |  Branch (725:14): [True: 2.38k, False: 17.8k]
  |  Branch (725:27): [True: 3.44k, False: 14.4k]
  ------------------
  726|  5.82k|            ++c;
  727|  5.82k|         }
  728|  14.4k|         else {
  729|  14.4k|            if (*c == '.') [[unlikely]] {
  ------------------
  |  Branch (729:17): [True: 16, False: 14.3k]
  ------------------
  730|     16|               return false;
  731|     16|            }
  732|  14.3k|            return true;
  733|  14.4k|         }
  734|       |
  735|  5.82k|         c += (*c == '+');
  736|       |
  737|  5.82k|         if (not is_digit(*c)) [[unlikely]] {
  ------------------
  |  Branch (737:14): [True: 138, False: 5.68k]
  ------------------
  738|    138|            return false;
  739|    138|         }
  740|  5.68k|         const uint32_t exp = parse_exponent(c);
  741|       |         // As in the unsigned overload: only a non-zero magnitude can overflow, so "0e19" and
  742|       |         // "-0e19" are in range for every width. `v` is already the signed mantissa, and negative
  743|       |         // zero compares equal to zero, so both spellings land here with the value they should keep.
  744|       |         if constexpr (sizeof(T) == 1) {
  745|       |            if (exp > 2) [[unlikely]] {
  746|       |               return v == 0;
  747|       |            }
  748|       |         }
  749|       |         else if constexpr (sizeof(T) == 2) {
  750|       |            if (exp > 4) [[unlikely]] {
  751|       |               return v == 0;
  752|       |            }
  753|       |         }
  754|  5.68k|         else if constexpr (sizeof(T) == 4) {
  755|  5.68k|            if (exp > 9) [[unlikely]] {
  ------------------
  |  Branch (755:17): [True: 900, False: 4.78k]
  ------------------
  756|    900|               return v == 0;
  757|    900|            }
  758|       |         }
  759|       |         else {
  760|       |            if (exp > 18) [[unlikely]] {
  761|       |               return v == 0;
  762|       |            }
  763|       |         }
  764|       |
  765|  4.78k|         utype i = utype((utype(v) ^ -sign) + sign);
  766|  5.68k|         if constexpr (sizeof(T) < 8) {
  767|       |            // Scale in a width the product cannot wrap, then range check before narrowing. Scaling
  768|       |            // inside `utype` truncated first and checked afterwards, so an out-of-range magnitude
  769|       |            // aliased onto an accepted one: "13e2" read as 20 for int8_t and "5e9" as 705032704 for
  770|       |            // int32_t. The widest case here is a 4-byte magnitude scaled by 10^9, which stays well
  771|       |            // inside uint64_t. The unsigned path already widens the same way.
  772|  5.68k|            const uint64_t scaled = uint64_t(i) * powers_of_ten_int[exp];
  773|  5.68k|            v = T((utype(scaled) ^ -sign) + sign);
  774|       |            // Bound the magnitude directly rather than subtracting the sign from it: a negative
  775|       |            // zero makes `scaled - sign` underflow, and the old narrow expression only survived
  776|       |            // that because it promoted to int. A negative value may reach one past the positive
  777|       |            // limit, which is exactly INT_MIN's magnitude.
  778|  5.68k|            return scaled <= uint64_t((std::numeric_limits<T>::max)()) + sign;
  779|       |         }
  780|       |         else {
  781|       |            // Scale the sign-stripped magnitude `i`, not the two's-complement bit pattern of `v`:
  782|       |            // for a negative value that pattern is a huge unsigned number, so every negative
  783|       |            // 64-bit integer written with an exponent ("-1e2") overflowed and was rejected. The
  784|       |            // narrower branches above already scale `i`.
  785|       |#if defined(__SIZEOF_INT128__)
  786|       |            const __uint128_t res = __uint128_t(i) * powers_of_ten_int[exp];
  787|       |            v = T((uint64_t(res) ^ -sign) + sign);
  788|       |            // Compare the full 128-bit product. Narrowing it to 64 bits first would let an
  789|       |            // out-of-range magnitude alias onto an accepted one, e.g. 9e36 truncating into range.
  790|       |            return res <= __uint128_t(9223372036854775807ull + sign);
  791|       |#else
  792|       |            const auto res = full_multiplication(i, powers_of_ten_int[exp]);
  793|       |            v = T((uint64_t(res.low) ^ -sign) + sign);
  794|       |            return res.high == 0 && (uint64_t(res.low) <= (9223372036854775807ull + sign));
  795|       |#endif
  796|       |         }
  797|  5.68k|      }
  798|  5.83k|      return false;
  799|  20.3k|   }
_ZN3glz9parse_intITkNSt3__18integralEiQaasr3stdE11is_signed_vIT_ElestS2_Li8EEEPKhRS2_S4_:
  479|  20.3k|   {
  480|  20.3k|      const uint8_t sign = *c == '-';
  481|  20.3k|      c += sign;
  482|       |
  483|  20.3k|      if (is_digit(*c)) [[likely]] {
  ------------------
  |  Branch (483:11): [True: 20.3k, False: 69]
  ------------------
  484|  20.3k|         v = *c - '0';
  485|  20.3k|         ++c;
  486|  20.3k|      }
  487|     69|      else [[unlikely]] {
  488|     69|         return {};
  489|     69|      }
  490|       |
  491|  20.3k|      if (is_digit(*c)) {
  ------------------
  |  Branch (491:11): [True: 13.2k, False: 7.03k]
  ------------------
  492|  13.2k|         v = v * 10 + (*c - '0');
  493|  13.2k|         ++c;
  494|  13.2k|      }
  495|  7.03k|      else {
  496|  7.03k|         if (sign) {
  ------------------
  |  Branch (496:14): [True: 504, False: 6.52k]
  ------------------
  497|    504|            v = -v;
  498|    504|         }
  499|  7.03k|         return c;
  500|  7.03k|      }
  501|       |
  502|  13.2k|      if (c[-2] == '0') [[unlikely]] {
  ------------------
  |  Branch (502:11): [True: 6, False: 13.2k]
  ------------------
  503|      6|         return {};
  504|      6|      }
  505|       |
  506|  13.2k|      if constexpr (sizeof(T) > 1) {
  507|  13.2k|         if (is_digit(*c)) {
  ------------------
  |  Branch (507:14): [True: 10.9k, False: 2.36k]
  ------------------
  508|  10.9k|            v = v * 10 + (*c - '0');
  509|  10.9k|            ++c;
  510|  10.9k|         }
  511|  2.36k|         else {
  512|  2.36k|            if (sign) {
  ------------------
  |  Branch (512:17): [True: 400, False: 1.96k]
  ------------------
  513|    400|               v = -v;
  514|    400|            }
  515|  2.36k|            return c;
  516|  2.36k|         }
  517|       |
  518|  10.9k|         if (is_digit(*c)) {
  ------------------
  |  Branch (518:14): [True: 9.45k, False: 1.45k]
  ------------------
  519|  9.45k|            v = v * 10 + (*c - '0');
  520|  9.45k|            ++c;
  521|  9.45k|         }
  522|  1.45k|         else {
  523|  1.45k|            if (sign) {
  ------------------
  |  Branch (523:17): [True: 522, False: 935]
  ------------------
  524|    522|               v = -v;
  525|    522|            }
  526|  1.45k|            return c;
  527|  1.45k|         }
  528|       |
  529|  9.45k|         if constexpr (sizeof(T) > 2) {
  530|  9.45k|            if (is_digit(*c)) {
  ------------------
  |  Branch (530:17): [True: 7.97k, False: 1.47k]
  ------------------
  531|  7.97k|               v = v * 10 + (*c - '0');
  532|  7.97k|               ++c;
  533|  7.97k|            }
  534|  1.47k|            else {
  535|  1.47k|               if (sign) {
  ------------------
  |  Branch (535:20): [True: 492, False: 980]
  ------------------
  536|    492|                  v = -v;
  537|    492|               }
  538|  1.47k|               return c;
  539|  1.47k|            }
  540|       |
  541|  7.97k|            if (is_digit(*c)) {
  ------------------
  |  Branch (541:17): [True: 6.46k, False: 1.51k]
  ------------------
  542|  6.46k|               v = v * 10 + (*c - '0');
  543|  6.46k|               ++c;
  544|  6.46k|            }
  545|  1.51k|            else {
  546|  1.51k|               if (sign) {
  ------------------
  |  Branch (546:20): [True: 398, False: 1.11k]
  ------------------
  547|    398|                  v = -v;
  548|    398|               }
  549|  1.51k|               return c;
  550|  1.51k|            }
  551|       |
  552|  6.46k|            if (is_digit(*c)) {
  ------------------
  |  Branch (552:17): [True: 5.35k, False: 1.11k]
  ------------------
  553|  5.35k|               v = v * 10 + (*c - '0');
  554|  5.35k|               ++c;
  555|  5.35k|            }
  556|  1.11k|            else {
  557|  1.11k|               if (sign) {
  ------------------
  |  Branch (557:20): [True: 396, False: 716]
  ------------------
  558|    396|                  v = -v;
  559|    396|               }
  560|  1.11k|               return c;
  561|  1.11k|            }
  562|       |
  563|  5.35k|            if (is_digit(*c)) {
  ------------------
  |  Branch (563:17): [True: 4.08k, False: 1.26k]
  ------------------
  564|  4.08k|               v = v * 10 + (*c - '0');
  565|  4.08k|               ++c;
  566|  4.08k|            }
  567|  1.26k|            else {
  568|  1.26k|               if (sign) {
  ------------------
  |  Branch (568:20): [True: 398, False: 868]
  ------------------
  569|    398|                  v = -v;
  570|    398|               }
  571|  1.26k|               return c;
  572|  1.26k|            }
  573|       |
  574|  4.08k|            if (is_digit(*c)) {
  ------------------
  |  Branch (574:17): [True: 2.61k, False: 1.47k]
  ------------------
  575|  2.61k|               v = v * 10 + (*c - '0');
  576|  2.61k|               ++c;
  577|  2.61k|            }
  578|  1.47k|            else {
  579|  1.47k|               if (sign) {
  ------------------
  |  Branch (579:20): [True: 402, False: 1.07k]
  ------------------
  580|    402|                  v = -v;
  581|    402|               }
  582|  1.47k|               return c;
  583|  1.47k|            }
  584|       |
  585|       |            if constexpr (sizeof(T) > 4) {
  586|       |               if (is_digit(*c)) {
  587|       |                  v = v * 10 + (*c - '0');
  588|       |                  ++c;
  589|       |               }
  590|       |               else {
  591|       |                  if (sign) {
  592|       |                     v = -v;
  593|       |                  }
  594|       |                  return c;
  595|       |               }
  596|       |
  597|       |               if (is_digit(*c)) {
  598|       |                  v = v * 10 + (*c - '0');
  599|       |                  ++c;
  600|       |               }
  601|       |               else {
  602|       |                  if (sign) {
  603|       |                     v = -v;
  604|       |                  }
  605|       |                  return c;
  606|       |               }
  607|       |
  608|       |               if (is_digit(*c)) {
  609|       |                  v = v * 10 + (*c - '0');
  610|       |                  ++c;
  611|       |               }
  612|       |               else {
  613|       |                  if (sign) {
  614|       |                     v = -v;
  615|       |                  }
  616|       |                  return c;
  617|       |               }
  618|       |
  619|       |               if (is_digit(*c)) {
  620|       |                  v = v * 10 + (*c - '0');
  621|       |                  ++c;
  622|       |               }
  623|       |               else {
  624|       |                  if (sign) {
  625|       |                     v = -v;
  626|       |                  }
  627|       |                  return c;
  628|       |               }
  629|       |
  630|       |               if (is_digit(*c)) {
  631|       |                  v = v * 10 + (*c - '0');
  632|       |                  ++c;
  633|       |               }
  634|       |               else {
  635|       |                  if (sign) {
  636|       |                     v = -v;
  637|       |                  }
  638|       |                  return c;
  639|       |               }
  640|       |
  641|       |               if (is_digit(*c)) {
  642|       |                  v = v * 10 + (*c - '0');
  643|       |                  ++c;
  644|       |               }
  645|       |               else {
  646|       |                  if (sign) {
  647|       |                     v = -v;
  648|       |                  }
  649|       |                  return c;
  650|       |               }
  651|       |
  652|       |               if (is_digit(*c)) {
  653|       |                  v = v * 10 + (*c - '0');
  654|       |                  ++c;
  655|       |               }
  656|       |               else {
  657|       |                  if (sign) {
  658|       |                     v = -v;
  659|       |                  }
  660|       |                  return c;
  661|       |               }
  662|       |
  663|       |               if (is_digit(*c)) {
  664|       |                  v = v * 10 + (*c - '0');
  665|       |                  ++c;
  666|       |               }
  667|       |               else {
  668|       |                  if (sign) {
  669|       |                     v = -v;
  670|       |                  }
  671|       |                  return c;
  672|       |               }
  673|       |
  674|       |               if (is_digit(*c)) {
  675|       |                  v = v * 10 + (*c - '0');
  676|       |                  ++c;
  677|       |               }
  678|       |               else {
  679|       |                  if (sign) {
  680|       |                     v = -v;
  681|       |                  }
  682|       |                  return c;
  683|       |               }
  684|       |            }
  685|  2.61k|         }
  686|  9.45k|      }
  687|       |
  688|  13.2k|      if (is_digit(*c)) {
  ------------------
  |  Branch (688:11): [True: 1.10k, False: 12.1k]
  ------------------
  689|  1.10k|         if (sign) {
  ------------------
  |  Branch (689:14): [True: 470, False: 639]
  ------------------
  690|    470|            if (would_overflow_negative<T>(v, *c)) [[unlikely]] {
  ------------------
  |  Branch (690:17): [True: 30, False: 440]
  ------------------
  691|     30|               return {};
  692|     30|            }
  693|    440|            v = -1 * v;
  694|    440|            v = v * 10 - (*c - '0');
  695|    440|         }
  696|    639|         else {
  697|    639|            if (would_overflow_positive<T>(v, *c)) [[unlikely]] {
  ------------------
  |  Branch (697:17): [True: 36, False: 603]
  ------------------
  698|     36|               return {};
  699|     36|            }
  700|    603|            v = v * 10 + (*c - '0');
  701|    603|         }
  702|  1.04k|         ++c;
  703|  1.04k|         if (is_digit(*c)) [[unlikely]] {
  ------------------
  |  Branch (703:14): [True: 9, False: 1.03k]
  ------------------
  704|      9|            return {};
  705|      9|         }
  706|  1.03k|         return c;
  707|  1.04k|      }
  708|       |
  709|  12.1k|      if (sign) {
  ------------------
  |  Branch (709:11): [True: 394, False: 11.7k]
  ------------------
  710|    394|         v = -v;
  711|    394|      }
  712|  12.1k|      return c;
  713|  13.2k|   }
_ZN3glz23would_overflow_negativeIiEEbu17__remove_volatileIT_Eh:
  154|    470|   {
  155|       |      // For negative: max magnitude is max + 1 (e.g., -2147483648 for int32)
  156|    470|      using U = std::remove_volatile_t<T>;
  157|    470|      constexpr auto max_val = static_cast<uint64_t>((std::numeric_limits<U>::max)()) + 1;
  158|    470|      constexpr auto threshold = max_val / 10;
  159|    470|      constexpr auto last_digit = max_val % 10;
  160|    470|      const auto uv = static_cast<uint64_t>(v);
  161|    470|      const auto digit = static_cast<uint64_t>(next_digit - '0');
  162|       |      // When digit > last_digit, effective threshold is one less
  163|    470|      return uv > (threshold - uint64_t(digit > last_digit));
  164|    470|   }
_ZN3glz23would_overflow_positiveIiEEbu17__remove_volatileIT_Eh:
  140|    639|   {
  141|    639|      using U = std::remove_volatile_t<T>;
  142|    639|      constexpr auto max_val = static_cast<uint64_t>((std::numeric_limits<U>::max)());
  143|    639|      constexpr auto threshold = max_val / 10;
  144|    639|      constexpr auto last_digit = max_val % 10;
  145|    639|      const auto uv = static_cast<uint64_t>(v);
  146|    639|      const auto digit = static_cast<uint64_t>(next_digit - '0');
  147|       |      // When digit > last_digit, effective threshold is one less
  148|       |      // This is branch-free and faster than bitwise OR/AND approach
  149|    639|      return uv > (threshold - uint64_t(digit > last_digit));
  150|    639|   }
_ZN3glz8is_digitEh:
  106|   462k|   GLZ_ALWAYS_INLINE constexpr bool is_digit(const uint8_t c) noexcept { return c <= '9' && c >= '0'; }
  ------------------
  |  Branch (106:81): [True: 434k, False: 28.0k]
  |  Branch (106:93): [True: 391k, False: 42.5k]
  ------------------
_ZN3glz14parse_exponentIKcEEjRPT_:
  124|  13.4k|   {
  125|  13.4k|      uint32_t exp = uint32_t(*c - '0');
  126|  13.4k|      ++c;
  127|  28.4k|      while (is_digit(*c)) {
  ------------------
  |  Branch (127:14): [True: 15.0k, False: 13.4k]
  ------------------
  128|       |         // Written as a select rather than a branch: the clamp only ever engages on absurdly long
  129|       |         // exponents, so a branch here would be a mispredict risk on the path that matters.
  130|  15.0k|         exp = exp < exponent_clamp ? exp * 10 + uint32_t(*c - '0') : exp;
  ------------------
  |  Branch (130:16): [True: 7.71k, False: 7.32k]
  ------------------
  131|  15.0k|         ++c;
  132|  15.0k|      }
  133|  13.4k|      return exp;
  134|  13.4k|   }
_ZN3glz4atoiITkNSt3__18integralEmcEEbRT_RPKT0_S6_:
  806|  18.3k|   {
  807|       |      // The number of characters needed at most for each type, rounded to nearest 8 bytes
  808|  18.3k|      constexpr auto buffer_length = int_buffer_lengths[std::bit_width(sizeof(T)) - 1];
  809|       |      // We copy the rest of the buffer, or buffer_length bytes, into a null terminated buffer. The
  810|       |      // trailing byte is never written by the copy, so the null-terminated atoi below always halts
  811|       |      // inside the array even when the input fills it: the exponent scan stops at a non-digit rather
  812|       |      // than after a fixed digit count, and a value-initialized array alone would not terminate a
  813|       |      // copy that covers every byte.
  814|  18.3k|      std::array<char, buffer_length + 1> data{};
  815|  18.3k|      const auto n = size_t(end - it);
  816|  18.3k|      if (n > 0) [[likely]] {
  ------------------
  |  Branch (816:11): [True: 18.3k, False: 0]
  ------------------
  817|  18.3k|         const auto truncated = n > buffer_length;
  818|  18.3k|         std::memcpy(data.data(), it, truncated ? buffer_length : n);
  ------------------
  |  Branch (818:39): [True: 15.7k, False: 2.62k]
  ------------------
  819|       |
  820|  18.3k|         const auto start = data.data();
  821|  18.3k|         const auto* c = start;
  822|  18.3k|         const auto valid = glz::atoi(v, c);
  823|  18.3k|         const auto consumed = size_t(c - start);
  824|  18.3k|         it += consumed;
  825|       |         // Reaching the end of a truncated copy means the number was cut off: parsing halted on the
  826|       |         // terminator this buffer supplies rather than on a character of the input, so what parsed is
  827|       |         // a prefix and its value is not the number's. Only zero padding can stretch a number this
  828|       |         // far -- no in-range integer needs buffer_length characters -- but a caller that ignores
  829|       |         // trailing content would otherwise take the prefix's value as the answer.
  830|  18.3k|         return valid && not(truncated && consumed == buffer_length);
  ------------------
  |  Branch (830:17): [True: 17.6k, False: 659]
  |  Branch (830:30): [True: 15.7k, False: 1.98k]
  |  Branch (830:43): [True: 7, False: 15.6k]
  ------------------
  831|  18.3k|      }
  832|      0|      else [[unlikely]] {
  833|      0|         return false;
  834|      0|      }
  835|  18.3k|   }
_ZN3glz4atoiITkNSt3__18integralEmKcQsr3stdE13is_unsigned_vIT_EEEbRS3_RPT0_:
  400|  36.7k|   {
  401|  36.7k|      if (auto ptr = parse_int(v, reinterpret_cast<const uint8_t*>(c))) [[likely]] {
  ------------------
  |  Branch (401:16): [True: 35.8k, False: 938]
  ------------------
  402|  35.8k|         c = reinterpret_cast<const Char*>(ptr);
  403|  35.8k|         if (*c == 'e' || *c == 'E') {
  ------------------
  |  Branch (403:14): [True: 3.39k, False: 32.4k]
  |  Branch (403:27): [True: 4.54k, False: 27.9k]
  ------------------
  404|  7.93k|            ++c;
  405|  7.93k|         }
  406|  27.9k|         else {
  407|  27.9k|            if (*c == '.') [[unlikely]] {
  ------------------
  |  Branch (407:17): [True: 24, False: 27.8k]
  ------------------
  408|     24|               return false;
  409|     24|            }
  410|  27.8k|            return true;
  411|  27.9k|         }
  412|       |
  413|  7.93k|         c += (*c == '+');
  414|       |
  415|  7.93k|         if (not is_digit(*c)) [[unlikely]] {
  ------------------
  |  Branch (415:14): [True: 180, False: 7.75k]
  ------------------
  416|    180|            return false;
  417|    180|         }
  418|  7.75k|         const uint32_t exp = parse_exponent(c);
  419|       |         // An exponent past the width's limit overflows any non-zero magnitude, but zero stays zero
  420|       |         // however far it is scaled, so "0e19" is in range for every width. Testing the magnitude
  421|       |         // here rather than ahead of the dispatch keeps it off the hot path: it only runs once the
  422|       |         // exponent has already failed the range check.
  423|       |         if constexpr (sizeof(T) == 1) {
  424|       |            if (exp > 2) [[unlikely]] {
  425|       |               return v == 0;
  426|       |            }
  427|       |         }
  428|       |         else if constexpr (sizeof(T) == 2) {
  429|       |            if (exp > 4) [[unlikely]] {
  430|       |               return v == 0;
  431|       |            }
  432|       |         }
  433|       |         else if constexpr (sizeof(T) == 4) {
  434|       |            if (exp > 9) [[unlikely]] {
  435|       |               return v == 0;
  436|       |            }
  437|       |         }
  438|  7.75k|         else {
  439|  7.75k|            if (exp > 19) [[unlikely]] {
  ------------------
  |  Branch (439:17): [True: 919, False: 6.83k]
  ------------------
  440|    919|               return v == 0;
  441|    919|            }
  442|  7.75k|         }
  443|       |
  444|       |         if constexpr (sizeof(T) == 1) {
  445|       |            static constexpr std::array<uint8_t, 3> powers_of_ten{1, 10, 100};
  446|       |            const uint64_t i = v * powers_of_ten[exp];
  447|       |            v = T(i);
  448|       |            return i <= (std::numeric_limits<T>::max)();
  449|       |         }
  450|       |         else if constexpr (sizeof(T) == 2) {
  451|       |            static constexpr std::array<uint16_t, 5> powers_of_ten{1, 10, 100, 1000, 10000};
  452|       |            const uint64_t i = v * powers_of_ten[exp];
  453|       |            v = T(i);
  454|       |            return i <= (std::numeric_limits<T>::max)();
  455|       |         }
  456|       |         else if constexpr (sizeof(T) < 8) {
  457|       |            const uint64_t i = v * powers_of_ten_int[exp];
  458|       |            v = T(i);
  459|       |            return i <= (std::numeric_limits<T>::max)();
  460|       |         }
  461|  7.75k|         else {
  462|  7.75k|#if defined(__SIZEOF_INT128__)
  463|  7.75k|            const __uint128_t res = __uint128_t(v) * powers_of_ten_int[exp];
  464|  7.75k|            v = T(res);
  465|  7.75k|            return res <= (std::numeric_limits<T>::max)();
  466|       |#else
  467|       |            const auto res = full_multiplication(v, powers_of_ten_int[exp]);
  468|       |            v = T(res.low);
  469|       |            return res.high == 0;
  470|       |#endif
  471|  7.75k|         }
  472|  7.75k|      }
  473|  8.69k|      return false;
  474|  36.7k|   }
_ZN3glz9parse_intITkNSt3__18integralEmQaasr3stdE13is_unsigned_vIT_ElestS2_Li8EEEPKhRS2_S4_:
  215|  36.7k|   {
  216|  36.7k|      if (is_digit(*c)) [[likely]] {
  ------------------
  |  Branch (216:11): [True: 36.0k, False: 730]
  ------------------
  217|  36.0k|         v = *c - '0';
  218|  36.0k|         ++c;
  219|  36.0k|      }
  220|    730|      else [[unlikely]] {
  221|    730|         return {};
  222|    730|      }
  223|       |
  224|  36.0k|      if (is_digit(*c)) {
  ------------------
  |  Branch (224:11): [True: 24.0k, False: 11.9k]
  ------------------
  225|  24.0k|         v = v * 10 + (*c - '0');
  226|  24.0k|         ++c;
  227|  24.0k|      }
  228|  11.9k|      else {
  229|  11.9k|         return c;
  230|  11.9k|      }
  231|       |
  232|  24.0k|      if (c[-2] == '0') [[unlikely]] {
  ------------------
  |  Branch (232:11): [True: 12, False: 24.0k]
  ------------------
  233|     12|         return {};
  234|     12|      }
  235|       |
  236|  24.0k|      if constexpr (sizeof(T) > 1) {
  237|  24.0k|         if (is_digit(*c)) {
  ------------------
  |  Branch (237:14): [True: 22.6k, False: 1.42k]
  ------------------
  238|  22.6k|            v = v * 10 + (*c - '0');
  239|  22.6k|            ++c;
  240|  22.6k|         }
  241|  1.42k|         else {
  242|  1.42k|            return c;
  243|  1.42k|         }
  244|       |
  245|  22.6k|         if (is_digit(*c)) {
  ------------------
  |  Branch (245:14): [True: 21.5k, False: 1.07k]
  ------------------
  246|  21.5k|            v = v * 10 + (*c - '0');
  247|  21.5k|            ++c;
  248|  21.5k|         }
  249|  1.07k|         else {
  250|  1.07k|            return c;
  251|  1.07k|         }
  252|       |
  253|  21.5k|         if constexpr (sizeof(T) > 2) {
  254|  21.5k|            if (is_digit(*c)) {
  ------------------
  |  Branch (254:17): [True: 20.4k, False: 1.17k]
  ------------------
  255|  20.4k|               v = v * 10 + (*c - '0');
  256|  20.4k|               ++c;
  257|  20.4k|            }
  258|  1.17k|            else {
  259|  1.17k|               return c;
  260|  1.17k|            }
  261|       |
  262|  20.4k|            if (is_digit(*c)) {
  ------------------
  |  Branch (262:17): [True: 19.4k, False: 960]
  ------------------
  263|  19.4k|               v = v * 10 + (*c - '0');
  264|  19.4k|               ++c;
  265|  19.4k|            }
  266|    960|            else {
  267|    960|               return c;
  268|    960|            }
  269|       |
  270|  19.4k|            if (is_digit(*c)) {
  ------------------
  |  Branch (270:17): [True: 18.2k, False: 1.24k]
  ------------------
  271|  18.2k|               v = v * 10 + (*c - '0');
  272|  18.2k|               ++c;
  273|  18.2k|            }
  274|  1.24k|            else {
  275|  1.24k|               return c;
  276|  1.24k|            }
  277|       |
  278|  18.2k|            if (is_digit(*c)) {
  ------------------
  |  Branch (278:17): [True: 16.9k, False: 1.30k]
  ------------------
  279|  16.9k|               v = v * 10 + (*c - '0');
  280|  16.9k|               ++c;
  281|  16.9k|            }
  282|  1.30k|            else {
  283|  1.30k|               return c;
  284|  1.30k|            }
  285|       |
  286|  16.9k|            if (is_digit(*c)) {
  ------------------
  |  Branch (286:17): [True: 16.1k, False: 800]
  ------------------
  287|  16.1k|               v = v * 10 + (*c - '0');
  288|  16.1k|               ++c;
  289|  16.1k|            }
  290|    800|            else {
  291|    800|               return c;
  292|    800|            }
  293|       |
  294|  16.1k|            if constexpr (sizeof(T) > 4) {
  295|  16.1k|               if (is_digit(*c)) {
  ------------------
  |  Branch (295:20): [True: 14.9k, False: 1.18k]
  ------------------
  296|  14.9k|                  v = v * 10 + (*c - '0');
  297|  14.9k|                  ++c;
  298|  14.9k|               }
  299|  1.18k|               else {
  300|  1.18k|                  return c;
  301|  1.18k|               }
  302|       |
  303|  14.9k|               if (is_digit(*c)) {
  ------------------
  |  Branch (303:20): [True: 13.6k, False: 1.29k]
  ------------------
  304|  13.6k|                  v = v * 10 + (*c - '0');
  305|  13.6k|                  ++c;
  306|  13.6k|               }
  307|  1.29k|               else {
  308|  1.29k|                  return c;
  309|  1.29k|               }
  310|       |
  311|  13.6k|               if (is_digit(*c)) {
  ------------------
  |  Branch (311:20): [True: 12.8k, False: 770]
  ------------------
  312|  12.8k|                  v = v * 10 + (*c - '0');
  313|  12.8k|                  ++c;
  314|  12.8k|               }
  315|    770|               else {
  316|    770|                  return c;
  317|    770|               }
  318|       |
  319|  12.8k|               if (is_digit(*c)) {
  ------------------
  |  Branch (319:20): [True: 11.3k, False: 1.51k]
  ------------------
  320|  11.3k|                  v = v * 10 + (*c - '0');
  321|  11.3k|                  ++c;
  322|  11.3k|               }
  323|  1.51k|               else {
  324|  1.51k|                  return c;
  325|  1.51k|               }
  326|       |
  327|  11.3k|               if (is_digit(*c)) {
  ------------------
  |  Branch (327:20): [True: 8.12k, False: 3.21k]
  ------------------
  328|  8.12k|                  v = v * 10 + (*c - '0');
  329|  8.12k|                  ++c;
  330|  8.12k|               }
  331|  3.21k|               else {
  332|  3.21k|                  return c;
  333|  3.21k|               }
  334|       |
  335|  8.12k|               if (is_digit(*c)) {
  ------------------
  |  Branch (335:20): [True: 6.99k, False: 1.13k]
  ------------------
  336|  6.99k|                  v = v * 10 + (*c - '0');
  337|  6.99k|                  ++c;
  338|  6.99k|               }
  339|  1.13k|               else {
  340|  1.13k|                  return c;
  341|  1.13k|               }
  342|       |
  343|  6.99k|               if (is_digit(*c)) {
  ------------------
  |  Branch (343:20): [True: 5.62k, False: 1.37k]
  ------------------
  344|  5.62k|                  v = v * 10 + (*c - '0');
  345|  5.62k|                  ++c;
  346|  5.62k|               }
  347|  1.37k|               else {
  348|  1.37k|                  return c;
  349|  1.37k|               }
  350|       |
  351|  5.62k|               if (is_digit(*c)) {
  ------------------
  |  Branch (351:20): [True: 4.63k, False: 982]
  ------------------
  352|  4.63k|                  v = v * 10 + (*c - '0');
  353|  4.63k|                  ++c;
  354|  4.63k|               }
  355|    982|               else {
  356|    982|                  return c;
  357|    982|               }
  358|       |
  359|  4.63k|               if (is_digit(*c)) {
  ------------------
  |  Branch (359:20): [True: 3.67k, False: 960]
  ------------------
  360|  3.67k|                  v = v * 10 + (*c - '0');
  361|  3.67k|                  ++c;
  362|  3.67k|               }
  363|    960|               else {
  364|    960|                  return c;
  365|    960|               }
  366|       |
  367|  3.67k|               if (is_digit(*c)) {
  ------------------
  |  Branch (367:20): [True: 2.63k, False: 1.04k]
  ------------------
  368|  2.63k|                  v = v * 10 + (*c - '0');
  369|  2.63k|                  ++c;
  370|  2.63k|               }
  371|  1.04k|               else {
  372|  1.04k|                  return c;
  373|  1.04k|               }
  374|  3.67k|            }
  375|  16.1k|         }
  376|  21.5k|      }
  377|       |
  378|  24.0k|      if (is_digit(*c)) {
  ------------------
  |  Branch (378:11): [True: 1.67k, False: 22.4k]
  ------------------
  379|       |         // Test before multiplying. The previous guard multiplied first and then compared the
  380|       |         // already-wrapped value against max/10 - 10, which only caught wraps that happened to land
  381|       |         // below that threshold: "300" wraps to 44 for uint8_t and sailed through, as did most
  382|       |         // out-of-range values. would_overflow_positive is the same branch-free check the signed
  383|       |         // path above already uses, so the two paths now reject on the same rule.
  384|  1.67k|         if (would_overflow_positive<T>(v, *c)) [[unlikely]] {
  ------------------
  |  Branch (384:14): [True: 190, False: 1.48k]
  ------------------
  385|    190|            return {};
  386|    190|         }
  387|  1.48k|         v = v * 10 + (*c - '0');
  388|  1.48k|         ++c;
  389|  1.48k|         if (is_digit(*c)) [[unlikely]] {
  ------------------
  |  Branch (389:14): [True: 6, False: 1.47k]
  ------------------
  390|      6|            return {};
  391|      6|         }
  392|  1.48k|      }
  393|       |
  394|  23.8k|      return c;
  395|  24.0k|   }
_ZN3glz23would_overflow_positiveImEEbu17__remove_volatileIT_Eh:
  140|  1.67k|   {
  141|  1.67k|      using U = std::remove_volatile_t<T>;
  142|  1.67k|      constexpr auto max_val = static_cast<uint64_t>((std::numeric_limits<U>::max)());
  143|  1.67k|      constexpr auto threshold = max_val / 10;
  144|  1.67k|      constexpr auto last_digit = max_val % 10;
  145|  1.67k|      const auto uv = static_cast<uint64_t>(v);
  146|  1.67k|      const auto digit = static_cast<uint64_t>(next_digit - '0');
  147|       |      // When digit > last_digit, effective threshold is one less
  148|       |      // This is branch-free and faster than bitwise OR/AND approach
  149|  1.67k|      return uv > (threshold - uint64_t(digit > last_digit));
  150|  1.67k|   }

_ZN3glz9has_quoteEm:
   86|  6.28M|   {
   87|  6.28M|      return has_zero(chunk ^ repeat_byte8('"'));
   88|  6.28M|   }
_ZN3glz8has_zeroEm:
   81|  6.28M|   {
   82|  6.28M|      return (((chunk - 0x0101010101010101ull) & ~chunk) & 0x8080808080808080ull);
   83|  6.28M|   }
_ZN3glz11countr_zeroEm:
   29|  24.5k|   {
   30|       |#ifdef _MSC_VER
   31|       |      return std::countr_zero(x);
   32|       |#else
   33|  24.5k|#if __has_builtin(__builtin_ctzll)
   34|  24.5k|      return __builtin_ctzll(x);
   35|       |#else
   36|       |      return std::countr_zero(x);
   37|       |#endif
   38|  24.5k|#endif
   39|  24.5k|   }

_ZN3glz10comparitorIL_ZZNS_12decode_indexITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structLm0ERS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT2_OT4_OT5_OT6_DpOT3_E15KeyWithEndQuoteELm2EcEEbPKT1_:
  245|  10.2k|   {
  246|       |      // pack() builds values in little-endian order (byte 0 in LSB position).
  247|       |      // On big-endian systems, memcpy produces native (big-endian) values,
  248|       |      // so we need to byteswap to match the packed representation.
  249|       |      if constexpr (N == 8) {
  250|       |         static constexpr auto packed = pack<Str, 8>();
  251|       |         uint64_t in;
  252|       |         std::memcpy(&in, other, 8);
  253|       |         if constexpr (std::endian::native == std::endian::big) {
  254|       |            in = std::byteswap(in);
  255|       |         }
  256|       |         return (in == packed);
  257|       |      }
  258|       |      else if constexpr (N == 7) {
  259|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  260|       |         uint64_t in{};
  261|       |         std::memcpy(&in, other, 7);
  262|       |         if constexpr (std::endian::native == std::endian::big) {
  263|       |            in = std::byteswap(in);
  264|       |         }
  265|       |         return (in == packed);
  266|       |      }
  267|       |      else if constexpr (N == 6) {
  268|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  269|       |         uint64_t in{};
  270|       |         std::memcpy(&in, other, 6);
  271|       |         if constexpr (std::endian::native == std::endian::big) {
  272|       |            in = std::byteswap(in);
  273|       |         }
  274|       |         return (in == packed);
  275|       |      }
  276|       |      else if constexpr (N == 5) {
  277|       |         static constexpr auto packed = pack<Str, 4>();
  278|       |         uint32_t in;
  279|       |         std::memcpy(&in, other, 4);
  280|       |         if constexpr (std::endian::native == std::endian::big) {
  281|       |            in = std::byteswap(in);
  282|       |         }
  283|       |         return (in == packed) & (Str[4] == other[4]);
  284|       |      }
  285|       |      else if constexpr (N == 4) {
  286|       |         static constexpr auto packed = pack<Str, 4>();
  287|       |         uint32_t in;
  288|       |         std::memcpy(&in, other, 4);
  289|       |         if constexpr (std::endian::native == std::endian::big) {
  290|       |            in = std::byteswap(in);
  291|       |         }
  292|       |         return (in == packed);
  293|       |      }
  294|       |      else if constexpr (N == 3) {
  295|       |         static constexpr auto packed = pack<Str, 2>();
  296|       |         uint16_t in;
  297|       |         std::memcpy(&in, other, 2);
  298|       |         if constexpr (std::endian::native == std::endian::big) {
  299|       |            in = std::byteswap(in);
  300|       |         }
  301|       |         return (in == packed) & (Str[2] == other[2]);
  302|       |      }
  303|  10.2k|      else if constexpr (N == 2) {
  304|  10.2k|         static constexpr auto packed = pack<Str, 2>();
  305|  10.2k|         uint16_t in;
  306|  10.2k|         std::memcpy(&in, other, 2);
  307|       |         if constexpr (std::endian::native == std::endian::big) {
  308|       |            in = std::byteswap(in);
  309|       |         }
  310|  10.2k|         return (in == packed);
  311|       |      }
  312|       |      else if constexpr (N == 1) {
  313|       |         return Str[0] == other[0];
  314|       |      }
  315|       |      else if constexpr (N == 0) {
  316|       |         return true;
  317|       |      }
  318|       |      else {
  319|       |         // Clang and GCC optimize this extremely well for constexpr std::string_view
  320|       |         // Packing data can create more binary on GCC
  321|       |         // The other cases probably aren't needed as compiler explorer shows them optimized equally well as memcmp
  322|       |         return 0 == std::memcmp(Str.data(), other, N);
  323|       |      }
  324|  10.2k|   }
_ZN3glz10comparitorIL_ZZNS_12decode_indexITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structLm1ERS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT2_OT4_OT5_OT6_DpOT3_E15KeyWithEndQuoteELm2EcEEbPKT1_:
  245|  14.3k|   {
  246|       |      // pack() builds values in little-endian order (byte 0 in LSB position).
  247|       |      // On big-endian systems, memcpy produces native (big-endian) values,
  248|       |      // so we need to byteswap to match the packed representation.
  249|       |      if constexpr (N == 8) {
  250|       |         static constexpr auto packed = pack<Str, 8>();
  251|       |         uint64_t in;
  252|       |         std::memcpy(&in, other, 8);
  253|       |         if constexpr (std::endian::native == std::endian::big) {
  254|       |            in = std::byteswap(in);
  255|       |         }
  256|       |         return (in == packed);
  257|       |      }
  258|       |      else if constexpr (N == 7) {
  259|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  260|       |         uint64_t in{};
  261|       |         std::memcpy(&in, other, 7);
  262|       |         if constexpr (std::endian::native == std::endian::big) {
  263|       |            in = std::byteswap(in);
  264|       |         }
  265|       |         return (in == packed);
  266|       |      }
  267|       |      else if constexpr (N == 6) {
  268|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  269|       |         uint64_t in{};
  270|       |         std::memcpy(&in, other, 6);
  271|       |         if constexpr (std::endian::native == std::endian::big) {
  272|       |            in = std::byteswap(in);
  273|       |         }
  274|       |         return (in == packed);
  275|       |      }
  276|       |      else if constexpr (N == 5) {
  277|       |         static constexpr auto packed = pack<Str, 4>();
  278|       |         uint32_t in;
  279|       |         std::memcpy(&in, other, 4);
  280|       |         if constexpr (std::endian::native == std::endian::big) {
  281|       |            in = std::byteswap(in);
  282|       |         }
  283|       |         return (in == packed) & (Str[4] == other[4]);
  284|       |      }
  285|       |      else if constexpr (N == 4) {
  286|       |         static constexpr auto packed = pack<Str, 4>();
  287|       |         uint32_t in;
  288|       |         std::memcpy(&in, other, 4);
  289|       |         if constexpr (std::endian::native == std::endian::big) {
  290|       |            in = std::byteswap(in);
  291|       |         }
  292|       |         return (in == packed);
  293|       |      }
  294|       |      else if constexpr (N == 3) {
  295|       |         static constexpr auto packed = pack<Str, 2>();
  296|       |         uint16_t in;
  297|       |         std::memcpy(&in, other, 2);
  298|       |         if constexpr (std::endian::native == std::endian::big) {
  299|       |            in = std::byteswap(in);
  300|       |         }
  301|       |         return (in == packed) & (Str[2] == other[2]);
  302|       |      }
  303|  14.3k|      else if constexpr (N == 2) {
  304|  14.3k|         static constexpr auto packed = pack<Str, 2>();
  305|  14.3k|         uint16_t in;
  306|  14.3k|         std::memcpy(&in, other, 2);
  307|       |         if constexpr (std::endian::native == std::endian::big) {
  308|       |            in = std::byteswap(in);
  309|       |         }
  310|  14.3k|         return (in == packed);
  311|       |      }
  312|       |      else if constexpr (N == 1) {
  313|       |         return Str[0] == other[0];
  314|       |      }
  315|       |      else if constexpr (N == 0) {
  316|       |         return true;
  317|       |      }
  318|       |      else {
  319|       |         // Clang and GCC optimize this extremely well for constexpr std::string_view
  320|       |         // Packing data can create more binary on GCC
  321|       |         // The other cases probably aren't needed as compiler explorer shows them optimized equally well as memcmp
  322|       |         return 0 == std::memcmp(Str.data(), other, N);
  323|       |      }
  324|  14.3k|   }
_ZN3glz10comparitorIL_ZZNS_12decode_indexITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structLm2ERS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT2_OT4_OT5_OT6_DpOT3_E15KeyWithEndQuoteELm6EcEEbPKT1_:
  245|  4.80k|   {
  246|       |      // pack() builds values in little-endian order (byte 0 in LSB position).
  247|       |      // On big-endian systems, memcpy produces native (big-endian) values,
  248|       |      // so we need to byteswap to match the packed representation.
  249|       |      if constexpr (N == 8) {
  250|       |         static constexpr auto packed = pack<Str, 8>();
  251|       |         uint64_t in;
  252|       |         std::memcpy(&in, other, 8);
  253|       |         if constexpr (std::endian::native == std::endian::big) {
  254|       |            in = std::byteswap(in);
  255|       |         }
  256|       |         return (in == packed);
  257|       |      }
  258|       |      else if constexpr (N == 7) {
  259|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  260|       |         uint64_t in{};
  261|       |         std::memcpy(&in, other, 7);
  262|       |         if constexpr (std::endian::native == std::endian::big) {
  263|       |            in = std::byteswap(in);
  264|       |         }
  265|       |         return (in == packed);
  266|       |      }
  267|  4.80k|      else if constexpr (N == 6) {
  268|  4.80k|         static constexpr auto packed = pack_buffered<Str, 8>();
  269|  4.80k|         uint64_t in{};
  270|  4.80k|         std::memcpy(&in, other, 6);
  271|       |         if constexpr (std::endian::native == std::endian::big) {
  272|       |            in = std::byteswap(in);
  273|       |         }
  274|  4.80k|         return (in == packed);
  275|       |      }
  276|       |      else if constexpr (N == 5) {
  277|       |         static constexpr auto packed = pack<Str, 4>();
  278|       |         uint32_t in;
  279|       |         std::memcpy(&in, other, 4);
  280|       |         if constexpr (std::endian::native == std::endian::big) {
  281|       |            in = std::byteswap(in);
  282|       |         }
  283|       |         return (in == packed) & (Str[4] == other[4]);
  284|       |      }
  285|       |      else if constexpr (N == 4) {
  286|       |         static constexpr auto packed = pack<Str, 4>();
  287|       |         uint32_t in;
  288|       |         std::memcpy(&in, other, 4);
  289|       |         if constexpr (std::endian::native == std::endian::big) {
  290|       |            in = std::byteswap(in);
  291|       |         }
  292|       |         return (in == packed);
  293|       |      }
  294|       |      else if constexpr (N == 3) {
  295|       |         static constexpr auto packed = pack<Str, 2>();
  296|       |         uint16_t in;
  297|       |         std::memcpy(&in, other, 2);
  298|       |         if constexpr (std::endian::native == std::endian::big) {
  299|       |            in = std::byteswap(in);
  300|       |         }
  301|       |         return (in == packed) & (Str[2] == other[2]);
  302|       |      }
  303|       |      else if constexpr (N == 2) {
  304|       |         static constexpr auto packed = pack<Str, 2>();
  305|       |         uint16_t in;
  306|       |         std::memcpy(&in, other, 2);
  307|       |         if constexpr (std::endian::native == std::endian::big) {
  308|       |            in = std::byteswap(in);
  309|       |         }
  310|       |         return (in == packed);
  311|       |      }
  312|       |      else if constexpr (N == 1) {
  313|       |         return Str[0] == other[0];
  314|       |      }
  315|       |      else if constexpr (N == 0) {
  316|       |         return true;
  317|       |      }
  318|       |      else {
  319|       |         // Clang and GCC optimize this extremely well for constexpr std::string_view
  320|       |         // Packing data can create more binary on GCC
  321|       |         // The other cases probably aren't needed as compiler explorer shows them optimized equally well as memcmp
  322|       |         return 0 == std::memcmp(Str.data(), other, N);
  323|       |      }
  324|  4.80k|   }
_ZN3glz10comparitorIL_ZZNS_12decode_indexITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structLm3ERS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT2_OT4_OT5_OT6_DpOT3_E15KeyWithEndQuoteELm4EcEEbPKT1_:
  245|  9.05k|   {
  246|       |      // pack() builds values in little-endian order (byte 0 in LSB position).
  247|       |      // On big-endian systems, memcpy produces native (big-endian) values,
  248|       |      // so we need to byteswap to match the packed representation.
  249|       |      if constexpr (N == 8) {
  250|       |         static constexpr auto packed = pack<Str, 8>();
  251|       |         uint64_t in;
  252|       |         std::memcpy(&in, other, 8);
  253|       |         if constexpr (std::endian::native == std::endian::big) {
  254|       |            in = std::byteswap(in);
  255|       |         }
  256|       |         return (in == packed);
  257|       |      }
  258|       |      else if constexpr (N == 7) {
  259|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  260|       |         uint64_t in{};
  261|       |         std::memcpy(&in, other, 7);
  262|       |         if constexpr (std::endian::native == std::endian::big) {
  263|       |            in = std::byteswap(in);
  264|       |         }
  265|       |         return (in == packed);
  266|       |      }
  267|       |      else if constexpr (N == 6) {
  268|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  269|       |         uint64_t in{};
  270|       |         std::memcpy(&in, other, 6);
  271|       |         if constexpr (std::endian::native == std::endian::big) {
  272|       |            in = std::byteswap(in);
  273|       |         }
  274|       |         return (in == packed);
  275|       |      }
  276|       |      else if constexpr (N == 5) {
  277|       |         static constexpr auto packed = pack<Str, 4>();
  278|       |         uint32_t in;
  279|       |         std::memcpy(&in, other, 4);
  280|       |         if constexpr (std::endian::native == std::endian::big) {
  281|       |            in = std::byteswap(in);
  282|       |         }
  283|       |         return (in == packed) & (Str[4] == other[4]);
  284|       |      }
  285|  9.05k|      else if constexpr (N == 4) {
  286|  9.05k|         static constexpr auto packed = pack<Str, 4>();
  287|  9.05k|         uint32_t in;
  288|  9.05k|         std::memcpy(&in, other, 4);
  289|       |         if constexpr (std::endian::native == std::endian::big) {
  290|       |            in = std::byteswap(in);
  291|       |         }
  292|  9.05k|         return (in == packed);
  293|       |      }
  294|       |      else if constexpr (N == 3) {
  295|       |         static constexpr auto packed = pack<Str, 2>();
  296|       |         uint16_t in;
  297|       |         std::memcpy(&in, other, 2);
  298|       |         if constexpr (std::endian::native == std::endian::big) {
  299|       |            in = std::byteswap(in);
  300|       |         }
  301|       |         return (in == packed) & (Str[2] == other[2]);
  302|       |      }
  303|       |      else if constexpr (N == 2) {
  304|       |         static constexpr auto packed = pack<Str, 2>();
  305|       |         uint16_t in;
  306|       |         std::memcpy(&in, other, 2);
  307|       |         if constexpr (std::endian::native == std::endian::big) {
  308|       |            in = std::byteswap(in);
  309|       |         }
  310|       |         return (in == packed);
  311|       |      }
  312|       |      else if constexpr (N == 1) {
  313|       |         return Str[0] == other[0];
  314|       |      }
  315|       |      else if constexpr (N == 0) {
  316|       |         return true;
  317|       |      }
  318|       |      else {
  319|       |         // Clang and GCC optimize this extremely well for constexpr std::string_view
  320|       |         // Packing data can create more binary on GCC
  321|       |         // The other cases probably aren't needed as compiler explorer shows them optimized equally well as memcmp
  322|       |         return 0 == std::memcmp(Str.data(), other, N);
  323|       |      }
  324|  9.05k|   }
_ZN3glz10comparitorIL_ZZNS_12decode_indexITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structLm0ERS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT2_OT4_OT5_OT6_DpOT3_E15KeyWithEndQuoteELm2EcEEbPKT1_:
  245|  10.2k|   {
  246|       |      // pack() builds values in little-endian order (byte 0 in LSB position).
  247|       |      // On big-endian systems, memcpy produces native (big-endian) values,
  248|       |      // so we need to byteswap to match the packed representation.
  249|       |      if constexpr (N == 8) {
  250|       |         static constexpr auto packed = pack<Str, 8>();
  251|       |         uint64_t in;
  252|       |         std::memcpy(&in, other, 8);
  253|       |         if constexpr (std::endian::native == std::endian::big) {
  254|       |            in = std::byteswap(in);
  255|       |         }
  256|       |         return (in == packed);
  257|       |      }
  258|       |      else if constexpr (N == 7) {
  259|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  260|       |         uint64_t in{};
  261|       |         std::memcpy(&in, other, 7);
  262|       |         if constexpr (std::endian::native == std::endian::big) {
  263|       |            in = std::byteswap(in);
  264|       |         }
  265|       |         return (in == packed);
  266|       |      }
  267|       |      else if constexpr (N == 6) {
  268|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  269|       |         uint64_t in{};
  270|       |         std::memcpy(&in, other, 6);
  271|       |         if constexpr (std::endian::native == std::endian::big) {
  272|       |            in = std::byteswap(in);
  273|       |         }
  274|       |         return (in == packed);
  275|       |      }
  276|       |      else if constexpr (N == 5) {
  277|       |         static constexpr auto packed = pack<Str, 4>();
  278|       |         uint32_t in;
  279|       |         std::memcpy(&in, other, 4);
  280|       |         if constexpr (std::endian::native == std::endian::big) {
  281|       |            in = std::byteswap(in);
  282|       |         }
  283|       |         return (in == packed) & (Str[4] == other[4]);
  284|       |      }
  285|       |      else if constexpr (N == 4) {
  286|       |         static constexpr auto packed = pack<Str, 4>();
  287|       |         uint32_t in;
  288|       |         std::memcpy(&in, other, 4);
  289|       |         if constexpr (std::endian::native == std::endian::big) {
  290|       |            in = std::byteswap(in);
  291|       |         }
  292|       |         return (in == packed);
  293|       |      }
  294|       |      else if constexpr (N == 3) {
  295|       |         static constexpr auto packed = pack<Str, 2>();
  296|       |         uint16_t in;
  297|       |         std::memcpy(&in, other, 2);
  298|       |         if constexpr (std::endian::native == std::endian::big) {
  299|       |            in = std::byteswap(in);
  300|       |         }
  301|       |         return (in == packed) & (Str[2] == other[2]);
  302|       |      }
  303|  10.2k|      else if constexpr (N == 2) {
  304|  10.2k|         static constexpr auto packed = pack<Str, 2>();
  305|  10.2k|         uint16_t in;
  306|  10.2k|         std::memcpy(&in, other, 2);
  307|       |         if constexpr (std::endian::native == std::endian::big) {
  308|       |            in = std::byteswap(in);
  309|       |         }
  310|  10.2k|         return (in == packed);
  311|       |      }
  312|       |      else if constexpr (N == 1) {
  313|       |         return Str[0] == other[0];
  314|       |      }
  315|       |      else if constexpr (N == 0) {
  316|       |         return true;
  317|       |      }
  318|       |      else {
  319|       |         // Clang and GCC optimize this extremely well for constexpr std::string_view
  320|       |         // Packing data can create more binary on GCC
  321|       |         // The other cases probably aren't needed as compiler explorer shows them optimized equally well as memcmp
  322|       |         return 0 == std::memcmp(Str.data(), other, N);
  323|       |      }
  324|  10.2k|   }
_ZN3glz10comparitorIL_ZZNS_12decode_indexITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structLm1ERS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT2_OT4_OT5_OT6_DpOT3_E15KeyWithEndQuoteELm2EcEEbPKT1_:
  245|  14.5k|   {
  246|       |      // pack() builds values in little-endian order (byte 0 in LSB position).
  247|       |      // On big-endian systems, memcpy produces native (big-endian) values,
  248|       |      // so we need to byteswap to match the packed representation.
  249|       |      if constexpr (N == 8) {
  250|       |         static constexpr auto packed = pack<Str, 8>();
  251|       |         uint64_t in;
  252|       |         std::memcpy(&in, other, 8);
  253|       |         if constexpr (std::endian::native == std::endian::big) {
  254|       |            in = std::byteswap(in);
  255|       |         }
  256|       |         return (in == packed);
  257|       |      }
  258|       |      else if constexpr (N == 7) {
  259|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  260|       |         uint64_t in{};
  261|       |         std::memcpy(&in, other, 7);
  262|       |         if constexpr (std::endian::native == std::endian::big) {
  263|       |            in = std::byteswap(in);
  264|       |         }
  265|       |         return (in == packed);
  266|       |      }
  267|       |      else if constexpr (N == 6) {
  268|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  269|       |         uint64_t in{};
  270|       |         std::memcpy(&in, other, 6);
  271|       |         if constexpr (std::endian::native == std::endian::big) {
  272|       |            in = std::byteswap(in);
  273|       |         }
  274|       |         return (in == packed);
  275|       |      }
  276|       |      else if constexpr (N == 5) {
  277|       |         static constexpr auto packed = pack<Str, 4>();
  278|       |         uint32_t in;
  279|       |         std::memcpy(&in, other, 4);
  280|       |         if constexpr (std::endian::native == std::endian::big) {
  281|       |            in = std::byteswap(in);
  282|       |         }
  283|       |         return (in == packed) & (Str[4] == other[4]);
  284|       |      }
  285|       |      else if constexpr (N == 4) {
  286|       |         static constexpr auto packed = pack<Str, 4>();
  287|       |         uint32_t in;
  288|       |         std::memcpy(&in, other, 4);
  289|       |         if constexpr (std::endian::native == std::endian::big) {
  290|       |            in = std::byteswap(in);
  291|       |         }
  292|       |         return (in == packed);
  293|       |      }
  294|       |      else if constexpr (N == 3) {
  295|       |         static constexpr auto packed = pack<Str, 2>();
  296|       |         uint16_t in;
  297|       |         std::memcpy(&in, other, 2);
  298|       |         if constexpr (std::endian::native == std::endian::big) {
  299|       |            in = std::byteswap(in);
  300|       |         }
  301|       |         return (in == packed) & (Str[2] == other[2]);
  302|       |      }
  303|  14.5k|      else if constexpr (N == 2) {
  304|  14.5k|         static constexpr auto packed = pack<Str, 2>();
  305|  14.5k|         uint16_t in;
  306|  14.5k|         std::memcpy(&in, other, 2);
  307|       |         if constexpr (std::endian::native == std::endian::big) {
  308|       |            in = std::byteswap(in);
  309|       |         }
  310|  14.5k|         return (in == packed);
  311|       |      }
  312|       |      else if constexpr (N == 1) {
  313|       |         return Str[0] == other[0];
  314|       |      }
  315|       |      else if constexpr (N == 0) {
  316|       |         return true;
  317|       |      }
  318|       |      else {
  319|       |         // Clang and GCC optimize this extremely well for constexpr std::string_view
  320|       |         // Packing data can create more binary on GCC
  321|       |         // The other cases probably aren't needed as compiler explorer shows them optimized equally well as memcmp
  322|       |         return 0 == std::memcmp(Str.data(), other, N);
  323|       |      }
  324|  14.5k|   }
_ZN3glz10comparitorIL_ZZNS_12decode_indexITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structLm2ERS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT2_OT4_OT5_OT6_DpOT3_E15KeyWithEndQuoteELm6EcEEbPKT1_:
  245|  4.82k|   {
  246|       |      // pack() builds values in little-endian order (byte 0 in LSB position).
  247|       |      // On big-endian systems, memcpy produces native (big-endian) values,
  248|       |      // so we need to byteswap to match the packed representation.
  249|       |      if constexpr (N == 8) {
  250|       |         static constexpr auto packed = pack<Str, 8>();
  251|       |         uint64_t in;
  252|       |         std::memcpy(&in, other, 8);
  253|       |         if constexpr (std::endian::native == std::endian::big) {
  254|       |            in = std::byteswap(in);
  255|       |         }
  256|       |         return (in == packed);
  257|       |      }
  258|       |      else if constexpr (N == 7) {
  259|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  260|       |         uint64_t in{};
  261|       |         std::memcpy(&in, other, 7);
  262|       |         if constexpr (std::endian::native == std::endian::big) {
  263|       |            in = std::byteswap(in);
  264|       |         }
  265|       |         return (in == packed);
  266|       |      }
  267|  4.82k|      else if constexpr (N == 6) {
  268|  4.82k|         static constexpr auto packed = pack_buffered<Str, 8>();
  269|  4.82k|         uint64_t in{};
  270|  4.82k|         std::memcpy(&in, other, 6);
  271|       |         if constexpr (std::endian::native == std::endian::big) {
  272|       |            in = std::byteswap(in);
  273|       |         }
  274|  4.82k|         return (in == packed);
  275|       |      }
  276|       |      else if constexpr (N == 5) {
  277|       |         static constexpr auto packed = pack<Str, 4>();
  278|       |         uint32_t in;
  279|       |         std::memcpy(&in, other, 4);
  280|       |         if constexpr (std::endian::native == std::endian::big) {
  281|       |            in = std::byteswap(in);
  282|       |         }
  283|       |         return (in == packed) & (Str[4] == other[4]);
  284|       |      }
  285|       |      else if constexpr (N == 4) {
  286|       |         static constexpr auto packed = pack<Str, 4>();
  287|       |         uint32_t in;
  288|       |         std::memcpy(&in, other, 4);
  289|       |         if constexpr (std::endian::native == std::endian::big) {
  290|       |            in = std::byteswap(in);
  291|       |         }
  292|       |         return (in == packed);
  293|       |      }
  294|       |      else if constexpr (N == 3) {
  295|       |         static constexpr auto packed = pack<Str, 2>();
  296|       |         uint16_t in;
  297|       |         std::memcpy(&in, other, 2);
  298|       |         if constexpr (std::endian::native == std::endian::big) {
  299|       |            in = std::byteswap(in);
  300|       |         }
  301|       |         return (in == packed) & (Str[2] == other[2]);
  302|       |      }
  303|       |      else if constexpr (N == 2) {
  304|       |         static constexpr auto packed = pack<Str, 2>();
  305|       |         uint16_t in;
  306|       |         std::memcpy(&in, other, 2);
  307|       |         if constexpr (std::endian::native == std::endian::big) {
  308|       |            in = std::byteswap(in);
  309|       |         }
  310|       |         return (in == packed);
  311|       |      }
  312|       |      else if constexpr (N == 1) {
  313|       |         return Str[0] == other[0];
  314|       |      }
  315|       |      else if constexpr (N == 0) {
  316|       |         return true;
  317|       |      }
  318|       |      else {
  319|       |         // Clang and GCC optimize this extremely well for constexpr std::string_view
  320|       |         // Packing data can create more binary on GCC
  321|       |         // The other cases probably aren't needed as compiler explorer shows them optimized equally well as memcmp
  322|       |         return 0 == std::memcmp(Str.data(), other, N);
  323|       |      }
  324|  4.82k|   }
_ZN3glz10comparitorIL_ZZNS_12decode_indexITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structLm3ERS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT2_OT4_OT5_OT6_DpOT3_E15KeyWithEndQuoteELm4EcEEbPKT1_:
  245|  9.05k|   {
  246|       |      // pack() builds values in little-endian order (byte 0 in LSB position).
  247|       |      // On big-endian systems, memcpy produces native (big-endian) values,
  248|       |      // so we need to byteswap to match the packed representation.
  249|       |      if constexpr (N == 8) {
  250|       |         static constexpr auto packed = pack<Str, 8>();
  251|       |         uint64_t in;
  252|       |         std::memcpy(&in, other, 8);
  253|       |         if constexpr (std::endian::native == std::endian::big) {
  254|       |            in = std::byteswap(in);
  255|       |         }
  256|       |         return (in == packed);
  257|       |      }
  258|       |      else if constexpr (N == 7) {
  259|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  260|       |         uint64_t in{};
  261|       |         std::memcpy(&in, other, 7);
  262|       |         if constexpr (std::endian::native == std::endian::big) {
  263|       |            in = std::byteswap(in);
  264|       |         }
  265|       |         return (in == packed);
  266|       |      }
  267|       |      else if constexpr (N == 6) {
  268|       |         static constexpr auto packed = pack_buffered<Str, 8>();
  269|       |         uint64_t in{};
  270|       |         std::memcpy(&in, other, 6);
  271|       |         if constexpr (std::endian::native == std::endian::big) {
  272|       |            in = std::byteswap(in);
  273|       |         }
  274|       |         return (in == packed);
  275|       |      }
  276|       |      else if constexpr (N == 5) {
  277|       |         static constexpr auto packed = pack<Str, 4>();
  278|       |         uint32_t in;
  279|       |         std::memcpy(&in, other, 4);
  280|       |         if constexpr (std::endian::native == std::endian::big) {
  281|       |            in = std::byteswap(in);
  282|       |         }
  283|       |         return (in == packed) & (Str[4] == other[4]);
  284|       |      }
  285|  9.05k|      else if constexpr (N == 4) {
  286|  9.05k|         static constexpr auto packed = pack<Str, 4>();
  287|  9.05k|         uint32_t in;
  288|  9.05k|         std::memcpy(&in, other, 4);
  289|       |         if constexpr (std::endian::native == std::endian::big) {
  290|       |            in = std::byteswap(in);
  291|       |         }
  292|  9.05k|         return (in == packed);
  293|       |      }
  294|       |      else if constexpr (N == 3) {
  295|       |         static constexpr auto packed = pack<Str, 2>();
  296|       |         uint16_t in;
  297|       |         std::memcpy(&in, other, 2);
  298|       |         if constexpr (std::endian::native == std::endian::big) {
  299|       |            in = std::byteswap(in);
  300|       |         }
  301|       |         return (in == packed) & (Str[2] == other[2]);
  302|       |      }
  303|       |      else if constexpr (N == 2) {
  304|       |         static constexpr auto packed = pack<Str, 2>();
  305|       |         uint16_t in;
  306|       |         std::memcpy(&in, other, 2);
  307|       |         if constexpr (std::endian::native == std::endian::big) {
  308|       |            in = std::byteswap(in);
  309|       |         }
  310|       |         return (in == packed);
  311|       |      }
  312|       |      else if constexpr (N == 1) {
  313|       |         return Str[0] == other[0];
  314|       |      }
  315|       |      else if constexpr (N == 0) {
  316|       |         return true;
  317|       |      }
  318|       |      else {
  319|       |         // Clang and GCC optimize this extremely well for constexpr std::string_view
  320|       |         // Packing data can create more binary on GCC
  321|       |         // The other cases probably aren't needed as compiler explorer shows them optimized equally well as memcmp
  322|       |         return 0 == std::memcmp(Str.data(), other, N);
  323|       |      }
  324|  9.05k|   }

_ZN3glz10fast_float4spanIKcEC2Ev:
  438|  57.6k|  constexpr span() : ptr(nullptr), length(0) {}
_ZN3glz10fast_float10is_integerIcEEbT_:
 1481|  1.31k|fastfloat_really_inline constexpr bool is_integer(UC c) noexcept {
 1482|  1.31k|  return !(c > UC('9') || c < UC('0'));
  ------------------
  |  Branch (1482:12): [True: 2, False: 1.31k]
  |  Branch (1482:27): [True: 29, False: 1.28k]
  ------------------
 1483|  1.31k|}
_ZN3glz10fast_float11digit_valueIcEEmT_:
 1489|  7.02M|fastfloat_really_inline constexpr uint64_t digit_value(UC c) noexcept {
 1490|  7.02M|  return uint64_t(uint8_t(c) - uint8_t('0'));
 1491|  7.02M|}
_ZN3glz10fast_float4spanIKcEC2EPS2_m:
  436|  40.3k|  constexpr span(T const *_ptr, size_t _length) : ptr(_ptr), length(_length) {}
_ZN3glz10fast_float26loop_parse_if_eight_digitsERPKcS2_Rm:
 1679|  11.5k|                           uint64_t &i) {
 1680|       |  // optimizes better than parse_if_eight_digits_unrolled() for UC = char.
 1681|  2.80M|  while ((std::distance(p, pend) >= 8) &&
  ------------------
  |  Branch (1681:10): [True: 2.80M, False: 2.32k]
  ------------------
 1682|  2.80M|         is_made_of_eight_digits_fast(read8_to_u64(p))) {
  ------------------
  |  Branch (1682:10): [True: 2.79M, False: 9.20k]
  ------------------
 1683|  2.79M|    i = i * 100000000 +
 1684|  2.79M|        parse_eight_digits_unrolled(read8_to_u64(
 1685|  2.79M|            p)); // in rare cases, this will overflow, but that's ok
 1686|  2.79M|    p += 8;
 1687|  2.79M|  }
 1688|  11.5k|}
_ZN3glz10fast_float28is_made_of_eight_digits_fastEm:
 1597|  2.80M|is_made_of_eight_digits_fast(uint64_t val) noexcept {
 1598|  2.80M|  return !((((val + 0x4646464646464646) | (val - 0x3030303030303030)) &
 1599|  2.80M|            0x8080808080808080));
 1600|  2.80M|}
_ZN3glz10fast_float12read8_to_u64IcEEmPKT_:
 1503|  5.99M|read8_to_u64(UC const *chars) {
 1504|  5.99M|  if (cpp20_and_in_constexpr() || !std::is_same<UC, char>::value) {
  ------------------
  |  Branch (1504:7): [Folded, False: 0]
  |  Branch (1504:35): [Folded, False: 0]
  ------------------
 1505|      0|    uint64_t val = 0;
 1506|      0|    for (int i = 0; i < 8; ++i) {
  ------------------
  |  Branch (1506:21): [True: 0, False: 0]
  ------------------
 1507|      0|      val |= uint64_t(uint8_t(*chars)) << (i * 8);
 1508|      0|      ++chars;
 1509|      0|    }
 1510|      0|    return val;
 1511|      0|  }
 1512|  5.99M|  uint64_t val;
 1513|  5.99M|  ::memcpy(&val, chars, sizeof(uint64_t));
 1514|       |#if GLZ_FASTFLOAT_IS_BIG_ENDIAN == 1
 1515|       |  // Need to read as-if the number was in little-endian order.
 1516|       |  val = byteswap(val);
 1517|       |#endif
 1518|  5.99M|  return val;
 1519|  5.99M|}
_ZN3glz10fast_float27parse_eight_digits_unrolledEm:
 1575|  3.19M|parse_eight_digits_unrolled(uint64_t val) {
 1576|  3.19M|  uint64_t const mask = 0x000000FF000000FF;
 1577|  3.19M|  uint64_t const mul1 = 0x000F424000000064; // 100 + (1000000ULL << 32)
 1578|  3.19M|  uint64_t const mul2 = 0x0000271000000001; // 1 + (10000ULL << 32)
 1579|  3.19M|  val -= 0x3030303030303030;
 1580|  3.19M|  val = (val * 10) + (val >> 8); // val = (val * 2561) >> 8;
 1581|  3.19M|  val = (((val & mask) * mul1) + (((val >> 16) & mask) * mul2)) >> 32;
 1582|  3.19M|  return uint32_t(val);
 1583|  3.19M|}
_ZNK3glz10fast_float4spanIKcE3lenEv:
  440|  42.5k|  constexpr size_t len() const noexcept { return length; }
_ZN3glz10fast_float19from_chars_advancedIdcEENS0_19from_chars_result_tIT0_EERNS0_22parsed_number_string_tIS3_EERT_:
 4249|  28.5k|from_chars_advanced(parsed_number_string_t<UC> &pns, T &value) noexcept {
 4250|       |
 4251|  28.5k|  static_assert(is_supported_float_type<T>::value,
 4252|  28.5k|                "only some floating-point types are supported");
 4253|  28.5k|  static_assert(is_supported_char_type<UC>::value,
 4254|  28.5k|                "only char, wchar_t, char16_t and char32_t are supported");
 4255|       |
 4256|  28.5k|  from_chars_result_t<UC> answer;
 4257|       |
 4258|  28.5k|  answer.ec = std::errc(); // be optimistic
 4259|  28.5k|  answer.ptr = pns.lastmatch;
 4260|       |  // The implementation of the Clinger's fast path is convoluted because
 4261|       |  // we want round-to-nearest in all cases, irrespective of the rounding mode
 4262|       |  // selected on the thread.
 4263|       |  // We proceed optimistically, assuming that detail::rounds_to_nearest()
 4264|       |  // returns true.
 4265|  28.5k|  if (binary_format<T>::min_exponent_fast_path() <= pns.exponent &&
  ------------------
  |  Branch (4265:7): [True: 23.8k, False: 4.72k]
  ------------------
 4266|  23.8k|      pns.exponent <= binary_format<T>::max_exponent_fast_path() &&
  ------------------
  |  Branch (4266:7): [True: 19.0k, False: 4.77k]
  ------------------
 4267|  19.0k|      !pns.too_many_digits) {
  ------------------
  |  Branch (4267:7): [True: 10.5k, False: 8.56k]
  ------------------
 4268|       |    // Unfortunately, the conventional Clinger's fast path is only possible
 4269|       |    // when the system rounds to the nearest float.
 4270|       |    //
 4271|       |    // We expect the next branch to almost always be selected.
 4272|       |    // We could check it first (before the previous branch), but
 4273|       |    // there might be performance advantages at having the check
 4274|       |    // be last.
 4275|  10.5k|    if (!cpp20_and_in_constexpr() && detail::rounds_to_nearest()) {
  ------------------
  |  Branch (4275:9): [True: 10.5k, Folded]
  |  Branch (4275:38): [True: 10.5k, False: 0]
  ------------------
 4276|       |      // We have that fegetround() == FE_TONEAREST.
 4277|       |      // Next is Clinger's fast path.
 4278|  10.5k|      if (pns.mantissa <= binary_format<T>::max_mantissa_fast_path()) {
  ------------------
  |  Branch (4278:11): [True: 9.37k, False: 1.12k]
  ------------------
 4279|  9.37k|        value = T(pns.mantissa);
 4280|  9.37k|        if (pns.exponent < 0) {
  ------------------
  |  Branch (4280:13): [True: 1.99k, False: 7.38k]
  ------------------
 4281|  1.99k|          value = value / binary_format<T>::exact_power_of_ten(-pns.exponent);
 4282|  7.38k|        } else {
 4283|  7.38k|          value = value * binary_format<T>::exact_power_of_ten(pns.exponent);
 4284|  7.38k|        }
 4285|  9.37k|        if (pns.negative) {
  ------------------
  |  Branch (4285:13): [True: 594, False: 8.78k]
  ------------------
 4286|    594|          value = -value;
 4287|    594|        }
 4288|  9.37k|        return answer;
 4289|  9.37k|      }
 4290|  10.5k|    } else {
 4291|       |      // We do not have that fegetround() == FE_TONEAREST.
 4292|       |      // Next is a modified Clinger's fast path, inspired by Jakub Jelínek's
 4293|       |      // proposal
 4294|      0|      if (pns.exponent >= 0 &&
  ------------------
  |  Branch (4294:11): [True: 0, False: 0]
  ------------------
 4295|      0|          pns.mantissa <=
  ------------------
  |  Branch (4295:11): [True: 0, False: 0]
  ------------------
 4296|      0|              binary_format<T>::max_mantissa_fast_path(pns.exponent)) {
 4297|      0|#if defined(__clang__) || defined(GLZ_FASTFLOAT_32BIT)
 4298|       |        // Clang may map 0 to -0.0 when fegetround() == FE_DOWNWARD
 4299|      0|        if (pns.mantissa == 0) {
  ------------------
  |  Branch (4299:13): [True: 0, False: 0]
  ------------------
 4300|      0|          value = pns.negative ? T(-0.) : T(0.);
  ------------------
  |  Branch (4300:19): [True: 0, False: 0]
  ------------------
 4301|      0|          return answer;
 4302|      0|        }
 4303|      0|#endif
 4304|      0|        value = T(pns.mantissa) *
 4305|      0|                binary_format<T>::exact_power_of_ten(pns.exponent);
 4306|      0|        if (pns.negative) {
  ------------------
  |  Branch (4306:13): [True: 0, False: 0]
  ------------------
 4307|      0|          value = -value;
 4308|      0|        }
 4309|      0|        return answer;
 4310|      0|      }
 4311|      0|    }
 4312|  10.5k|  }
 4313|  19.1k|  adjusted_mantissa am =
 4314|  19.1k|      compute_float<binary_format<T>>(pns.exponent, pns.mantissa);
 4315|  19.1k|  if (pns.too_many_digits && am.power2 >= 0) {
  ------------------
  |  Branch (4315:7): [True: 15.4k, False: 3.71k]
  |  Branch (4315:30): [True: 15.4k, False: 0]
  ------------------
 4316|  15.4k|    if (am != compute_float<binary_format<T>>(pns.exponent, pns.mantissa + 1)) {
  ------------------
  |  Branch (4316:9): [True: 13.3k, False: 2.12k]
  ------------------
 4317|  13.3k|      am = compute_error<binary_format<T>>(pns.exponent, pns.mantissa);
 4318|  13.3k|    }
 4319|  15.4k|  }
 4320|       |  // If we called compute_float<binary_format<T>>(pns.exponent, pns.mantissa)
 4321|       |  // and we have an invalid power (am.power2 < 0), then we need to go the long
 4322|       |  // way around again. This is very uncommon.
 4323|  19.1k|  if (am.power2 < 0) {
  ------------------
  |  Branch (4323:7): [True: 13.3k, False: 5.84k]
  ------------------
 4324|  13.3k|    am = digit_comp<T>(pns, am);
 4325|  13.3k|  }
 4326|  19.1k|  to_float(pns.negative, am, value);
 4327|       |  // Test for over/underflow.
 4328|  19.1k|  if ((pns.mantissa != 0 && am.mantissa == 0 && am.power2 == 0) ||
  ------------------
  |  Branch (4328:8): [True: 18.9k, False: 247]
  |  Branch (4328:29): [True: 2.19k, False: 16.7k]
  |  Branch (4328:49): [True: 161, False: 2.03k]
  ------------------
 4329|  19.0k|      am.power2 == binary_format<T>::infinite_power()) {
  ------------------
  |  Branch (4329:7): [True: 291, False: 18.7k]
  ------------------
 4330|    452|    answer.ec = std::errc::result_out_of_range;
 4331|    452|  }
 4332|  19.1k|  return answer;
 4333|  28.5k|}
_ZN3glz10fast_float13binary_formatIdE22min_exponent_fast_pathEv:
  695|  28.5k|inline constexpr int binary_format<double>::min_exponent_fast_path() {
  696|       |#if (FLT_EVAL_METHOD != 1) && (FLT_EVAL_METHOD != 0)
  697|       |  return 0;
  698|       |#else
  699|  28.5k|  return -22;
  700|  28.5k|#endif
  701|  28.5k|}
_ZN3glz10fast_float13binary_formatIdE22max_exponent_fast_pathEv:
  767|  23.8k|inline constexpr int binary_format<double>::max_exponent_fast_path() {
  768|  23.8k|  return 22;
  769|  23.8k|}
_ZN3glz10fast_float6detail17rounds_to_nearestEv:
 4129|  10.5k|fastfloat_really_inline bool rounds_to_nearest() noexcept {
 4130|       |  // https://lemire.me/blog/2020/06/26/gcc-not-nearest/
 4131|       |#if (FLT_EVAL_METHOD != 1) && (FLT_EVAL_METHOD != 0)
 4132|       |  return false;
 4133|       |#endif
 4134|       |  // See
 4135|       |  // A fast function to check your floating-point rounding mode
 4136|       |  // https://lemire.me/blog/2022/11/16/a-fast-function-to-check-your-floating-point-rounding-mode/
 4137|       |  //
 4138|       |  // This function is meant to be equivalent to :
 4139|       |  // prior: #include <cfenv>
 4140|       |  //  return fegetround() == FE_TONEAREST;
 4141|       |  // However, it is expected to be much faster than the fegetround()
 4142|       |  // function call.
 4143|       |  //
 4144|       |  // The volatile keyword prevents the compiler from computing the function
 4145|       |  // at compile-time.
 4146|       |  // There might be other ways to prevent compile-time optimizations (e.g.,
 4147|       |  // asm). The value does not need to be std::numeric_limits<float>::min(), any
 4148|       |  // small value so that 1 + x should round to 1 would do (after accounting for
 4149|       |  // excess precision, as in 387 instructions).
 4150|  10.5k|  static float volatile fmin = (std::numeric_limits<float>::min)();
 4151|  10.5k|  float fmini = fmin; // we copy it so that it gets loaded at most once.
 4152|       |//
 4153|       |// Explanation:
 4154|       |// Only when fegetround() == FE_TONEAREST do we have that
 4155|       |// fmin + 1.0f == 1.0f - fmin.
 4156|       |//
 4157|       |// FE_UPWARD:
 4158|       |//  fmin + 1.0f > 1
 4159|       |//  1.0f - fmin == 1
 4160|       |//
 4161|       |// FE_DOWNWARD or  FE_TOWARDZERO:
 4162|       |//  fmin + 1.0f == 1
 4163|       |//  1.0f - fmin < 1
 4164|       |//
 4165|       |// Note: This may fail to be accurate if fast-math has been
 4166|       |// enabled, as rounding conventions may not apply.
 4167|       |#ifdef GLZ_FASTFLOAT_VISUAL_STUDIO
 4168|       |#pragma warning(push)
 4169|       |//  todo: is there a VS warning?
 4170|       |//  see
 4171|       |//  https://stackoverflow.com/questions/46079446/is-there-a-warning-for-floating-point-equality-checking-in-visual-studio-2013
 4172|       |#elif defined(__clang__)
 4173|       |#pragma clang diagnostic push
 4174|  10.5k|#pragma clang diagnostic ignored "-Wfloat-equal"
 4175|       |#elif defined(__GNUC__)
 4176|       |#pragma GCC diagnostic push
 4177|       |#pragma GCC diagnostic ignored "-Wfloat-equal"
 4178|       |#endif
 4179|  10.5k|  return (fmini + 1.0f == 1.0f - fmini);
 4180|       |#ifdef GLZ_FASTFLOAT_VISUAL_STUDIO
 4181|       |#pragma warning(pop)
 4182|       |#elif defined(__clang__)
 4183|       |#pragma clang diagnostic pop
 4184|       |#elif defined(__GNUC__)
 4185|       |#pragma GCC diagnostic pop
 4186|       |#endif
 4187|  10.5k|}
_ZN3glz10fast_float13binary_formatIdE22max_mantissa_fast_pathEv:
  777|  10.5k|inline constexpr uint64_t binary_format<double>::max_mantissa_fast_path() {
  778|  10.5k|  return uint64_t(2) << mantissa_explicit_bits();
  779|  10.5k|}
_ZN3glz10fast_float13binary_formatIdE22mantissa_explicit_bitsEv:
  713|   239k|inline constexpr int binary_format<double>::mantissa_explicit_bits() {
  714|   239k|  return 52;
  715|   239k|}
_ZN3glz10fast_float13binary_formatIdE18exact_power_of_tenEl:
 1057|  9.37k|binary_format<double>::exact_power_of_ten(int64_t power) {
 1058|       |  // Work around clang bug https://godbolt.org/z/zedh7rrhc
 1059|  9.37k|  return (void)powers_of_ten[0], powers_of_ten[power];
 1060|  9.37k|}
_ZN3glz10fast_float13compute_floatINS0_13binary_formatIdEEEENS0_17adjusted_mantissaElm:
 2852|  34.6k|compute_float(int64_t q, uint64_t w) noexcept {
 2853|  34.6k|  adjusted_mantissa answer;
 2854|  34.6k|  if ((w == 0) || (q < binary::smallest_power_of_ten())) {
  ------------------
  |  Branch (2854:7): [True: 247, False: 34.4k]
  |  Branch (2854:19): [True: 197, False: 34.2k]
  ------------------
 2855|    444|    answer.power2 = 0;
 2856|    444|    answer.mantissa = 0;
 2857|       |    // result should be zero
 2858|    444|    return answer;
 2859|    444|  }
 2860|  34.2k|  if (q > binary::largest_power_of_ten()) {
  ------------------
  |  Branch (2860:7): [True: 358, False: 33.8k]
  ------------------
 2861|       |    // we want to get infinity:
 2862|    358|    answer.power2 = binary::infinite_power();
 2863|    358|    answer.mantissa = 0;
 2864|    358|    return answer;
 2865|    358|  }
 2866|       |  // At this point in time q is in [powers::smallest_power_of_five,
 2867|       |  // powers::largest_power_of_five].
 2868|       |
 2869|       |  // We want the most significant bit of i to be 1. Shift if needed.
 2870|  33.8k|  int lz = leading_zeroes(w);
 2871|  33.8k|  w <<= lz;
 2872|       |
 2873|       |  // The required precision is binary::mantissa_explicit_bits() + 3 because
 2874|       |  // 1. We need the implicit bit
 2875|       |  // 2. We need an extra bit for rounding purposes
 2876|       |  // 3. We might lose a bit due to the "upperbit" routine (result too small,
 2877|       |  // requiring a shift)
 2878|       |
 2879|  33.8k|  value128 product =
 2880|  33.8k|      compute_product_approximation<binary::mantissa_explicit_bits() + 3>(q, w);
 2881|       |  // The computed 'product' is always sufficient.
 2882|       |  // Mathematical proof:
 2883|       |  // Noble Mushtak and Daniel Lemire, Fast Number Parsing Without Fallback (to
 2884|       |  // appear) See script/mushtak_lemire.py
 2885|       |
 2886|       |  // The "compute_product_approximation" function can be slightly slower than a
 2887|       |  // branchless approach: value128 product = compute_product(q, w); but in
 2888|       |  // practice, we can win big with the compute_product_approximation if its
 2889|       |  // additional branch is easily predicted. Which is best is data specific.
 2890|  33.8k|  int upperbit = int(product.high >> 63);
 2891|  33.8k|  int shift = upperbit + 64 - binary::mantissa_explicit_bits() - 3;
 2892|       |
 2893|  33.8k|  answer.mantissa = product.high >> shift;
 2894|       |
 2895|  33.8k|  answer.power2 = int32_t(detail::power(int32_t(q)) + upperbit - lz -
 2896|  33.8k|                          binary::minimum_exponent());
 2897|  33.8k|  if (answer.power2 <= 0) { // we have a subnormal?
  ------------------
  |  Branch (2897:7): [True: 2.10k, False: 31.7k]
  ------------------
 2898|       |    // Here have that answer.power2 <= 0 so -answer.power2 >= 0
 2899|  2.10k|    if (-answer.power2 + 1 >=
  ------------------
  |  Branch (2899:9): [True: 9, False: 2.09k]
  ------------------
 2900|  2.10k|        64) { // if we have more than 64 bits below the minimum exponent, you
 2901|       |              // have a zero for sure.
 2902|      9|      answer.power2 = 0;
 2903|      9|      answer.mantissa = 0;
 2904|       |      // result should be zero
 2905|      9|      return answer;
 2906|      9|    }
 2907|       |    // next line is safe because -answer.power2 + 1 < 64
 2908|  2.09k|    answer.mantissa >>= -answer.power2 + 1;
 2909|       |    // Thankfully, we can't have both "round-to-even" and subnormals because
 2910|       |    // "round-to-even" only occurs for powers close to 0 in the 32-bit and
 2911|       |    // and 64-bit case (with no more than 19 digits).
 2912|  2.09k|    answer.mantissa += (answer.mantissa & 1); // round up
 2913|  2.09k|    answer.mantissa >>= 1;
 2914|       |    // There is a weird scenario where we don't have a subnormal but just.
 2915|       |    // Suppose we start with 2.2250738585072013e-308, we end up
 2916|       |    // with 0x3fffffffffffff x 2^-1023-53 which is technically subnormal
 2917|       |    // whereas 0x40000000000000 x 2^-1023-53  is normal. Now, we need to round
 2918|       |    // up 0x3fffffffffffff x 2^-1023-53  and once we do, we are no longer
 2919|       |    // subnormal, but we can only know this after rounding.
 2920|       |    // So we only declare a subnormal if we are smaller than the threshold.
 2921|  2.09k|    answer.power2 =
 2922|  2.09k|        (answer.mantissa < (uint64_t(1) << binary::mantissa_explicit_bits()))
  ------------------
  |  Branch (2922:9): [True: 2.08k, False: 10]
  ------------------
 2923|  2.09k|            ? 0
 2924|  2.09k|            : 1;
 2925|  2.09k|    return answer;
 2926|  2.10k|  }
 2927|       |
 2928|       |  // usually, we round *up*, but if we fall right in between and and we have an
 2929|       |  // even basis, we need to round down
 2930|       |  // We are only concerned with the cases where 5**q fits in single 64-bit word.
 2931|  31.7k|  if ((product.low <= 1) && (q >= binary::min_exponent_round_to_even()) &&
  ------------------
  |  Branch (2931:7): [True: 8.11k, False: 23.6k]
  |  Branch (2931:29): [True: 7.43k, False: 679]
  ------------------
 2932|  7.43k|      (q <= binary::max_exponent_round_to_even()) &&
  ------------------
  |  Branch (2932:7): [True: 6.99k, False: 448]
  ------------------
 2933|  6.99k|      ((answer.mantissa & 3) == 1)) { // we may fall between two floats!
  ------------------
  |  Branch (2933:7): [True: 3.37k, False: 3.61k]
  ------------------
 2934|       |    // To be in-between two floats we need that in doing
 2935|       |    //   answer.mantissa = product.high >> (upperbit + 64 -
 2936|       |    //   binary::mantissa_explicit_bits() - 3);
 2937|       |    // ... we dropped out only zeroes. But if this happened, then we can go
 2938|       |    // back!!!
 2939|  3.37k|    if ((answer.mantissa << shift) == product.high) {
  ------------------
  |  Branch (2939:9): [True: 2.60k, False: 772]
  ------------------
 2940|  2.60k|      answer.mantissa &= ~uint64_t(1); // flip it so that we do not round up
 2941|  2.60k|    }
 2942|  3.37k|  }
 2943|       |
 2944|  31.7k|  answer.mantissa += (answer.mantissa & 1); // round up
 2945|  31.7k|  answer.mantissa >>= 1;
 2946|  31.7k|  if (answer.mantissa >= (uint64_t(2) << binary::mantissa_explicit_bits())) {
  ------------------
  |  Branch (2946:7): [True: 1.44k, False: 30.3k]
  ------------------
 2947|  1.44k|    answer.mantissa = (uint64_t(1) << binary::mantissa_explicit_bits());
 2948|  1.44k|    answer.power2++; // undo previous addition
 2949|  1.44k|  }
 2950|       |
 2951|  31.7k|  answer.mantissa &= ~(uint64_t(1) << binary::mantissa_explicit_bits());
 2952|  31.7k|  if (answer.power2 >= binary::infinite_power()) { // infinity
  ------------------
  |  Branch (2952:7): [True: 23, False: 31.7k]
  ------------------
 2953|     23|    answer.power2 = binary::infinite_power();
 2954|     23|    answer.mantissa = 0;
 2955|     23|  }
 2956|  31.7k|  return answer;
 2957|  33.8k|}
_ZN3glz10fast_float17adjusted_mantissaC2Ev:
  568|  61.3k|  adjusted_mantissa() = default;
_ZN3glz10fast_float13binary_formatIdE21smallest_power_of_tenEv:
 1077|  34.4k|inline constexpr int binary_format<double>::smallest_power_of_ten() {
 1078|  34.4k|  return -342;
 1079|  34.4k|}
_ZN3glz10fast_float13binary_formatIdE20largest_power_of_tenEv:
 1068|  34.2k|template <> inline constexpr int binary_format<double>::largest_power_of_ten() {
 1069|  34.2k|  return 308;
 1070|  34.2k|}
_ZN3glz10fast_float14leading_zeroesEm:
  488|  56.7k|leading_zeroes(uint64_t input_num) {
  489|  56.7k|  assert(input_num > 0);
  ------------------
  |  Branch (489:3): [True: 56.7k, False: 0]
  ------------------
  490|  56.7k|  if (cpp20_and_in_constexpr()) {
  ------------------
  |  Branch (490:7): [Folded, False: 56.7k]
  ------------------
  491|      0|    return leading_zeroes_generic(input_num);
  492|      0|  }
  493|       |#ifdef GLZ_FASTFLOAT_VISUAL_STUDIO
  494|       |#if defined(_M_X64) || defined(_M_ARM64)
  495|       |  unsigned long leading_zero = 0;
  496|       |  // Search the mask data from most significant bit (MSB)
  497|       |  // to least significant bit (LSB) for a set bit (1).
  498|       |  _BitScanReverse64(&leading_zero, input_num);
  499|       |  return (int)(63 - leading_zero);
  500|       |#else
  501|       |  return leading_zeroes_generic(input_num);
  502|       |#endif
  503|       |#else
  504|  56.7k|  return __builtin_clzll(input_num);
  505|  56.7k|#endif
  506|  56.7k|}
_ZN3glz10fast_float29compute_product_approximationILi55EEENS0_8value128Elm:
 2771|  47.2k|compute_product_approximation(int64_t q, uint64_t w) {
 2772|  47.2k|  int const index = 2 * int(q - powers::smallest_power_of_five);
 2773|       |  // For small values of q, e.g., q in [0,27], the answer is always exact
 2774|       |  // because The line value128 firstproduct = full_multiplication(w,
 2775|       |  // power_of_five_128[index]); gives the exact answer.
 2776|  47.2k|  value128 firstproduct =
 2777|  47.2k|      full_multiplication(w, powers::power_of_five_128[index]);
 2778|  47.2k|  static_assert((bit_precision >= 0) && (bit_precision <= 64),
 2779|  47.2k|                " precision should  be in (0,64]");
 2780|  47.2k|  constexpr uint64_t precision_mask =
 2781|  47.2k|      (bit_precision < 64) ? (uint64_t(0xFFFFFFFFFFFFFFFF) >> bit_precision)
  ------------------
  |  Branch (2781:7): [True: 0, Folded]
  ------------------
 2782|  47.2k|                           : uint64_t(0xFFFFFFFFFFFFFFFF);
 2783|  47.2k|  if ((firstproduct.high & precision_mask) ==
  ------------------
  |  Branch (2783:7): [True: 11.1k, False: 36.0k]
  ------------------
 2784|  47.2k|      precision_mask) { // could further guard with  (lower + w < lower)
 2785|       |    // regarding the second product, we only need secondproduct.high, but our
 2786|       |    // expectation is that the compiler will optimize this extra work away if
 2787|       |    // needed.
 2788|  11.1k|    value128 secondproduct =
 2789|  11.1k|        full_multiplication(w, powers::power_of_five_128[index + 1]);
 2790|  11.1k|    firstproduct.low += secondproduct.high;
 2791|  11.1k|    if (secondproduct.high > firstproduct.low) {
  ------------------
  |  Branch (2791:9): [True: 4.76k, False: 6.41k]
  ------------------
 2792|  4.76k|      firstproduct.high++;
 2793|  4.76k|    }
 2794|  11.1k|  }
 2795|  47.2k|  return firstproduct;
 2796|  47.2k|}
_ZN3glz10fast_float19full_multiplicationEmm:
  540|  58.3k|full_multiplication(uint64_t a, uint64_t b) {
  541|  58.3k|  if (cpp20_and_in_constexpr()) {
  ------------------
  |  Branch (541:7): [Folded, False: 58.3k]
  ------------------
  542|      0|    value128 answer;
  543|      0|    answer.low = umul128_generic(a, b, &answer.high);
  544|      0|    return answer;
  545|      0|  }
  546|  58.3k|  value128 answer;
  547|       |#if defined(_M_ARM64) && !defined(__MINGW32__)
  548|       |  // ARM64 has native support for 64-bit multiplications, no need to emulate
  549|       |  // But MinGW on ARM64 doesn't have native support for 64-bit multiplications
  550|       |  answer.high = __umulh(a, b);
  551|       |  answer.low = a * b;
  552|       |#elif defined(GLZ_FASTFLOAT_32BIT) ||                                              \
  553|       |    (defined(_WIN64) && !defined(__clang__) && !defined(_M_ARM64))
  554|       |  answer.low = _umul128(a, b, &answer.high); // _umul128 not available on ARM64
  555|       |#elif defined(GLZ_FASTFLOAT_64BIT) && defined(__SIZEOF_INT128__)
  556|       |  __uint128_t r = ((__uint128_t)a) * b;
  557|  58.3k|  answer.low = uint64_t(r);
  558|  58.3k|  answer.high = uint64_t(r >> 64);
  559|       |#else
  560|       |  answer.low = umul128_generic(a, b, &answer.high);
  561|       |#endif
  562|  58.3k|  return answer;
  563|  58.3k|}
_ZN3glz10fast_float8value128C2Ev:
  454|  58.3k|  constexpr value128() : low(0), high(0) {}
_ZN3glz10fast_float6detail5powerEi:
 2814|  47.2k|constexpr fastfloat_really_inline int32_t power(int32_t q) noexcept {
 2815|  47.2k|  return (((152170 + 65536) * q) >> 16) + 63;
 2816|  47.2k|}
_ZN3glz10fast_float13binary_formatIdE16minimum_exponentEv:
  742|  60.5k|template <> inline constexpr int binary_format<double>::minimum_exponent() {
  743|  60.5k|  return -1023;
  744|  60.5k|}
_ZN3glz10fast_float13binary_formatIdE26min_exponent_round_to_evenEv:
  733|  8.11k|inline constexpr int binary_format<double>::min_exponent_round_to_even() {
  734|  8.11k|  return -4;
  735|  8.11k|}
_ZN3glz10fast_float13binary_formatIdE26max_exponent_round_to_evenEv:
  723|  7.43k|inline constexpr int binary_format<double>::max_exponent_round_to_even() {
  724|  7.43k|  return 23;
  725|  7.43k|}
_ZNK3glz10fast_float17adjusted_mantissaneERKS1_:
  574|  15.4k|  constexpr bool operator!=(adjusted_mantissa const &o) const {
  575|  15.4k|    return mantissa != o.mantissa || power2 != o.power2;
  ------------------
  |  Branch (575:12): [True: 13.3k, False: 2.12k]
  |  Branch (575:38): [True: 0, False: 2.12k]
  ------------------
  576|  15.4k|  }
_ZN3glz10fast_float13compute_errorINS0_13binary_formatIdEEEENS0_17adjusted_mantissaElm:
 2837|  13.3k|compute_error(int64_t q, uint64_t w) noexcept {
 2838|  13.3k|  int lz = leading_zeroes(w);
 2839|  13.3k|  w <<= lz;
 2840|  13.3k|  value128 product =
 2841|  13.3k|      compute_product_approximation<binary::mantissa_explicit_bits() + 3>(q, w);
 2842|  13.3k|  return compute_error_scaled<binary>(q, product.high, lz);
 2843|  13.3k|}
_ZN3glz10fast_float20compute_error_scaledINS0_13binary_formatIdEEEENS0_17adjusted_mantissaElmi:
 2823|  13.3k|compute_error_scaled(int64_t q, uint64_t w, int lz) noexcept {
 2824|  13.3k|  int hilz = int(w >> 63) ^ 1;
 2825|  13.3k|  adjusted_mantissa answer;
 2826|  13.3k|  answer.mantissa = w << hilz;
 2827|  13.3k|  int bias = binary::mantissa_explicit_bits() - binary::minimum_exponent();
 2828|  13.3k|  answer.power2 = int32_t(detail::power(int32_t(q)) + bias - hilz - lz - 62 +
 2829|  13.3k|                          invalid_am_bias);
 2830|  13.3k|  return answer;
 2831|  13.3k|}
_ZN3glz10fast_float10digit_compIdcEENS0_17adjusted_mantissaERNS0_22parsed_number_string_tIT0_EES2_:
 4034|  13.3k|digit_comp(parsed_number_string_t<UC> &num, adjusted_mantissa am) noexcept {
 4035|       |  // remove the invalid exponent bias
 4036|  13.3k|  am.power2 -= invalid_am_bias;
 4037|       |
 4038|  13.3k|  int32_t sci_exp = scientific_exponent(num);
 4039|  13.3k|  size_t max_digits = binary_format<T>::max_digits();
 4040|  13.3k|  size_t digits = 0;
 4041|  13.3k|  bigint bigmant;
 4042|  13.3k|  parse_mantissa(bigmant, num, max_digits, digits);
 4043|       |  // can't underflow, since digits is at most max_digits.
 4044|  13.3k|  int32_t exponent = sci_exp + 1 - int32_t(digits);
 4045|  13.3k|  if (exponent >= 0) {
  ------------------
  |  Branch (4045:7): [True: 4.74k, False: 8.60k]
  ------------------
 4046|  4.74k|    return positive_digit_comp<T>(bigmant, exponent);
 4047|  8.60k|  } else {
 4048|  8.60k|    return negative_digit_comp<T>(bigmant, am, exponent);
 4049|  8.60k|  }
 4050|  13.3k|}
_ZN3glz10fast_float19scientific_exponentIcEEiRNS0_22parsed_number_string_tIT_EE:
 3640|  13.3k|scientific_exponent(parsed_number_string_t<UC> &num) noexcept {
 3641|  13.3k|  uint64_t mantissa = num.mantissa;
 3642|  13.3k|  int32_t exponent = int32_t(num.exponent);
 3643|  66.7k|  while (mantissa >= 10000) {
  ------------------
  |  Branch (3643:10): [True: 53.3k, False: 13.3k]
  ------------------
 3644|  53.3k|    mantissa /= 10000;
 3645|  53.3k|    exponent += 4;
 3646|  53.3k|  }
 3647|  26.6k|  while (mantissa >= 100) {
  ------------------
  |  Branch (3647:10): [True: 13.3k, False: 13.3k]
  ------------------
 3648|  13.3k|    mantissa /= 100;
 3649|  13.3k|    exponent += 2;
 3650|  13.3k|  }
 3651|  13.3k|  while (mantissa >= 10) {
  ------------------
  |  Branch (3651:10): [True: 0, False: 13.3k]
  ------------------
 3652|      0|    mantissa /= 10;
 3653|      0|    exponent += 1;
 3654|      0|  }
 3655|  13.3k|  return exponent;
 3656|  13.3k|}
_ZN3glz10fast_float13binary_formatIdE10max_digitsEv:
 1085|  13.3k|template <> inline constexpr size_t binary_format<double>::max_digits() {
 1086|  13.3k|  return 769;
 1087|  13.3k|}
_ZN3glz10fast_float6bigintC2Ev:
 3399|  13.3k|  GLZ_FASTFLOAT_CONSTEXPR20 bigint() : vec() {}
_ZN3glz10fast_float8stackvecILt62EEC2Ev:
 3006|   149k|  stackvec() = default;
_ZN3glz10fast_float14parse_mantissaIcEEvRNS0_6bigintERNS0_22parsed_number_string_tIT_EEmRm:
 3859|  13.3k|               size_t max_digits, size_t &digits) noexcept {
 3860|       |  // try to minimize the number of big integer and scalar multiplication.
 3861|       |  // therefore, try to parse 8 digits at a time, and multiply by the largest
 3862|       |  // scalar value (9 or 19 digits) for each step.
 3863|  13.3k|  size_t counter = 0;
 3864|  13.3k|  digits = 0;
 3865|  13.3k|  limb value = 0;
 3866|  13.3k|#ifdef GLZ_FASTFLOAT_64BIT_LIMB
 3867|  13.3k|  size_t step = 19;
 3868|       |#else
 3869|       |  size_t step = 9;
 3870|       |#endif
 3871|       |
 3872|       |  // process all integer digits.
 3873|  13.3k|  UC const *p = num.integer.ptr;
 3874|  13.3k|  UC const *pend = p + num.integer.len();
 3875|  13.3k|  skip_zeros(p, pend);
 3876|       |  // process all digits, in increments of step per loop
 3877|   127k|  while (p != pend) {
  ------------------
  |  Branch (3877:10): [True: 116k, False: 10.9k]
  ------------------
 3878|   331k|    while ((std::distance(p, pend) >= 8) && (step - counter >= 8) &&
  ------------------
  |  Branch (3878:12): [True: 315k, False: 16.6k]
  |  Branch (3878:45): [True: 216k, False: 99.0k]
  ------------------
 3879|   216k|           (max_digits - digits >= 8)) {
  ------------------
  |  Branch (3879:12): [True: 215k, False: 485]
  ------------------
 3880|   215k|      parse_eight_digits(p, value, counter, digits);
 3881|   215k|    }
 3882|   446k|    while (counter < step && p != pend && digits < max_digits) {
  ------------------
  |  Branch (3882:12): [True: 342k, False: 103k]
  |  Branch (3882:30): [True: 331k, False: 11.5k]
  |  Branch (3882:43): [True: 330k, False: 952]
  ------------------
 3883|   330k|      parse_one_digit(p, value, counter, digits);
 3884|   330k|    }
 3885|   116k|    if (digits == max_digits) {
  ------------------
  |  Branch (3885:9): [True: 2.40k, False: 113k]
  ------------------
 3886|       |      // add the temporary value, then check if we've truncated any digits
 3887|  2.40k|      add_native(result, limb(powers_of_ten_uint64[counter]), value);
 3888|  2.40k|      bool truncated = is_truncated(p, pend);
 3889|  2.40k|      if (num.fraction.ptr != nullptr) {
  ------------------
  |  Branch (3889:11): [True: 1.98k, False: 425]
  ------------------
 3890|  1.98k|        truncated |= is_truncated(num.fraction);
 3891|  1.98k|      }
 3892|  2.40k|      if (truncated) {
  ------------------
  |  Branch (3892:11): [True: 1.47k, False: 932]
  ------------------
 3893|  1.47k|        round_up_bigint(result, digits);
 3894|  1.47k|      }
 3895|  2.40k|      return;
 3896|   113k|    } else {
 3897|   113k|      add_native(result, limb(powers_of_ten_uint64[counter]), value);
 3898|   113k|      counter = 0;
 3899|   113k|      value = 0;
 3900|   113k|    }
 3901|   116k|  }
 3902|       |
 3903|       |  // add our fraction digits, if they're available.
 3904|  10.9k|  if (num.fraction.ptr != nullptr) {
  ------------------
  |  Branch (3904:7): [True: 6.05k, False: 4.88k]
  ------------------
 3905|  6.05k|    p = num.fraction.ptr;
 3906|  6.05k|    pend = p + num.fraction.len();
 3907|  6.05k|    if (digits == 0) {
  ------------------
  |  Branch (3907:9): [True: 808, False: 5.25k]
  ------------------
 3908|    808|      skip_zeros(p, pend);
 3909|    808|    }
 3910|       |    // process all digits, in increments of step per loop
 3911|   101k|    while (p != pend) {
  ------------------
  |  Branch (3911:12): [True: 97.9k, False: 3.80k]
  ------------------
 3912|   286k|      while ((std::distance(p, pend) >= 8) && (step - counter >= 8) &&
  ------------------
  |  Branch (3912:14): [True: 279k, False: 6.47k]
  |  Branch (3912:47): [True: 188k, False: 90.9k]
  ------------------
 3913|   188k|             (max_digits - digits >= 8)) {
  ------------------
  |  Branch (3913:14): [True: 188k, False: 592]
  ------------------
 3914|   188k|        parse_eight_digits(p, value, counter, digits);
 3915|   188k|      }
 3916|   389k|      while (counter < step && p != pend && digits < max_digits) {
  ------------------
  |  Branch (3916:14): [True: 296k, False: 92.9k]
  |  Branch (3916:32): [True: 292k, False: 3.67k]
  |  Branch (3916:45): [True: 291k, False: 1.38k]
  ------------------
 3917|   291k|        parse_one_digit(p, value, counter, digits);
 3918|   291k|      }
 3919|  97.9k|      if (digits == max_digits) {
  ------------------
  |  Branch (3919:11): [True: 2.25k, False: 95.7k]
  ------------------
 3920|       |        // add the temporary value, then check if we've truncated any digits
 3921|  2.25k|        add_native(result, limb(powers_of_ten_uint64[counter]), value);
 3922|  2.25k|        bool truncated = is_truncated(p, pend);
 3923|  2.25k|        if (truncated) {
  ------------------
  |  Branch (3923:13): [True: 1.38k, False: 869]
  ------------------
 3924|  1.38k|          round_up_bigint(result, digits);
 3925|  1.38k|        }
 3926|  2.25k|        return;
 3927|  95.7k|      } else {
 3928|  95.7k|        add_native(result, limb(powers_of_ten_uint64[counter]), value);
 3929|  95.7k|        counter = 0;
 3930|  95.7k|        value = 0;
 3931|  95.7k|      }
 3932|  97.9k|    }
 3933|  6.05k|  }
 3934|       |
 3935|  8.69k|  if (counter != 0) {
  ------------------
  |  Branch (3935:7): [True: 0, False: 8.69k]
  ------------------
 3936|      0|    add_native(result, limb(powers_of_ten_uint64[counter]), value);
 3937|      0|  }
 3938|  8.69k|}
_ZN3glz10fast_float10skip_zerosIcEEvRPKT_S4_:
 3773|  14.1k|skip_zeros(UC const *&first, UC const *last) noexcept {
 3774|  14.1k|  uint64_t val;
 3775|  14.8k|  while (!cpp20_and_in_constexpr() &&
  ------------------
  |  Branch (3775:10): [True: 14.8k, Folded]
  ------------------
 3776|  14.8k|         std::distance(first, last) >= int_cmp_len<UC>()) {
  ------------------
  |  Branch (3776:10): [True: 12.5k, False: 2.29k]
  ------------------
 3777|  12.5k|    ::memcpy(&val, first, sizeof(uint64_t));
 3778|  12.5k|    if (val != int_cmp_zeros<UC>()) {
  ------------------
  |  Branch (3778:9): [True: 11.8k, False: 694]
  ------------------
 3779|  11.8k|      break;
 3780|  11.8k|    }
 3781|    694|    first += int_cmp_len<UC>();
 3782|    694|  }
 3783|  17.5k|  while (first != last) {
  ------------------
  |  Branch (3783:10): [True: 16.7k, False: 808]
  ------------------
 3784|  16.7k|    if (*first != UC('0')) {
  ------------------
  |  Branch (3784:9): [True: 13.3k, False: 3.43k]
  ------------------
 3785|  13.3k|      break;
 3786|  13.3k|    }
 3787|  3.43k|    first++;
 3788|  3.43k|  }
 3789|  14.1k|}
_ZN3glz10fast_float11int_cmp_lenIcEEiv:
 1180|   875k|template <typename UC> constexpr int int_cmp_len() {
 1181|   875k|  return sizeof(uint64_t) / sizeof(UC);
 1182|   875k|}
_ZN3glz10fast_float13int_cmp_zerosIcEEmv:
 1170|   440k|template <typename UC> constexpr uint64_t int_cmp_zeros() {
 1171|   440k|  static_assert((sizeof(UC) == 1) || (sizeof(UC) == 2) || (sizeof(UC) == 4),
 1172|   440k|                "Unsupported character size");
 1173|   440k|  return (sizeof(UC) == 1) ? 0x3030303030303030
  ------------------
  |  Branch (1173:10): [True: 440k, Folded]
  ------------------
 1174|   440k|         : (sizeof(UC) == 2)
  ------------------
  |  Branch (1174:12): [Folded, False: 0]
  ------------------
 1175|      0|             ? (uint64_t(UC('0')) << 48 | uint64_t(UC('0')) << 32 |
 1176|      0|                uint64_t(UC('0')) << 16 | UC('0'))
 1177|      0|             : (uint64_t(UC('0')) << 32 | UC('0'));
 1178|   440k|}
_ZN3glz10fast_float18parse_eight_digitsIcEEvRPKT_RmS6_S6_:
 3824|   403k|                   size_t &count) noexcept {
 3825|   403k|  value = value * 100000000 + parse_eight_digits_unrolled(p);
 3826|   403k|  p += 8;
 3827|   403k|  counter += 8;
 3828|   403k|  count += 8;
 3829|   403k|}
_ZN3glz10fast_float27parse_eight_digits_unrolledIcEEjPKT_:
 1588|   403k|parse_eight_digits_unrolled(UC const *chars) noexcept {
 1589|   403k|  if (cpp20_and_in_constexpr() || !has_simd_opt<UC>()) {
  ------------------
  |  Branch (1589:7): [Folded, False: 0]
  |  Branch (1589:35): [True: 0, Folded]
  ------------------
 1590|   403k|    return parse_eight_digits_unrolled(read8_to_u64(chars)); // truncation okay
 1591|   403k|  }
 1592|      0|  return parse_eight_digits_unrolled(simd_read8_to_u64(chars));
 1593|   403k|}
_ZN3glz10fast_float15parse_one_digitIcEEvRPKT_RmS6_S6_:
 3834|   621k|                size_t &count) noexcept {
 3835|   621k|  value = value * 10 + limb(*p - UC('0'));
 3836|   621k|  p++;
 3837|   621k|  counter++;
 3838|   621k|  count++;
 3839|   621k|}
_ZN3glz10fast_float10add_nativeERNS0_6bigintEmm:
 3842|   216k|add_native(bigint &big, limb power, limb value) noexcept {
 3843|   216k|  big.mul(power);
 3844|   216k|  big.add(value);
 3845|   216k|}
_ZN3glz10fast_float6bigint3mulEm:
 3552|   216k|  GLZ_FASTFLOAT_CONSTEXPR20 bool mul(limb y) noexcept { return small_mul(vec, y); }
_ZN3glz10fast_float9small_mulILt62EEEbRNS0_8stackvecIXT_EEEm:
 3249|   405k|                                            limb y) noexcept {
 3250|   405k|  limb carry = 0;
 3251|  7.01M|  for (size_t index = 0; index < vec.len(); index++) {
  ------------------
  |  Branch (3251:26): [True: 6.60M, False: 405k]
  ------------------
 3252|  6.60M|    vec[index] = scalar_mul(vec[index], y, carry);
 3253|  6.60M|  }
 3254|   405k|  if (carry != 0) {
  ------------------
  |  Branch (3254:7): [True: 368k, False: 37.3k]
  ------------------
 3255|   368k|    GLZ_FASTFLOAT_TRY(vec.try_push(carry));
  ------------------
  |  |  354|   368k|  {                                                                            \
  |  |  355|   368k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 368k]
  |  |  ------------------
  |  |  356|   368k|      return false;                                                            \
  |  |  357|   368k|  }
  ------------------
 3256|   368k|  }
 3257|   405k|  return true;
 3258|   405k|}
_ZNK3glz10fast_float8stackvecILt62EE3lenEv:
 3039|  8.93M|  constexpr size_t len() const noexcept { return length; }
_ZN3glz10fast_float10scalar_mulEmmRm:
 3196|  6.60M|scalar_mul(limb x, limb y, limb &carry) noexcept {
 3197|  6.60M|#ifdef GLZ_FASTFLOAT_64BIT_LIMB
 3198|  6.60M|#if defined(__SIZEOF_INT128__)
 3199|       |  // GCC and clang both define it as an extension.
 3200|  6.60M|  __uint128_t z = __uint128_t(x) * __uint128_t(y) + __uint128_t(carry);
 3201|  6.60M|  carry = limb(z >> limb_bits);
 3202|  6.60M|  return limb(z);
 3203|       |#else
 3204|       |  // fallback, no native 128-bit integer multiplication with carry.
 3205|       |  // on msvc, this optimizes identically, somehow.
 3206|       |  value128 z = full_multiplication(x, y);
 3207|       |  bool overflow;
 3208|       |  z.low = scalar_add(z.low, carry, overflow);
 3209|       |  z.high += uint64_t(overflow); // cannot overflow
 3210|       |  carry = z.high;
 3211|       |  return z.low;
 3212|       |#endif
 3213|       |#else
 3214|       |  uint64_t z = uint64_t(x) * uint64_t(y) + uint64_t(carry);
 3215|       |  carry = limb(z >> limb_bits);
 3216|       |  return limb(z);
 3217|       |#endif
 3218|  6.60M|}
_ZN3glz10fast_float8stackvecILt62EEixEm:
 3017|  17.1M|  GLZ_FASTFLOAT_CONSTEXPR14 limb &operator[](size_t index) noexcept {
 3018|  17.1M|    GLZ_FASTFLOAT_DEBUG_ASSERT(index < length);
  ------------------
  |  |  349|  17.1M|  { ((void)(x)); }
  ------------------
 3019|  17.1M|    return data[index];
 3020|  17.1M|  }
_ZN3glz10fast_float8stackvecILt62EE8try_pushEm:
 3052|   385k|  GLZ_FASTFLOAT_CONSTEXPR14 bool try_push(limb value) noexcept {
 3053|   385k|    if (len() < capacity()) {
  ------------------
  |  Branch (3053:9): [True: 385k, False: 0]
  ------------------
 3054|   385k|      push_unchecked(value);
 3055|   385k|      return true;
 3056|   385k|    } else {
 3057|      0|      return false;
 3058|      0|    }
 3059|   385k|  }
_ZNK3glz10fast_float8stackvecILt62EE8capacityEv:
 3043|   679k|  constexpr size_t capacity() const noexcept { return size; }
_ZN3glz10fast_float8stackvecILt62EE14push_uncheckedEm:
 3046|   394k|  GLZ_FASTFLOAT_CONSTEXPR14 void push_unchecked(limb value) noexcept {
 3047|   394k|    data[length] = value;
 3048|   394k|    length++;
 3049|   394k|  }
_ZN3glz10fast_float6bigint3addEm:
 3554|   216k|  GLZ_FASTFLOAT_CONSTEXPR20 bool add(limb y) noexcept { return small_add(vec, y); }
_ZN3glz10fast_float9small_addILt62EEEbRNS0_8stackvecIXT_EEEm:
 3242|   216k|small_add(stackvec<size> &vec, limb y) noexcept {
 3243|   216k|  return small_add_from(vec, y, 0);
 3244|   216k|}
_ZN3glz10fast_float14small_add_fromILt62EEEbRNS0_8stackvecIXT_EEEmm:
 3224|   216k|                                                 size_t start) noexcept {
 3225|   216k|  size_t index = start;
 3226|   216k|  limb carry = y;
 3227|   216k|  bool overflow;
 3228|   266k|  while (carry != 0 && index < vec.len()) {
  ------------------
  |  Branch (3228:10): [True: 63.9k, False: 202k]
  |  Branch (3228:24): [True: 49.5k, False: 14.4k]
  ------------------
 3229|  49.5k|    vec[index] = scalar_add(vec[index], carry, overflow);
 3230|  49.5k|    carry = limb(overflow);
 3231|  49.5k|    index += 1;
 3232|  49.5k|  }
 3233|   216k|  if (carry != 0) {
  ------------------
  |  Branch (3233:7): [True: 14.4k, False: 202k]
  ------------------
 3234|  14.4k|    GLZ_FASTFLOAT_TRY(vec.try_push(carry));
  ------------------
  |  |  354|  14.4k|  {                                                                            \
  |  |  355|  14.4k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 14.4k]
  |  |  ------------------
  |  |  356|  14.4k|      return false;                                                            \
  |  |  357|  14.4k|  }
  ------------------
 3235|  14.4k|  }
 3236|   216k|  return true;
 3237|   216k|}
_ZN3glz10fast_float10scalar_addEmmRb:
 3176|  2.55M|scalar_add(limb x, limb y, bool &overflow) noexcept {
 3177|  2.55M|  limb z;
 3178|       |// gcc and clang
 3179|  2.55M|#if defined(__has_builtin)
 3180|  2.55M|#if __has_builtin(__builtin_add_overflow)
 3181|  2.55M|  if (!cpp20_and_in_constexpr()) {
  ------------------
  |  Branch (3181:7): [True: 2.55M, Folded]
  ------------------
 3182|  2.55M|    overflow = __builtin_add_overflow(x, y, &z);
 3183|  2.55M|    return z;
 3184|  2.55M|  }
 3185|      0|#endif
 3186|      0|#endif
 3187|       |
 3188|       |  // generic, this still optimizes correctly on MSVC.
 3189|      0|  z = x + y;
 3190|      0|  overflow = z < x;
 3191|      0|  return z;
 3192|  2.55M|}
_ZN3glz10fast_float12is_truncatedIcEEbPKT_S4_:
 3795|  6.64k|is_truncated(UC const *first, UC const *last) noexcept {
 3796|       |  // do 8-bit optimizations, can just compare to 8 literal 0s.
 3797|  6.64k|  uint64_t val;
 3798|   433k|  while (!cpp20_and_in_constexpr() &&
  ------------------
  |  Branch (3798:10): [True: 433k, Folded]
  ------------------
 3799|   433k|         std::distance(first, last) >= int_cmp_len<UC>()) {
  ------------------
  |  Branch (3799:10): [True: 427k, False: 5.75k]
  ------------------
 3800|   427k|    ::memcpy(&val, first, sizeof(uint64_t));
 3801|   427k|    if (val != int_cmp_zeros<UC>()) {
  ------------------
  |  Branch (3801:9): [True: 889, False: 426k]
  ------------------
 3802|    889|      return true;
 3803|    889|    }
 3804|   426k|    first += int_cmp_len<UC>();
 3805|   426k|  }
 3806|  10.4k|  while (first != last) {
  ------------------
  |  Branch (3806:10): [True: 6.81k, False: 3.63k]
  ------------------
 3807|  6.81k|    if (*first != UC('0')) {
  ------------------
  |  Branch (3807:9): [True: 2.12k, False: 4.69k]
  ------------------
 3808|  2.12k|      return true;
 3809|  2.12k|    }
 3810|  4.69k|    ++first;
 3811|  4.69k|  }
 3812|  3.63k|  return false;
 3813|  5.75k|}
_ZN3glz10fast_float12is_truncatedIcEEbNS0_4spanIKT_EE:
 3817|  1.98k|is_truncated(span<UC const> s) noexcept {
 3818|  1.98k|  return is_truncated(s.ptr, s.ptr + s.len());
 3819|  1.98k|}
_ZN3glz10fast_float15round_up_bigintERNS0_6bigintERm:
 3848|  2.85k|round_up_bigint(bigint &big, size_t &count) noexcept {
 3849|       |  // need to round-up the digits, but need to avoid rounding
 3850|       |  // ....9999 to ...10000, which could cause a false halfway point.
 3851|  2.85k|  add_native(big, 10, 1);
 3852|  2.85k|  count++;
 3853|  2.85k|}
_ZN3glz10fast_float19positive_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintEi:
 3942|  4.74k|positive_digit_comp(bigint &bigmant, int32_t exponent) noexcept {
 3943|  4.74k|  GLZ_FASTFLOAT_ASSERT(bigmant.pow10(uint32_t(exponent)));
  ------------------
  |  |  344|  4.74k|  { ((void)(x)); }
  ------------------
 3944|  4.74k|  adjusted_mantissa answer;
 3945|  4.74k|  bool truncated;
 3946|  4.74k|  answer.mantissa = bigmant.hi64(truncated);
 3947|  4.74k|  int bias = binary_format<T>::mantissa_explicit_bits() -
 3948|  4.74k|             binary_format<T>::minimum_exponent();
 3949|  4.74k|  answer.power2 = bigmant.bit_length() - 64 + bias;
 3950|       |
 3951|  4.74k|  round<T>(answer, [truncated](adjusted_mantissa &a, int32_t shift) {
 3952|  4.74k|    round_nearest_tie_even(
 3953|  4.74k|        a, shift,
 3954|  4.74k|        [truncated](bool is_odd, bool is_halfway, bool is_above) -> bool {
 3955|  4.74k|          return is_above || (is_halfway && truncated) ||
 3956|  4.74k|                 (is_odd && is_halfway);
 3957|  4.74k|        });
 3958|  4.74k|  });
 3959|       |
 3960|  4.74k|  return answer;
 3961|  4.74k|}
_ZN3glz10fast_float6bigint5pow10Ej:
 3591|  4.74k|  GLZ_FASTFLOAT_CONSTEXPR20 bool pow10(uint32_t exp) noexcept {
 3592|  4.74k|    GLZ_FASTFLOAT_TRY(pow5(exp));
  ------------------
  |  |  354|  4.74k|  {                                                                            \
  |  |  355|  4.74k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 4.74k]
  |  |  ------------------
  |  |  356|  4.74k|      return false;                                                            \
  |  |  357|  4.74k|  }
  ------------------
 3593|  4.74k|    return pow2(exp);
 3594|  4.74k|  }
_ZN3glz10fast_float6bigint4pow5Ej:
 3560|  13.3k|  GLZ_FASTFLOAT_CONSTEXPR20 bool pow5(uint32_t exp) noexcept {
 3561|       |    // multiply by a power of 5
 3562|  13.3k|    size_t large_length = sizeof(large_power_of_5) / sizeof(limb);
 3563|  13.3k|    limb_span large = limb_span(large_power_of_5, large_length);
 3564|  45.3k|    while (exp >= large_step) {
  ------------------
  |  Branch (3564:12): [True: 31.9k, False: 13.3k]
  ------------------
 3565|  31.9k|      GLZ_FASTFLOAT_TRY(large_mul(vec, large));
  ------------------
  |  |  354|  31.9k|  {                                                                            \
  |  |  355|  31.9k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 31.9k]
  |  |  ------------------
  |  |  356|  31.9k|      return false;                                                            \
  |  |  357|  31.9k|  }
  ------------------
 3566|  31.9k|      exp -= large_step;
 3567|  31.9k|    }
 3568|  13.3k|#ifdef GLZ_FASTFLOAT_64BIT_LIMB
 3569|  13.3k|    uint32_t small_step = 27;
 3570|  13.3k|    limb max_native = 7450580596923828125UL;
 3571|       |#else
 3572|       |    uint32_t small_step = 13;
 3573|       |    limb max_native = 1220703125U;
 3574|       |#endif
 3575|  30.5k|    while (exp >= small_step) {
  ------------------
  |  Branch (3575:12): [True: 17.2k, False: 13.3k]
  ------------------
 3576|  17.2k|      GLZ_FASTFLOAT_TRY(small_mul(vec, max_native));
  ------------------
  |  |  354|  17.2k|  {                                                                            \
  |  |  355|  17.2k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 17.2k]
  |  |  ------------------
  |  |  356|  17.2k|      return false;                                                            \
  |  |  357|  17.2k|  }
  ------------------
 3577|  17.2k|      exp -= small_step;
 3578|  17.2k|    }
 3579|  13.3k|    if (exp != 0) {
  ------------------
  |  Branch (3579:9): [True: 11.3k, False: 2.03k]
  ------------------
 3580|       |      // Work around clang bug https://godbolt.org/z/zedh7rrhc
 3581|       |      // This is similar to https://github.com/llvm/llvm-project/issues/47746,
 3582|       |      // except the workaround described there don't work here
 3583|  11.3k|      GLZ_FASTFLOAT_TRY(small_mul(
  ------------------
  |  |  354|  11.3k|  {                                                                            \
  |  |  355|  11.3k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 11.3k]
  |  |  ------------------
  |  |  356|  11.3k|      return false;                                                            \
  |  |  357|  11.3k|  }
  ------------------
 3584|  11.3k|          vec, limb(((void)small_power_of_5[0], small_power_of_5[exp]))));
 3585|  11.3k|    }
 3586|       |
 3587|  13.3k|    return true;
 3588|  13.3k|  }
_ZN3glz10fast_float4spanImEC2EPKmm:
  436|   205k|  constexpr span(T const *_ptr, size_t _length) : ptr(_ptr), length(_length) {}
_ZN3glz10fast_float9large_mulILt62EEEbRNS0_8stackvecIXT_EEENS0_4spanImEE:
 3329|  31.9k|GLZ_FASTFLOAT_CONSTEXPR20 bool large_mul(stackvec<size> &x, limb_span y) noexcept {
 3330|  31.9k|  if (y.len() == 1) {
  ------------------
  |  Branch (3330:7): [True: 0, False: 31.9k]
  ------------------
 3331|      0|    GLZ_FASTFLOAT_TRY(small_mul(x, y[0]));
  ------------------
  |  |  354|      0|  {                                                                            \
  |  |  355|      0|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  356|      0|      return false;                                                            \
  |  |  357|      0|  }
  ------------------
 3332|  31.9k|  } else {
 3333|  31.9k|    GLZ_FASTFLOAT_TRY(long_mul(x, y));
  ------------------
  |  |  354|  31.9k|  {                                                                            \
  |  |  355|  31.9k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 31.9k]
  |  |  ------------------
  |  |  356|  31.9k|      return false;                                                            \
  |  |  357|  31.9k|  }
  ------------------
 3334|  31.9k|  }
 3335|  31.9k|  return true;
 3336|  31.9k|}
_ZNK3glz10fast_float4spanImE3lenEv:
  440|  2.84M|  constexpr size_t len() const noexcept { return length; }
_ZNK3glz10fast_float4spanImEixEm:
  442|  1.91M|  GLZ_FASTFLOAT_CONSTEXPR14 const T &operator[](size_t index) const noexcept {
  443|  1.91M|    GLZ_FASTFLOAT_DEBUG_ASSERT(index < length);
  ------------------
  |  |  349|  1.91M|  { ((void)(x)); }
  ------------------
  444|  1.91M|    return ptr[index];
  445|  1.91M|  }
_ZN3glz10fast_float8long_mulILt62EEEbRNS0_8stackvecIXT_EEENS0_4spanImEE:
 3301|  31.9k|GLZ_FASTFLOAT_CONSTEXPR20 bool long_mul(stackvec<size> &x, limb_span y) noexcept {
 3302|  31.9k|  limb_span xs = limb_span(x.data, x.len());
 3303|  31.9k|  stackvec<size> z(xs);
 3304|  31.9k|  limb_span zs = limb_span(z.data, z.len());
 3305|       |
 3306|  31.9k|  if (y.len() != 0) {
  ------------------
  |  Branch (3306:7): [True: 31.9k, False: 0]
  ------------------
 3307|  31.9k|    limb y0 = y[0];
 3308|  31.9k|    GLZ_FASTFLOAT_TRY(small_mul(x, y0));
  ------------------
  |  |  354|  31.9k|  {                                                                            \
  |  |  355|  31.9k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 31.9k]
  |  |  ------------------
  |  |  356|  31.9k|      return false;                                                            \
  |  |  357|  31.9k|  }
  ------------------
 3309|   159k|    for (size_t index = 1; index < y.len(); index++) {
  ------------------
  |  Branch (3309:28): [True: 127k, False: 31.9k]
  ------------------
 3310|   127k|      limb yi = y[index];
 3311|   127k|      stackvec<size> zi;
 3312|   127k|      if (yi != 0) {
  ------------------
  |  Branch (3312:11): [True: 127k, False: 0]
  ------------------
 3313|       |        // re-use the same buffer throughout
 3314|   127k|        zi.set_len(0);
 3315|   127k|        GLZ_FASTFLOAT_TRY(zi.try_extend(zs));
  ------------------
  |  |  354|   127k|  {                                                                            \
  |  |  355|   127k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 127k]
  |  |  ------------------
  |  |  356|   127k|      return false;                                                            \
  |  |  357|   127k|  }
  ------------------
 3316|   127k|        GLZ_FASTFLOAT_TRY(small_mul(zi, yi));
  ------------------
  |  |  354|   127k|  {                                                                            \
  |  |  355|   127k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 127k]
  |  |  ------------------
  |  |  356|   127k|      return false;                                                            \
  |  |  357|   127k|  }
  ------------------
 3317|   127k|        limb_span zis = limb_span(zi.data, zi.len());
 3318|   127k|        GLZ_FASTFLOAT_TRY(large_add_from(x, zis, index));
  ------------------
  |  |  354|   127k|  {                                                                            \
  |  |  355|   127k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 127k]
  |  |  ------------------
  |  |  356|   127k|      return false;                                                            \
  |  |  357|   127k|  }
  ------------------
 3319|   127k|      }
 3320|   127k|    }
 3321|  31.9k|  }
 3322|       |
 3323|  31.9k|  x.normalize();
 3324|  31.9k|  return true;
 3325|  31.9k|}
_ZN3glz10fast_float8stackvecILt62EEC2ENS0_4spanImEE:
 3013|  31.9k|  GLZ_FASTFLOAT_CONSTEXPR20 stackvec(limb_span s) {
 3014|  31.9k|    GLZ_FASTFLOAT_ASSERT(try_extend(s));
  ------------------
  |  |  344|  31.9k|  { ((void)(x)); }
  ------------------
 3015|  31.9k|  }
_ZN3glz10fast_float8stackvecILt62EE7set_lenEm:
 3035|   422k|  GLZ_FASTFLOAT_CONSTEXPR14 void set_len(size_t len) noexcept {
 3036|   422k|    length = uint16_t(len);
 3037|   422k|  }
_ZN3glz10fast_float8stackvecILt62EE10try_extendENS0_4spanImEE:
 3069|   159k|  GLZ_FASTFLOAT_CONSTEXPR20 bool try_extend(limb_span s) noexcept {
 3070|   159k|    if (len() + s.len() <= capacity()) {
  ------------------
  |  Branch (3070:9): [True: 159k, False: 0]
  ------------------
 3071|   159k|      extend_unchecked(s);
 3072|   159k|      return true;
 3073|   159k|    } else {
 3074|      0|      return false;
 3075|      0|    }
 3076|   159k|  }
_ZN3glz10fast_float8stackvecILt62EE16extend_uncheckedENS0_4spanImEE:
 3062|   159k|  GLZ_FASTFLOAT_CONSTEXPR20 void extend_unchecked(limb_span s) noexcept {
 3063|   159k|    limb *ptr = data + length;
 3064|   159k|    std::copy_n(s.ptr, s.len(), ptr);
 3065|   159k|    set_len(len() + s.len());
 3066|   159k|  }
_ZN3glz10fast_float14large_add_fromILt62EEEbRNS0_8stackvecIXT_EEENS0_4spanImEEm:
 3264|   127k|                                          size_t start) noexcept {
 3265|       |  // the effective x buffer is from `xstart..x.len()`, so exit early
 3266|       |  // if we can't get that current range.
 3267|   127k|  if (x.len() < start || y.len() > x.len() - start) {
  ------------------
  |  Branch (3267:7): [True: 0, False: 127k]
  |  Branch (3267:26): [True: 126k, False: 943]
  ------------------
 3268|   126k|    GLZ_FASTFLOAT_TRY(x.try_resize(y.len() + start, 0));
  ------------------
  |  |  354|   126k|  {                                                                            \
  |  |  355|   126k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 126k]
  |  |  ------------------
  |  |  356|   126k|      return false;                                                            \
  |  |  357|   126k|  }
  ------------------
 3269|   126k|  }
 3270|       |
 3271|   127k|  bool carry = false;
 3272|  1.88M|  for (size_t index = 0; index < y.len(); index++) {
  ------------------
  |  Branch (3272:26): [True: 1.75M, False: 127k]
  ------------------
 3273|  1.75M|    limb xi = x[index + start];
 3274|  1.75M|    limb yi = y[index];
 3275|  1.75M|    bool c1 = false;
 3276|  1.75M|    bool c2 = false;
 3277|  1.75M|    xi = scalar_add(xi, yi, c1);
 3278|  1.75M|    if (carry) {
  ------------------
  |  Branch (3278:9): [True: 749k, False: 1.00M]
  ------------------
 3279|   749k|      xi = scalar_add(xi, 1, c2);
 3280|   749k|    }
 3281|  1.75M|    x[index + start] = xi;
 3282|  1.75M|    carry = c1 | c2;
 3283|  1.75M|  }
 3284|       |
 3285|       |  // handle overflow
 3286|   127k|  if (carry) {
  ------------------
  |  Branch (3286:7): [True: 0, False: 127k]
  ------------------
 3287|      0|    GLZ_FASTFLOAT_TRY(small_add_from(x, 1, y.len() + start));
  ------------------
  |  |  354|      0|  {                                                                            \
  |  |  355|      0|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  356|      0|      return false;                                                            \
  |  |  357|      0|  }
  ------------------
 3288|      0|  }
 3289|   127k|  return true;
 3290|   127k|}
_ZN3glz10fast_float8stackvecILt62EE10try_resizeEmm:
 3095|   126k|  GLZ_FASTFLOAT_CONSTEXPR20 bool try_resize(size_t new_len, limb value) noexcept {
 3096|   126k|    if (new_len > capacity()) {
  ------------------
  |  Branch (3096:9): [True: 0, False: 126k]
  ------------------
 3097|      0|      return false;
 3098|   126k|    } else {
 3099|   126k|      resize_unchecked(new_len, value);
 3100|   126k|      return true;
 3101|   126k|    }
 3102|   126k|  }
_ZN3glz10fast_float8stackvecILt62EE16resize_uncheckedEmm:
 3082|   126k|  void resize_unchecked(size_t new_len, limb value) noexcept {
 3083|   126k|    if (new_len > len()) {
  ------------------
  |  Branch (3083:9): [True: 126k, False: 0]
  ------------------
 3084|   126k|      size_t count = new_len - len();
 3085|   126k|      limb *first = data + len();
 3086|   126k|      limb *last = first + count;
 3087|   126k|      ::std::fill(first, last, value);
 3088|   126k|      set_len(new_len);
 3089|   126k|    } else {
 3090|      0|      set_len(new_len);
 3091|      0|    }
 3092|   126k|  }
_ZN3glz10fast_float8stackvecILt62EE9normalizeEv:
 3118|  40.5k|  GLZ_FASTFLOAT_CONSTEXPR14 void normalize() noexcept {
 3119|  40.5k|    while (len() > 0 && rindex(0) == 0) {
  ------------------
  |  Branch (3119:12): [True: 40.5k, False: 0]
  |  Branch (3119:25): [True: 0, False: 40.5k]
  ------------------
 3120|      0|      length--;
 3121|      0|    }
 3122|  40.5k|  }
_ZNK3glz10fast_float8stackvecILt62EE6rindexEm:
 3028|  56.4k|  GLZ_FASTFLOAT_CONSTEXPR14 const limb &rindex(size_t index) const noexcept {
 3029|  56.4k|    GLZ_FASTFLOAT_DEBUG_ASSERT(index < length);
  ------------------
  |  |  349|  56.4k|  { ((void)(x)); }
  ------------------
 3030|  56.4k|    size_t rindex = length - index - 1;
 3031|  56.4k|    return data[rindex];
 3032|  56.4k|  }
_ZN3glz10fast_float6bigint4pow2Ej:
 3557|  13.1k|  GLZ_FASTFLOAT_CONSTEXPR20 bool pow2(uint32_t exp) noexcept { return shl(exp); }
_ZN3glz10fast_float6bigint3shlEm:
 3519|  13.1k|  GLZ_FASTFLOAT_CONSTEXPR20 bool shl(size_t n) noexcept {
 3520|  13.1k|    size_t rem = n % limb_bits;
 3521|  13.1k|    size_t div = n / limb_bits;
 3522|  13.1k|    if (rem != 0) {
  ------------------
  |  Branch (3522:9): [True: 10.7k, False: 2.35k]
  ------------------
 3523|  10.7k|      GLZ_FASTFLOAT_TRY(shl_bits(rem));
  ------------------
  |  |  354|  10.7k|  {                                                                            \
  |  |  355|  10.7k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 10.7k]
  |  |  ------------------
  |  |  356|  10.7k|      return false;                                                            \
  |  |  357|  10.7k|  }
  ------------------
 3524|  10.7k|    }
 3525|  13.1k|    if (div != 0) {
  ------------------
  |  Branch (3525:9): [True: 7.40k, False: 5.73k]
  ------------------
 3526|  7.40k|      GLZ_FASTFLOAT_TRY(shl_limbs(div));
  ------------------
  |  |  354|  7.40k|  {                                                                            \
  |  |  355|  7.40k|    if (!(x))                                                                  \
  |  |  ------------------
  |  |  |  Branch (355:9): [True: 0, False: 7.40k]
  |  |  ------------------
  |  |  356|  7.40k|      return false;                                                            \
  |  |  357|  7.40k|  }
  ------------------
 3527|  7.40k|    }
 3528|  13.1k|    return true;
 3529|  13.1k|  }
_ZN3glz10fast_float6bigint8shl_bitsEm:
 3472|  10.7k|  GLZ_FASTFLOAT_CONSTEXPR20 bool shl_bits(size_t n) noexcept {
 3473|       |    // Internally, for each item, we shift left by n, and add the previous
 3474|       |    // right shifted limb-bits.
 3475|       |    // For example, we transform (for u8) shifted left 2, to:
 3476|       |    //      b10100100 b01000010
 3477|       |    //      b10 b10010001 b00001000
 3478|  10.7k|    GLZ_FASTFLOAT_DEBUG_ASSERT(n != 0);
  ------------------
  |  |  349|  10.7k|  { ((void)(x)); }
  ------------------
 3479|  10.7k|    GLZ_FASTFLOAT_DEBUG_ASSERT(n < sizeof(limb) * 8);
  ------------------
  |  |  349|  10.7k|  { ((void)(x)); }
  ------------------
 3480|       |
 3481|  10.7k|    size_t shl = n;
 3482|  10.7k|    size_t shr = limb_bits - shl;
 3483|  10.7k|    limb prev = 0;
 3484|   193k|    for (size_t index = 0; index < vec.len(); index++) {
  ------------------
  |  Branch (3484:28): [True: 182k, False: 10.7k]
  ------------------
 3485|   182k|      limb xi = vec[index];
 3486|   182k|      vec[index] = (xi << shl) | (prev >> shr);
 3487|   182k|      prev = xi;
 3488|   182k|    }
 3489|       |
 3490|  10.7k|    limb carry = prev >> shr;
 3491|  10.7k|    if (carry != 0) {
  ------------------
  |  Branch (3491:9): [True: 2.97k, False: 7.80k]
  ------------------
 3492|  2.97k|      return vec.try_push(carry);
 3493|  2.97k|    }
 3494|  7.80k|    return true;
 3495|  10.7k|  }
_ZN3glz10fast_float6bigint9shl_limbsEm:
 3498|  7.40k|  GLZ_FASTFLOAT_CONSTEXPR20 bool shl_limbs(size_t n) noexcept {
 3499|  7.40k|    GLZ_FASTFLOAT_DEBUG_ASSERT(n != 0);
  ------------------
  |  |  349|  7.40k|  { ((void)(x)); }
  ------------------
 3500|  7.40k|    if (n + vec.len() > vec.capacity()) {
  ------------------
  |  Branch (3500:9): [True: 0, False: 7.40k]
  ------------------
 3501|      0|      return false;
 3502|  7.40k|    } else if (!vec.is_empty()) {
  ------------------
  |  Branch (3502:16): [True: 7.40k, False: 0]
  ------------------
 3503|       |      // move limbs
 3504|  7.40k|      limb *dst = vec.data + n;
 3505|  7.40k|      limb const *src = vec.data;
 3506|  7.40k|      std::copy_backward(src, src + vec.len(), dst + vec.len());
 3507|       |      // fill in empty limbs
 3508|  7.40k|      limb *first = vec.data;
 3509|  7.40k|      limb *last = first + n;
 3510|  7.40k|      ::std::fill(first, last, 0);
 3511|  7.40k|      vec.set_len(n + vec.len());
 3512|  7.40k|      return true;
 3513|  7.40k|    } else {
 3514|      0|      return true;
 3515|      0|    }
 3516|  7.40k|  }
_ZNK3glz10fast_float8stackvecILt62EE8is_emptyEv:
 3041|  12.1k|  constexpr bool is_empty() const noexcept { return length == 0; }
_ZNK3glz10fast_float6bigint4hi64ERb:
 3418|  4.74k|  GLZ_FASTFLOAT_CONSTEXPR20 uint64_t hi64(bool &truncated) const noexcept {
 3419|  4.74k|#ifdef GLZ_FASTFLOAT_64BIT_LIMB
 3420|  4.74k|    if (vec.len() == 0) {
  ------------------
  |  Branch (3420:9): [True: 0, False: 4.74k]
  ------------------
 3421|      0|      return empty_hi64(truncated);
 3422|  4.74k|    } else if (vec.len() == 1) {
  ------------------
  |  Branch (3422:16): [True: 1.32k, False: 3.41k]
  ------------------
 3423|  1.32k|      return uint64_hi64(vec.rindex(0), truncated);
 3424|  3.41k|    } else {
 3425|  3.41k|      uint64_t result = uint64_hi64(vec.rindex(0), vec.rindex(1), truncated);
 3426|  3.41k|      truncated |= vec.nonzero(2);
 3427|  3.41k|      return result;
 3428|  3.41k|    }
 3429|       |#else
 3430|       |    if (vec.len() == 0) {
 3431|       |      return empty_hi64(truncated);
 3432|       |    } else if (vec.len() == 1) {
 3433|       |      return uint32_hi64(vec.rindex(0), truncated);
 3434|       |    } else if (vec.len() == 2) {
 3435|       |      return uint32_hi64(vec.rindex(0), vec.rindex(1), truncated);
 3436|       |    } else {
 3437|       |      uint64_t result =
 3438|       |          uint32_hi64(vec.rindex(0), vec.rindex(1), vec.rindex(2), truncated);
 3439|       |      truncated |= vec.nonzero(3);
 3440|       |      return result;
 3441|       |    }
 3442|       |#endif
 3443|  4.74k|  }
_ZN3glz10fast_float11uint64_hi64EmRb:
 3132|  1.32k|uint64_hi64(uint64_t r0, bool &truncated) noexcept {
 3133|  1.32k|  truncated = false;
 3134|  1.32k|  int shl = leading_zeroes(r0);
 3135|  1.32k|  return r0 << shl;
 3136|  1.32k|}
_ZN3glz10fast_float11uint64_hi64EmmRb:
 3139|  3.41k|uint64_hi64(uint64_t r0, uint64_t r1, bool &truncated) noexcept {
 3140|  3.41k|  int shl = leading_zeroes(r0);
 3141|  3.41k|  if (shl == 0) {
  ------------------
  |  Branch (3141:7): [True: 424, False: 2.99k]
  ------------------
 3142|    424|    truncated = r1 != 0;
 3143|    424|    return r0;
 3144|  2.99k|  } else {
 3145|  2.99k|    int shr = 64 - shl;
 3146|  2.99k|    truncated = (r1 << shl) != 0;
 3147|  2.99k|    return (r0 << shl) | (r1 >> shr);
 3148|  2.99k|  }
 3149|  3.41k|}
_ZNK3glz10fast_float8stackvecILt62EE7nonzeroEm:
 3107|  3.41k|  GLZ_FASTFLOAT_CONSTEXPR14 bool nonzero(size_t index) const noexcept {
 3108|  4.06k|    while (index < len()) {
  ------------------
  |  Branch (3108:12): [True: 2.94k, False: 1.12k]
  ------------------
 3109|  2.94k|      if (rindex(index) != 0) {
  ------------------
  |  Branch (3109:11): [True: 2.29k, False: 652]
  ------------------
 3110|  2.29k|        return true;
 3111|  2.29k|      }
 3112|    652|      index++;
 3113|    652|    }
 3114|  1.12k|    return false;
 3115|  3.41k|  }
_ZNK3glz10fast_float6bigint10bit_lengthEv:
 3547|  4.74k|  GLZ_FASTFLOAT_CONSTEXPR20 int bit_length() const noexcept {
 3548|  4.74k|    int lz = ctlz();
 3549|  4.74k|    return int(limb_bits * vec.len()) - lz;
 3550|  4.74k|  }
_ZNK3glz10fast_float6bigint4ctlzEv:
 3532|  4.74k|  GLZ_FASTFLOAT_CONSTEXPR20 int ctlz() const noexcept {
 3533|  4.74k|    if (vec.is_empty()) {
  ------------------
  |  Branch (3533:9): [True: 0, False: 4.74k]
  ------------------
 3534|      0|      return 0;
 3535|  4.74k|    } else {
 3536|  4.74k|#ifdef GLZ_FASTFLOAT_64BIT_LIMB
 3537|  4.74k|      return leading_zeroes(vec.rindex(0));
 3538|       |#else
 3539|       |      // no use defining a specialized leading_zeroes for a 32-bit type.
 3540|       |      uint64_t r0 = vec.rindex(0);
 3541|       |      return leading_zeroes(r0 << 32);
 3542|       |#endif
 3543|  4.74k|    }
 3544|  4.74k|  }
_ZN3glz10fast_float5roundIdZNS0_19positive_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintEiEUlRS3_iE_EEvS6_T0_:
 3707|  4.74k|                                                         callback cb) noexcept {
 3708|  4.74k|  int32_t mantissa_shift = 64 - binary_format<T>::mantissa_explicit_bits() - 1;
 3709|  4.74k|  if (-am.power2 >= mantissa_shift) {
  ------------------
  |  Branch (3709:7): [True: 0, False: 4.74k]
  ------------------
 3710|       |    // have a denormal float
 3711|      0|    int32_t shift = -am.power2 + 1;
 3712|      0|    cb(am, (std::min<int32_t>)(shift, 64));
 3713|       |    // check for round-up: if rounding-nearest carried us to the hidden bit.
 3714|      0|    am.power2 = (am.mantissa <
  ------------------
  |  Branch (3714:17): [True: 0, False: 0]
  ------------------
 3715|      0|                 (uint64_t(1) << binary_format<T>::mantissa_explicit_bits()))
 3716|      0|                    ? 0
 3717|      0|                    : 1;
 3718|      0|    return;
 3719|      0|  }
 3720|       |
 3721|       |  // have a normal float, use the default shift.
 3722|  4.74k|  cb(am, mantissa_shift);
 3723|       |
 3724|       |  // check for carry
 3725|  4.74k|  if (am.mantissa >=
  ------------------
  |  Branch (3725:7): [True: 725, False: 4.02k]
  ------------------
 3726|  4.74k|      (uint64_t(2) << binary_format<T>::mantissa_explicit_bits())) {
 3727|    725|    am.mantissa = (uint64_t(1) << binary_format<T>::mantissa_explicit_bits());
 3728|    725|    am.power2++;
 3729|    725|  }
 3730|       |
 3731|       |  // check for infinite: we could have carried to an infinite power
 3732|  4.74k|  am.mantissa &= ~(uint64_t(1) << binary_format<T>::mantissa_explicit_bits());
 3733|  4.74k|  if (am.power2 >= binary_format<T>::infinite_power()) {
  ------------------
  |  Branch (3733:7): [True: 0, False: 4.74k]
  ------------------
 3734|      0|    am.power2 = binary_format<T>::infinite_power();
 3735|      0|    am.mantissa = 0;
 3736|      0|  }
 3737|  4.74k|}
_ZZN3glz10fast_float19positive_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintEiENKUlRS2_iE_clES5_i:
 3951|  4.74k|  round<T>(answer, [truncated](adjusted_mantissa &a, int32_t shift) {
 3952|  4.74k|    round_nearest_tie_even(
 3953|  4.74k|        a, shift,
 3954|  4.74k|        [truncated](bool is_odd, bool is_halfway, bool is_above) -> bool {
 3955|  4.74k|          return is_above || (is_halfway && truncated) ||
 3956|  4.74k|                 (is_odd && is_halfway);
 3957|  4.74k|        });
 3958|  4.74k|  });
_ZN3glz10fast_float22round_nearest_tie_evenIZZNS0_19positive_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintEiENKUlRS3_iE_clES6_iEUlbbbE_EEvS6_iT_:
 3742|  4.74k|                       callback cb) noexcept {
 3743|  4.74k|  uint64_t const mask = (shift == 64) ? UINT64_MAX : (uint64_t(1) << shift) - 1;
  ------------------
  |  Branch (3743:25): [True: 0, False: 4.74k]
  ------------------
 3744|  4.74k|  uint64_t const halfway = (shift == 0) ? 0 : uint64_t(1) << (shift - 1);
  ------------------
  |  Branch (3744:28): [True: 0, False: 4.74k]
  ------------------
 3745|  4.74k|  uint64_t truncated_bits = am.mantissa & mask;
 3746|  4.74k|  bool is_above = truncated_bits > halfway;
 3747|  4.74k|  bool is_halfway = truncated_bits == halfway;
 3748|       |
 3749|       |  // shift digits into position
 3750|  4.74k|  if (shift == 64) {
  ------------------
  |  Branch (3750:7): [True: 0, False: 4.74k]
  ------------------
 3751|      0|    am.mantissa = 0;
 3752|  4.74k|  } else {
 3753|  4.74k|    am.mantissa >>= shift;
 3754|  4.74k|  }
 3755|  4.74k|  am.power2 += shift;
 3756|       |
 3757|  4.74k|  bool is_odd = (am.mantissa & 1) == 1;
 3758|  4.74k|  am.mantissa += uint64_t(cb(is_odd, is_halfway, is_above));
 3759|  4.74k|}
_ZZZN3glz10fast_float19positive_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintEiENKUlRS2_iE_clES5_iENKUlbbbE_clEbbb:
 3954|  4.74k|        [truncated](bool is_odd, bool is_halfway, bool is_above) -> bool {
 3955|  4.74k|          return is_above || (is_halfway && truncated) ||
  ------------------
  |  Branch (3955:18): [True: 1.35k, False: 3.38k]
  |  Branch (3955:31): [True: 1.59k, False: 1.79k]
  |  Branch (3955:45): [True: 796, False: 800]
  ------------------
 3956|  2.59k|                 (is_odd && is_halfway);
  ------------------
  |  Branch (3956:19): [True: 1.11k, False: 1.48k]
  |  Branch (3956:29): [True: 29, False: 1.08k]
  ------------------
 3957|  4.74k|        });
_ZN3glz10fast_float19negative_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintES2_i:
 3970|  8.60k|    bigint &bigmant, adjusted_mantissa am, int32_t exponent) noexcept {
 3971|  8.60k|  bigint &real_digits = bigmant;
 3972|  8.60k|  int32_t real_exp = exponent;
 3973|       |
 3974|       |  // get the value of `b`, rounded down, and get a bigint representation of b+h
 3975|  8.60k|  adjusted_mantissa am_b = am;
 3976|       |  // gcc7 buf: use a lambda to remove the noexcept qualifier bug with
 3977|       |  // -Wnoexcept-type.
 3978|  8.60k|  round<T>(am_b,
 3979|  8.60k|           [](adjusted_mantissa &a, int32_t shift) { round_down(a, shift); });
 3980|  8.60k|  T b;
 3981|  8.60k|  to_float(false, am_b, b);
 3982|  8.60k|  adjusted_mantissa theor = to_extended_halfway(b);
 3983|  8.60k|  bigint theor_digits(theor.mantissa);
 3984|  8.60k|  int32_t theor_exp = theor.power2;
 3985|       |
 3986|       |  // scale real digits and theor digits to be same power.
 3987|  8.60k|  int32_t pow2_exp = theor_exp - real_exp;
 3988|  8.60k|  uint32_t pow5_exp = uint32_t(-real_exp);
 3989|  8.60k|  if (pow5_exp != 0) {
  ------------------
  |  Branch (3989:7): [True: 8.60k, False: 0]
  ------------------
 3990|  8.60k|    GLZ_FASTFLOAT_ASSERT(theor_digits.pow5(pow5_exp));
  ------------------
  |  |  344|  8.60k|  { ((void)(x)); }
  ------------------
 3991|  8.60k|  }
 3992|  8.60k|  if (pow2_exp > 0) {
  ------------------
  |  Branch (3992:7): [True: 6.05k, False: 2.54k]
  ------------------
 3993|  6.05k|    GLZ_FASTFLOAT_ASSERT(theor_digits.pow2(uint32_t(pow2_exp)));
  ------------------
  |  |  344|  6.05k|  { ((void)(x)); }
  ------------------
 3994|  6.05k|  } else if (pow2_exp < 0) {
  ------------------
  |  Branch (3994:14): [True: 2.33k, False: 210]
  ------------------
 3995|  2.33k|    GLZ_FASTFLOAT_ASSERT(real_digits.pow2(uint32_t(-pow2_exp)));
  ------------------
  |  |  344|  2.33k|  { ((void)(x)); }
  ------------------
 3996|  2.33k|  }
 3997|       |
 3998|       |  // compare digits, and use it to director rounding
 3999|  8.60k|  int ord = real_digits.compare(theor_digits);
 4000|  8.60k|  adjusted_mantissa answer = am;
 4001|  8.60k|  round<T>(answer, [ord](adjusted_mantissa &a, int32_t shift) {
 4002|  8.60k|    round_nearest_tie_even(
 4003|  8.60k|        a, shift, [ord](bool is_odd, bool _, bool __) -> bool {
 4004|  8.60k|          (void)_;  // not needed, since we've done our comparison
 4005|  8.60k|          (void)__; // not needed, since we've done our comparison
 4006|  8.60k|          if (ord > 0) {
 4007|  8.60k|            return true;
 4008|  8.60k|          } else if (ord < 0) {
 4009|  8.60k|            return false;
 4010|  8.60k|          } else {
 4011|  8.60k|            return is_odd;
 4012|  8.60k|          }
 4013|  8.60k|        });
 4014|  8.60k|  });
 4015|       |
 4016|  8.60k|  return answer;
 4017|  8.60k|}
_ZN3glz10fast_float5roundIdZNS0_19negative_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintES3_iEUlRS3_iE_EEvS6_T0_:
 3707|  8.60k|                                                         callback cb) noexcept {
 3708|  8.60k|  int32_t mantissa_shift = 64 - binary_format<T>::mantissa_explicit_bits() - 1;
 3709|  8.60k|  if (-am.power2 >= mantissa_shift) {
  ------------------
  |  Branch (3709:7): [True: 805, False: 7.79k]
  ------------------
 3710|       |    // have a denormal float
 3711|    805|    int32_t shift = -am.power2 + 1;
 3712|    805|    cb(am, (std::min<int32_t>)(shift, 64));
 3713|       |    // check for round-up: if rounding-nearest carried us to the hidden bit.
 3714|    805|    am.power2 = (am.mantissa <
  ------------------
  |  Branch (3714:17): [True: 805, False: 0]
  ------------------
 3715|    805|                 (uint64_t(1) << binary_format<T>::mantissa_explicit_bits()))
 3716|    805|                    ? 0
 3717|    805|                    : 1;
 3718|    805|    return;
 3719|    805|  }
 3720|       |
 3721|       |  // have a normal float, use the default shift.
 3722|  7.79k|  cb(am, mantissa_shift);
 3723|       |
 3724|       |  // check for carry
 3725|  7.79k|  if (am.mantissa >=
  ------------------
  |  Branch (3725:7): [True: 0, False: 7.79k]
  ------------------
 3726|  7.79k|      (uint64_t(2) << binary_format<T>::mantissa_explicit_bits())) {
 3727|      0|    am.mantissa = (uint64_t(1) << binary_format<T>::mantissa_explicit_bits());
 3728|      0|    am.power2++;
 3729|      0|  }
 3730|       |
 3731|       |  // check for infinite: we could have carried to an infinite power
 3732|  7.79k|  am.mantissa &= ~(uint64_t(1) << binary_format<T>::mantissa_explicit_bits());
 3733|  7.79k|  if (am.power2 >= binary_format<T>::infinite_power()) {
  ------------------
  |  Branch (3733:7): [True: 0, False: 7.79k]
  ------------------
 3734|      0|    am.power2 = binary_format<T>::infinite_power();
 3735|      0|    am.mantissa = 0;
 3736|      0|  }
 3737|  7.79k|}
_ZZN3glz10fast_float19negative_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintES2_iENKUlRS2_iE_clES5_i:
 3979|  8.60k|           [](adjusted_mantissa &a, int32_t shift) { round_down(a, shift); });
_ZN3glz10fast_float10round_downERNS0_17adjusted_mantissaEi:
 3762|  8.60k|round_down(adjusted_mantissa &am, int32_t shift) noexcept {
 3763|  8.60k|  if (shift == 64) {
  ------------------
  |  Branch (3763:7): [True: 0, False: 8.60k]
  ------------------
 3764|      0|    am.mantissa = 0;
 3765|  8.60k|  } else {
 3766|  8.60k|    am.mantissa >>= shift;
 3767|  8.60k|  }
 3768|  8.60k|  am.power2 += shift;
 3769|  8.60k|}
_ZN3glz10fast_float19to_extended_halfwayIdEENS0_17adjusted_mantissaET_:
 3696|  8.60k|to_extended_halfway(T value) noexcept {
 3697|  8.60k|  adjusted_mantissa am = to_extended(value);
 3698|  8.60k|  am.mantissa <<= 1;
 3699|  8.60k|  am.mantissa += 1;
 3700|  8.60k|  am.power2 -= 1;
 3701|  8.60k|  return am;
 3702|  8.60k|}
_ZN3glz10fast_float11to_extendedIdEENS0_17adjusted_mantissaET_:
 3661|  8.60k|to_extended(T value) noexcept {
 3662|  8.60k|  using equiv_uint = equiv_uint_t<T>;
 3663|  8.60k|  constexpr equiv_uint exponent_mask = binary_format<T>::exponent_mask();
 3664|  8.60k|  constexpr equiv_uint mantissa_mask = binary_format<T>::mantissa_mask();
 3665|  8.60k|  constexpr equiv_uint hidden_bit_mask = binary_format<T>::hidden_bit_mask();
 3666|       |
 3667|  8.60k|  adjusted_mantissa am;
 3668|  8.60k|  int32_t bias = binary_format<T>::mantissa_explicit_bits() -
 3669|  8.60k|                 binary_format<T>::minimum_exponent();
 3670|  8.60k|  equiv_uint bits;
 3671|  8.60k|#if GLZ_FASTFLOAT_HAS_BIT_CAST
 3672|  8.60k|  bits = std::bit_cast<equiv_uint>(value);
 3673|       |#else
 3674|       |  ::memcpy(&bits, &value, sizeof(T));
 3675|       |#endif
 3676|  8.60k|  if ((bits & exponent_mask) == 0) {
  ------------------
  |  Branch (3676:7): [True: 805, False: 7.79k]
  ------------------
 3677|       |    // denormal
 3678|    805|    am.power2 = 1 - bias;
 3679|    805|    am.mantissa = bits & mantissa_mask;
 3680|  7.79k|  } else {
 3681|       |    // normal
 3682|  7.79k|    am.power2 = int32_t((bits & exponent_mask) >>
 3683|  7.79k|                        binary_format<T>::mantissa_explicit_bits());
 3684|  7.79k|    am.power2 -= bias;
 3685|  7.79k|    am.mantissa = (bits & mantissa_mask) | hidden_bit_mask;
 3686|  7.79k|  }
 3687|       |
 3688|  8.60k|  return am;
 3689|  8.60k|}
_ZN3glz10fast_float6bigintC2Em:
 3406|  8.60k|  GLZ_FASTFLOAT_CONSTEXPR20 bigint(uint64_t value) : vec() {
 3407|  8.60k|#ifdef GLZ_FASTFLOAT_64BIT_LIMB
 3408|  8.60k|    vec.push_unchecked(value);
 3409|       |#else
 3410|       |    vec.push_unchecked(uint32_t(value));
 3411|       |    vec.push_unchecked(uint32_t(value >> 32));
 3412|       |#endif
 3413|  8.60k|    vec.normalize();
 3414|  8.60k|  }
_ZNK3glz10fast_float6bigint7compareERKS1_:
 3451|  8.60k|  GLZ_FASTFLOAT_CONSTEXPR20 int compare(bigint const &other) const noexcept {
 3452|  8.60k|    if (vec.len() > other.vec.len()) {
  ------------------
  |  Branch (3452:9): [True: 0, False: 8.60k]
  ------------------
 3453|      0|      return 1;
 3454|  8.60k|    } else if (vec.len() < other.vec.len()) {
  ------------------
  |  Branch (3454:16): [True: 0, False: 8.60k]
  ------------------
 3455|      0|      return -1;
 3456|  8.60k|    } else {
 3457|  24.4k|      for (size_t index = vec.len(); index > 0; index--) {
  ------------------
  |  Branch (3457:38): [True: 23.6k, False: 732]
  ------------------
 3458|  23.6k|        limb xi = vec[index - 1];
 3459|  23.6k|        limb yi = other.vec[index - 1];
 3460|  23.6k|        if (xi > yi) {
  ------------------
  |  Branch (3460:13): [True: 2.26k, False: 21.4k]
  ------------------
 3461|  2.26k|          return 1;
 3462|  21.4k|        } else if (xi < yi) {
  ------------------
  |  Branch (3462:20): [True: 5.61k, False: 15.8k]
  ------------------
 3463|  5.61k|          return -1;
 3464|  5.61k|        }
 3465|  23.6k|      }
 3466|    732|      return 0;
 3467|  8.60k|    }
 3468|  8.60k|  }
_ZNK3glz10fast_float8stackvecILt62EEixEm:
 3022|  47.3k|  GLZ_FASTFLOAT_CONSTEXPR14 const limb &operator[](size_t index) const noexcept {
 3023|  47.3k|    GLZ_FASTFLOAT_DEBUG_ASSERT(index < length);
  ------------------
  |  |  349|  47.3k|  { ((void)(x)); }
  ------------------
 3024|  47.3k|    return data[index];
 3025|  47.3k|  }
_ZN3glz10fast_float5roundIdZNS0_19negative_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintES3_iEUlRS3_iE0_EEvS6_T0_:
 3707|  8.60k|                                                         callback cb) noexcept {
 3708|  8.60k|  int32_t mantissa_shift = 64 - binary_format<T>::mantissa_explicit_bits() - 1;
 3709|  8.60k|  if (-am.power2 >= mantissa_shift) {
  ------------------
  |  Branch (3709:7): [True: 805, False: 7.79k]
  ------------------
 3710|       |    // have a denormal float
 3711|    805|    int32_t shift = -am.power2 + 1;
 3712|    805|    cb(am, (std::min<int32_t>)(shift, 64));
 3713|       |    // check for round-up: if rounding-nearest carried us to the hidden bit.
 3714|    805|    am.power2 = (am.mantissa <
  ------------------
  |  Branch (3714:17): [True: 799, False: 6]
  ------------------
 3715|    805|                 (uint64_t(1) << binary_format<T>::mantissa_explicit_bits()))
 3716|    805|                    ? 0
 3717|    805|                    : 1;
 3718|    805|    return;
 3719|    805|  }
 3720|       |
 3721|       |  // have a normal float, use the default shift.
 3722|  7.79k|  cb(am, mantissa_shift);
 3723|       |
 3724|       |  // check for carry
 3725|  7.79k|  if (am.mantissa >=
  ------------------
  |  Branch (3725:7): [True: 330, False: 7.46k]
  ------------------
 3726|  7.79k|      (uint64_t(2) << binary_format<T>::mantissa_explicit_bits())) {
 3727|    330|    am.mantissa = (uint64_t(1) << binary_format<T>::mantissa_explicit_bits());
 3728|    330|    am.power2++;
 3729|    330|  }
 3730|       |
 3731|       |  // check for infinite: we could have carried to an infinite power
 3732|  7.79k|  am.mantissa &= ~(uint64_t(1) << binary_format<T>::mantissa_explicit_bits());
 3733|  7.79k|  if (am.power2 >= binary_format<T>::infinite_power()) {
  ------------------
  |  Branch (3733:7): [True: 0, False: 7.79k]
  ------------------
 3734|      0|    am.power2 = binary_format<T>::infinite_power();
 3735|      0|    am.mantissa = 0;
 3736|      0|  }
 3737|  7.79k|}
_ZZN3glz10fast_float19negative_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintES2_iENKUlRS2_iE0_clES5_i:
 4001|  8.60k|  round<T>(answer, [ord](adjusted_mantissa &a, int32_t shift) {
 4002|  8.60k|    round_nearest_tie_even(
 4003|  8.60k|        a, shift, [ord](bool is_odd, bool _, bool __) -> bool {
 4004|  8.60k|          (void)_;  // not needed, since we've done our comparison
 4005|  8.60k|          (void)__; // not needed, since we've done our comparison
 4006|  8.60k|          if (ord > 0) {
 4007|  8.60k|            return true;
 4008|  8.60k|          } else if (ord < 0) {
 4009|  8.60k|            return false;
 4010|  8.60k|          } else {
 4011|  8.60k|            return is_odd;
 4012|  8.60k|          }
 4013|  8.60k|        });
 4014|  8.60k|  });
_ZN3glz10fast_float22round_nearest_tie_evenIZZNS0_19negative_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintES3_iENKUlRS3_iE0_clES6_iEUlbbbE_EEvS6_iT_:
 3742|  8.60k|                       callback cb) noexcept {
 3743|  8.60k|  uint64_t const mask = (shift == 64) ? UINT64_MAX : (uint64_t(1) << shift) - 1;
  ------------------
  |  Branch (3743:25): [True: 0, False: 8.60k]
  ------------------
 3744|  8.60k|  uint64_t const halfway = (shift == 0) ? 0 : uint64_t(1) << (shift - 1);
  ------------------
  |  Branch (3744:28): [True: 0, False: 8.60k]
  ------------------
 3745|  8.60k|  uint64_t truncated_bits = am.mantissa & mask;
 3746|  8.60k|  bool is_above = truncated_bits > halfway;
 3747|  8.60k|  bool is_halfway = truncated_bits == halfway;
 3748|       |
 3749|       |  // shift digits into position
 3750|  8.60k|  if (shift == 64) {
  ------------------
  |  Branch (3750:7): [True: 0, False: 8.60k]
  ------------------
 3751|      0|    am.mantissa = 0;
 3752|  8.60k|  } else {
 3753|  8.60k|    am.mantissa >>= shift;
 3754|  8.60k|  }
 3755|  8.60k|  am.power2 += shift;
 3756|       |
 3757|  8.60k|  bool is_odd = (am.mantissa & 1) == 1;
 3758|  8.60k|  am.mantissa += uint64_t(cb(is_odd, is_halfway, is_above));
 3759|  8.60k|}
_ZZZN3glz10fast_float19negative_digit_compIdEENS0_17adjusted_mantissaERNS0_6bigintES2_iENKUlRS2_iE0_clES5_iENKUlbbbE_clEbbb:
 4003|  8.60k|        a, shift, [ord](bool is_odd, bool _, bool __) -> bool {
 4004|  8.60k|          (void)_;  // not needed, since we've done our comparison
 4005|  8.60k|          (void)__; // not needed, since we've done our comparison
 4006|  8.60k|          if (ord > 0) {
  ------------------
  |  Branch (4006:15): [True: 2.26k, False: 6.34k]
  ------------------
 4007|  2.26k|            return true;
 4008|  6.34k|          } else if (ord < 0) {
  ------------------
  |  Branch (4008:22): [True: 5.61k, False: 732]
  ------------------
 4009|  5.61k|            return false;
 4010|  5.61k|          } else {
 4011|    732|            return is_odd;
 4012|    732|          }
 4013|  8.60k|        });
_ZN3glz10fast_float8to_floatIdEEvbNS0_17adjusted_mantissaERT_:
 1131|  27.7k|to_float(bool negative, adjusted_mantissa am, T &value) {
 1132|  27.7k|  using equiv_uint = equiv_uint_t<T>;
 1133|  27.7k|  equiv_uint word = equiv_uint(am.mantissa);
 1134|  27.7k|  word = equiv_uint(word | equiv_uint(am.power2)
 1135|  27.7k|                               << binary_format<T>::mantissa_explicit_bits());
 1136|  27.7k|  word =
 1137|  27.7k|      equiv_uint(word | equiv_uint(negative) << binary_format<T>::sign_index());
 1138|  27.7k|#if GLZ_FASTFLOAT_HAS_BIT_CAST
 1139|  27.7k|  value = std::bit_cast<T>(word);
 1140|       |#else
 1141|       |  ::memcpy(&value, &word, sizeof(T));
 1142|       |#endif
 1143|  27.7k|}
_ZN3glz10fast_float13binary_formatIdE10sign_indexEv:
  758|  27.7k|template <> inline constexpr int binary_format<double>::sign_index() {
  759|  27.7k|  return 63;
  760|  27.7k|}
_ZN3glz10fast_float13binary_formatIdE14infinite_powerEv:
  750|  71.5k|template <> inline constexpr int binary_format<double>::infinite_power() {
  751|  71.5k|  return 0x7FF;
  752|  71.5k|}

_ZN3glz5visitILm4EZNS_16parse_and_invokeITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1EEE9my_structRS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT1_OT3_OT4_OT5_DpOT2_EUlTnmvE_EEvOSA_m:
   86|  38.4k|   {
   87|  38.4k|      if constexpr (N > 0) {
   88|  38.4k|         assert(index < N && "glz::visit index out of range");
  ------------------
  |  Branch (88:10): [True: 38.4k, False: 0]
  |  Branch (88:10): [True: 38.4k, Folded]
  |  Branch (88:10): [True: 38.4k, False: 0]
  ------------------
   89|       |         // Explicit sizes for small N to help the compiler and make debugging easier
   90|       |         if constexpr (N == 1) {
   91|       |            (void)index;
   92|       |            (void)(lambda.template operator()<0>());
   93|       |         }
   94|       |         else if constexpr (N == 2) {
   95|       |            switch (index) {
   96|       |            case 0:
   97|       |               lambda.template operator()<0>();
   98|       |               break;
   99|       |            case 1:
  100|       |               lambda.template operator()<1>();
  101|       |               break;
  102|       |            default:
  103|       |               std::unreachable();
  104|       |            }
  105|       |         }
  106|       |         else if constexpr (N == 3) {
  107|       |            switch (index) {
  108|       |            case 0:
  109|       |               lambda.template operator()<0>();
  110|       |               break;
  111|       |            case 1:
  112|       |               lambda.template operator()<1>();
  113|       |               break;
  114|       |            case 2:
  115|       |               lambda.template operator()<2>();
  116|       |               break;
  117|       |            default:
  118|       |               std::unreachable();
  119|       |            }
  120|       |         }
  121|  38.4k|         else if constexpr (N == 4) {
  122|  38.4k|            switch (index) {
  123|  10.2k|            case 0:
  ------------------
  |  Branch (123:13): [True: 10.2k, False: 28.2k]
  ------------------
  124|  10.2k|               lambda.template operator()<0>();
  125|  10.2k|               break;
  126|  14.3k|            case 1:
  ------------------
  |  Branch (126:13): [True: 14.3k, False: 24.1k]
  ------------------
  127|  14.3k|               lambda.template operator()<1>();
  128|  14.3k|               break;
  129|  4.83k|            case 2:
  ------------------
  |  Branch (129:13): [True: 4.83k, False: 33.6k]
  ------------------
  130|  4.83k|               lambda.template operator()<2>();
  131|  4.83k|               break;
  132|  9.06k|            case 3:
  ------------------
  |  Branch (132:13): [True: 9.06k, False: 29.4k]
  ------------------
  133|  9.06k|               lambda.template operator()<3>();
  134|  9.06k|               break;
  135|      0|            default:
  ------------------
  |  Branch (135:13): [True: 0, False: 38.4k]
  ------------------
  136|      0|               std::unreachable();
  137|  38.4k|            }
  138|       |         }
  139|       |         else if constexpr (N == 5) {
  140|       |            switch (index) {
  141|       |            case 0:
  142|       |               lambda.template operator()<0>();
  143|       |               break;
  144|       |            case 1:
  145|       |               lambda.template operator()<1>();
  146|       |               break;
  147|       |            case 2:
  148|       |               lambda.template operator()<2>();
  149|       |               break;
  150|       |            case 3:
  151|       |               lambda.template operator()<3>();
  152|       |               break;
  153|       |            case 4:
  154|       |               lambda.template operator()<4>();
  155|       |               break;
  156|       |            default:
  157|       |               std::unreachable();
  158|       |            }
  159|       |         }
  160|       |         else if constexpr (N == 6) {
  161|       |            switch (index) {
  162|       |            case 0:
  163|       |               lambda.template operator()<0>();
  164|       |               break;
  165|       |            case 1:
  166|       |               lambda.template operator()<1>();
  167|       |               break;
  168|       |            case 2:
  169|       |               lambda.template operator()<2>();
  170|       |               break;
  171|       |            case 3:
  172|       |               lambda.template operator()<3>();
  173|       |               break;
  174|       |            case 4:
  175|       |               lambda.template operator()<4>();
  176|       |               break;
  177|       |            case 5:
  178|       |               lambda.template operator()<5>();
  179|       |               break;
  180|       |            default:
  181|       |               std::unreachable();
  182|       |            }
  183|       |         }
  184|       |         else if constexpr (N == 7) {
  185|       |            switch (index) {
  186|       |            case 0:
  187|       |               lambda.template operator()<0>();
  188|       |               break;
  189|       |            case 1:
  190|       |               lambda.template operator()<1>();
  191|       |               break;
  192|       |            case 2:
  193|       |               lambda.template operator()<2>();
  194|       |               break;
  195|       |            case 3:
  196|       |               lambda.template operator()<3>();
  197|       |               break;
  198|       |            case 4:
  199|       |               lambda.template operator()<4>();
  200|       |               break;
  201|       |            case 5:
  202|       |               lambda.template operator()<5>();
  203|       |               break;
  204|       |            case 6:
  205|       |               lambda.template operator()<6>();
  206|       |               break;
  207|       |            default:
  208|       |               std::unreachable();
  209|       |            }
  210|       |         }
  211|       |         else if constexpr (N == 8) {
  212|       |            switch (index) {
  213|       |            case 0:
  214|       |               lambda.template operator()<0>();
  215|       |               break;
  216|       |            case 1:
  217|       |               lambda.template operator()<1>();
  218|       |               break;
  219|       |            case 2:
  220|       |               lambda.template operator()<2>();
  221|       |               break;
  222|       |            case 3:
  223|       |               lambda.template operator()<3>();
  224|       |               break;
  225|       |            case 4:
  226|       |               lambda.template operator()<4>();
  227|       |               break;
  228|       |            case 5:
  229|       |               lambda.template operator()<5>();
  230|       |               break;
  231|       |            case 6:
  232|       |               lambda.template operator()<6>();
  233|       |               break;
  234|       |            case 7:
  235|       |               lambda.template operator()<7>();
  236|       |               break;
  237|       |            default:
  238|       |               std::unreachable();
  239|       |            }
  240|       |         }
  241|       |         else if constexpr (N == 9) {
  242|       |            switch (index) {
  243|       |            case 0:
  244|       |               lambda.template operator()<0>();
  245|       |               break;
  246|       |            case 1:
  247|       |               lambda.template operator()<1>();
  248|       |               break;
  249|       |            case 2:
  250|       |               lambda.template operator()<2>();
  251|       |               break;
  252|       |            case 3:
  253|       |               lambda.template operator()<3>();
  254|       |               break;
  255|       |            case 4:
  256|       |               lambda.template operator()<4>();
  257|       |               break;
  258|       |            case 5:
  259|       |               lambda.template operator()<5>();
  260|       |               break;
  261|       |            case 6:
  262|       |               lambda.template operator()<6>();
  263|       |               break;
  264|       |            case 7:
  265|       |               lambda.template operator()<7>();
  266|       |               break;
  267|       |            case 8:
  268|       |               lambda.template operator()<8>();
  269|       |               break;
  270|       |            default:
  271|       |               std::unreachable();
  272|       |            }
  273|       |         }
  274|       |         else if constexpr (N == 10) {
  275|       |            switch (index) {
  276|       |            case 0:
  277|       |               lambda.template operator()<0>();
  278|       |               break;
  279|       |            case 1:
  280|       |               lambda.template operator()<1>();
  281|       |               break;
  282|       |            case 2:
  283|       |               lambda.template operator()<2>();
  284|       |               break;
  285|       |            case 3:
  286|       |               lambda.template operator()<3>();
  287|       |               break;
  288|       |            case 4:
  289|       |               lambda.template operator()<4>();
  290|       |               break;
  291|       |            case 5:
  292|       |               lambda.template operator()<5>();
  293|       |               break;
  294|       |            case 6:
  295|       |               lambda.template operator()<6>();
  296|       |               break;
  297|       |            case 7:
  298|       |               lambda.template operator()<7>();
  299|       |               break;
  300|       |            case 8:
  301|       |               lambda.template operator()<8>();
  302|       |               break;
  303|       |            case 9:
  304|       |               lambda.template operator()<9>();
  305|       |               break;
  306|       |            default:
  307|       |               std::unreachable();
  308|       |            }
  309|       |         }
  310|       |         else {
  311|       |#ifdef _MSC_VER
  312|       |            using Lambda = std::decay_t<decltype(lambda)>;
  313|       |            static const auto jump_table = []<size_t... I>(std::index_sequence<I...>) {
  314|       |               return std::array{make_jump_function<I, Lambda>()...};
  315|       |            }(std::make_index_sequence<N>{});
  316|       |#else
  317|       |            static constexpr auto jump_table = []<size_t... I>(std::index_sequence<I...>) {
  318|       |               return std::array{+[](std::decay_t<decltype(lambda)>& l) { l.template operator()<I>(); }...};
  319|       |            }(std::make_index_sequence<N>{});
  320|       |#endif
  321|       |
  322|       |#if defined(__clang__)
  323|       |            [[assume(index < N)]];
  324|       |#endif
  325|       |            jump_table[index](lambda);
  326|       |
  327|       |            // This code runs significantly slower on Clang
  328|       |            // Simple tests with assembly show that this should be faster,
  329|       |            // but full Glaze assembly need to be looked into
  330|       |            /*[&, index]<size_t... I>(std::index_sequence<I...>) {
  331|       |               (void)((index == I ? lambda.template operator()<I>() : void()), ...);
  332|       |            }(std::make_index_sequence<N>{});*/
  333|       |         }
  334|  38.4k|      }
  335|  38.4k|   }
_ZN3glz5visitILm4EZNS_16parse_and_invokeITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1EEE9my_structRS3_JETkNS_10is_contextERNS_7contextERPKcS9_Qoo14glaze_object_tIT0_E11reflectableISA_EEEvOT1_OT3_OT4_OT5_DpOT2_EUlTnmvE_EEvOSA_m:
   86|  38.7k|   {
   87|  38.7k|      if constexpr (N > 0) {
   88|  38.7k|         assert(index < N && "glz::visit index out of range");
  ------------------
  |  Branch (88:10): [True: 38.7k, False: 0]
  |  Branch (88:10): [True: 38.7k, Folded]
  |  Branch (88:10): [True: 38.7k, False: 0]
  ------------------
   89|       |         // Explicit sizes for small N to help the compiler and make debugging easier
   90|       |         if constexpr (N == 1) {
   91|       |            (void)index;
   92|       |            (void)(lambda.template operator()<0>());
   93|       |         }
   94|       |         else if constexpr (N == 2) {
   95|       |            switch (index) {
   96|       |            case 0:
   97|       |               lambda.template operator()<0>();
   98|       |               break;
   99|       |            case 1:
  100|       |               lambda.template operator()<1>();
  101|       |               break;
  102|       |            default:
  103|       |               std::unreachable();
  104|       |            }
  105|       |         }
  106|       |         else if constexpr (N == 3) {
  107|       |            switch (index) {
  108|       |            case 0:
  109|       |               lambda.template operator()<0>();
  110|       |               break;
  111|       |            case 1:
  112|       |               lambda.template operator()<1>();
  113|       |               break;
  114|       |            case 2:
  115|       |               lambda.template operator()<2>();
  116|       |               break;
  117|       |            default:
  118|       |               std::unreachable();
  119|       |            }
  120|       |         }
  121|  38.7k|         else if constexpr (N == 4) {
  122|  38.7k|            switch (index) {
  123|  10.2k|            case 0:
  ------------------
  |  Branch (123:13): [True: 10.2k, False: 28.5k]
  ------------------
  124|  10.2k|               lambda.template operator()<0>();
  125|  10.2k|               break;
  126|  14.6k|            case 1:
  ------------------
  |  Branch (126:13): [True: 14.6k, False: 24.1k]
  ------------------
  127|  14.6k|               lambda.template operator()<1>();
  128|  14.6k|               break;
  129|  4.85k|            case 2:
  ------------------
  |  Branch (129:13): [True: 4.85k, False: 33.9k]
  ------------------
  130|  4.85k|               lambda.template operator()<2>();
  131|  4.85k|               break;
  132|  9.06k|            case 3:
  ------------------
  |  Branch (132:13): [True: 9.06k, False: 29.7k]
  ------------------
  133|  9.06k|               lambda.template operator()<3>();
  134|  9.06k|               break;
  135|      0|            default:
  ------------------
  |  Branch (135:13): [True: 0, False: 38.7k]
  ------------------
  136|      0|               std::unreachable();
  137|  38.7k|            }
  138|       |         }
  139|       |         else if constexpr (N == 5) {
  140|       |            switch (index) {
  141|       |            case 0:
  142|       |               lambda.template operator()<0>();
  143|       |               break;
  144|       |            case 1:
  145|       |               lambda.template operator()<1>();
  146|       |               break;
  147|       |            case 2:
  148|       |               lambda.template operator()<2>();
  149|       |               break;
  150|       |            case 3:
  151|       |               lambda.template operator()<3>();
  152|       |               break;
  153|       |            case 4:
  154|       |               lambda.template operator()<4>();
  155|       |               break;
  156|       |            default:
  157|       |               std::unreachable();
  158|       |            }
  159|       |         }
  160|       |         else if constexpr (N == 6) {
  161|       |            switch (index) {
  162|       |            case 0:
  163|       |               lambda.template operator()<0>();
  164|       |               break;
  165|       |            case 1:
  166|       |               lambda.template operator()<1>();
  167|       |               break;
  168|       |            case 2:
  169|       |               lambda.template operator()<2>();
  170|       |               break;
  171|       |            case 3:
  172|       |               lambda.template operator()<3>();
  173|       |               break;
  174|       |            case 4:
  175|       |               lambda.template operator()<4>();
  176|       |               break;
  177|       |            case 5:
  178|       |               lambda.template operator()<5>();
  179|       |               break;
  180|       |            default:
  181|       |               std::unreachable();
  182|       |            }
  183|       |         }
  184|       |         else if constexpr (N == 7) {
  185|       |            switch (index) {
  186|       |            case 0:
  187|       |               lambda.template operator()<0>();
  188|       |               break;
  189|       |            case 1:
  190|       |               lambda.template operator()<1>();
  191|       |               break;
  192|       |            case 2:
  193|       |               lambda.template operator()<2>();
  194|       |               break;
  195|       |            case 3:
  196|       |               lambda.template operator()<3>();
  197|       |               break;
  198|       |            case 4:
  199|       |               lambda.template operator()<4>();
  200|       |               break;
  201|       |            case 5:
  202|       |               lambda.template operator()<5>();
  203|       |               break;
  204|       |            case 6:
  205|       |               lambda.template operator()<6>();
  206|       |               break;
  207|       |            default:
  208|       |               std::unreachable();
  209|       |            }
  210|       |         }
  211|       |         else if constexpr (N == 8) {
  212|       |            switch (index) {
  213|       |            case 0:
  214|       |               lambda.template operator()<0>();
  215|       |               break;
  216|       |            case 1:
  217|       |               lambda.template operator()<1>();
  218|       |               break;
  219|       |            case 2:
  220|       |               lambda.template operator()<2>();
  221|       |               break;
  222|       |            case 3:
  223|       |               lambda.template operator()<3>();
  224|       |               break;
  225|       |            case 4:
  226|       |               lambda.template operator()<4>();
  227|       |               break;
  228|       |            case 5:
  229|       |               lambda.template operator()<5>();
  230|       |               break;
  231|       |            case 6:
  232|       |               lambda.template operator()<6>();
  233|       |               break;
  234|       |            case 7:
  235|       |               lambda.template operator()<7>();
  236|       |               break;
  237|       |            default:
  238|       |               std::unreachable();
  239|       |            }
  240|       |         }
  241|       |         else if constexpr (N == 9) {
  242|       |            switch (index) {
  243|       |            case 0:
  244|       |               lambda.template operator()<0>();
  245|       |               break;
  246|       |            case 1:
  247|       |               lambda.template operator()<1>();
  248|       |               break;
  249|       |            case 2:
  250|       |               lambda.template operator()<2>();
  251|       |               break;
  252|       |            case 3:
  253|       |               lambda.template operator()<3>();
  254|       |               break;
  255|       |            case 4:
  256|       |               lambda.template operator()<4>();
  257|       |               break;
  258|       |            case 5:
  259|       |               lambda.template operator()<5>();
  260|       |               break;
  261|       |            case 6:
  262|       |               lambda.template operator()<6>();
  263|       |               break;
  264|       |            case 7:
  265|       |               lambda.template operator()<7>();
  266|       |               break;
  267|       |            case 8:
  268|       |               lambda.template operator()<8>();
  269|       |               break;
  270|       |            default:
  271|       |               std::unreachable();
  272|       |            }
  273|       |         }
  274|       |         else if constexpr (N == 10) {
  275|       |            switch (index) {
  276|       |            case 0:
  277|       |               lambda.template operator()<0>();
  278|       |               break;
  279|       |            case 1:
  280|       |               lambda.template operator()<1>();
  281|       |               break;
  282|       |            case 2:
  283|       |               lambda.template operator()<2>();
  284|       |               break;
  285|       |            case 3:
  286|       |               lambda.template operator()<3>();
  287|       |               break;
  288|       |            case 4:
  289|       |               lambda.template operator()<4>();
  290|       |               break;
  291|       |            case 5:
  292|       |               lambda.template operator()<5>();
  293|       |               break;
  294|       |            case 6:
  295|       |               lambda.template operator()<6>();
  296|       |               break;
  297|       |            case 7:
  298|       |               lambda.template operator()<7>();
  299|       |               break;
  300|       |            case 8:
  301|       |               lambda.template operator()<8>();
  302|       |               break;
  303|       |            case 9:
  304|       |               lambda.template operator()<9>();
  305|       |               break;
  306|       |            default:
  307|       |               std::unreachable();
  308|       |            }
  309|       |         }
  310|       |         else {
  311|       |#ifdef _MSC_VER
  312|       |            using Lambda = std::decay_t<decltype(lambda)>;
  313|       |            static const auto jump_table = []<size_t... I>(std::index_sequence<I...>) {
  314|       |               return std::array{make_jump_function<I, Lambda>()...};
  315|       |            }(std::make_index_sequence<N>{});
  316|       |#else
  317|       |            static constexpr auto jump_table = []<size_t... I>(std::index_sequence<I...>) {
  318|       |               return std::array{+[](std::decay_t<decltype(lambda)>& l) { l.template operator()<I>(); }...};
  319|       |            }(std::make_index_sequence<N>{});
  320|       |#endif
  321|       |
  322|       |#if defined(__clang__)
  323|       |            [[assume(index < N)]];
  324|       |#endif
  325|       |            jump_table[index](lambda);
  326|       |
  327|       |            // This code runs significantly slower on Clang
  328|       |            // Simple tests with assembly show that this should be faster,
  329|       |            // but full Glaze assembly need to be looked into
  330|       |            /*[&, index]<size_t... I>(std::index_sequence<I...>) {
  331|       |               (void)((index == I ? lambda.template operator()<I>() : void()), ...);
  332|       |            }(std::make_index_sequence<N>{});*/
  333|       |         }
  334|  38.7k|      }
  335|  38.7k|   }

_ZN3glz10from_charsILb0EdcEENS_10fast_float19from_chars_result_tIT1_EEPKS3_S6_RT0_:
  235|  14.2k|   {
  236|  14.2k|      using namespace glz::fast_float;
  237|  14.2k|      static_assert(is_supported_float_type<T>(), "only some floating-point types are supported");
  238|  14.2k|      static_assert(is_supported_char_type<UC>(), "only char, wchar_t, char16_t and char32_t are supported");
  239|       |
  240|  14.2k|      parsed_number_string_t<UC> pns = glz::parse_number_string<null_terminated, UC>(first, last);
  241|  14.2k|      if (!pns.valid) [[unlikely]] {
  ------------------
  |  Branch (241:11): [True: 124, False: 14.1k]
  ------------------
  242|    124|         return {.ptr = first, .ec = std::errc::invalid_argument};
  243|    124|      }
  244|       |
  245|  14.1k|      return from_chars_advanced(pns, value);
  246|  14.2k|   }
_ZN3glz19parse_number_stringILb0EcEENS_10fast_float22parsed_number_string_tIT0_EEPKS3_S6_:
   18|  14.2k|   {
   19|  14.2k|      using namespace glz::fast_float;
   20|  14.2k|      static constexpr UC decimal_point = '.';
   21|       |
   22|  14.2k|      parsed_number_string_t<UC> answer;
   23|  14.2k|      answer.valid = false;
   24|  14.2k|      answer.too_many_digits = false;
   25|  14.2k|      answer.negative = (*p == UC('-'));
   26|  14.2k|      if (*p == UC('-')) { // C++17 20.19.3.(7.1) explicitly forbids '+' sign here
  ------------------
  |  Branch (26:11): [True: 656, False: 13.6k]
  ------------------
   27|    656|         ++p;
   28|       |
   29|    656|         if constexpr (not null_terminated) {
   30|    656|            if (p == pend) [[unlikely]] {
  ------------------
  |  Branch (30:17): [True: 5, False: 651]
  ------------------
   31|      5|               return answer;
   32|      5|            }
   33|    656|         }
   34|       |
   35|    656|         if (!glz::fast_float::is_integer(*p)) [[unlikely]] { // a sign must be followed by an integer
  ------------------
  |  Branch (35:14): [True: 13, False: 643]
  ------------------
   36|     13|            return answer;
   37|     13|         }
   38|    656|      }
   39|  14.2k|      UC const* const start_digits = p;
   40|       |
   41|  14.2k|      uint64_t i = 0; // an unsigned int avoids signed overflows (which are bad)
   42|       |
   43|  14.2k|      uint64_t digit;
   44|       |      if constexpr (null_terminated) {
   45|       |         while ((digit = glz::fast_float::digit_value(*p)) <= 9) {
   46|       |            // a multiplication by 10 is cheaper than an arbitrary integer
   47|       |            // multiplication
   48|       |            i = 10 * i + digit; // might overflow, we will handle the overflow later
   49|       |            ++p;
   50|       |         }
   51|       |      }
   52|  14.2k|      else {
   53|  3.45M|         while ((p != pend) && (digit = glz::fast_float::digit_value(*p)) <= 9) {
  ------------------
  |  Branch (53:17): [True: 3.45M, False: 654]
  |  Branch (53:32): [True: 3.44M, False: 13.6k]
  ------------------
   54|       |            // a multiplication by 10 is cheaper than an arbitrary integer
   55|       |            // multiplication
   56|  3.44M|            i = 10 * i + digit; // might overflow, we will handle the overflow later
   57|  3.44M|            ++p;
   58|  3.44M|         }
   59|  14.2k|      }
   60|       |
   61|  14.2k|      UC const* const end_of_integer_part = p;
   62|  14.2k|      int64_t digit_count = int64_t(end_of_integer_part - start_digits);
   63|  14.2k|      answer.integer = glz::fast_float::span<const UC>(start_digits, size_t(digit_count));
   64|       |
   65|       |      // at least 1 digit in integer part, without leading zeros
   66|  14.2k|      if (digit_count == 0 || (start_digits[0] == UC('0') && digit_count > 1)) {
  ------------------
  |  Branch (66:11): [True: 21, False: 14.2k]
  |  Branch (66:32): [True: 2.29k, False: 11.9k]
  |  Branch (66:62): [True: 23, False: 2.27k]
  ------------------
   67|     39|         return answer;
   68|     39|      }
   69|       |
   70|  14.2k|      int64_t exponent = 0;
   71|  14.2k|      const bool has_decimal_point = [&] {
   72|  14.2k|         if constexpr (null_terminated) {
   73|  14.2k|            return (*p == decimal_point);
   74|  14.2k|         }
   75|  14.2k|         else {
   76|  14.2k|            return (p != pend) && (*p == decimal_point);
   77|  14.2k|         }
   78|  14.2k|      }();
   79|  14.2k|      if (has_decimal_point) {
  ------------------
  |  Branch (79:11): [True: 5.70k, False: 8.53k]
  ------------------
   80|  5.70k|         ++p;
   81|  5.70k|         UC const* before = p;
   82|       |         // can occur at most twice without overflowing, but let it occur more, since
   83|       |         // for integers with many digits, digit parsing is the primary bottleneck.
   84|  5.70k|         loop_parse_if_eight_digits(p, pend, i);
   85|       |
   86|       |         if constexpr (null_terminated) {
   87|       |            while ((digit = glz::fast_float::digit_value(*p)) <= 9) {
   88|       |               ++p;
   89|       |               i = i * 10 + digit; // in rare cases, this will overflow, but that's ok
   90|       |            }
   91|       |         }
   92|  5.70k|         else {
   93|  21.7k|            while ((p != pend) && (digit = glz::fast_float::digit_value(*p)) <= 9) {
  ------------------
  |  Branch (93:20): [True: 20.7k, False: 1.00k]
  |  Branch (93:35): [True: 16.0k, False: 4.69k]
  ------------------
   94|  16.0k|               ++p;
   95|  16.0k|               i = i * 10 + digit; // in rare cases, this will overflow, but that's ok
   96|  16.0k|            }
   97|  5.70k|         }
   98|  5.70k|         exponent = before - p;
   99|  5.70k|         answer.fraction = glz::fast_float::span<const UC>(before, size_t(p - before));
  100|  5.70k|         digit_count -= exponent;
  101|  5.70k|      }
  102|       |      // at least 1 digit in fractional part
  103|  14.2k|      if (has_decimal_point && exponent == 0) {
  ------------------
  |  Branch (103:11): [True: 5.70k, False: 8.53k]
  |  Branch (103:32): [True: 22, False: 5.68k]
  ------------------
  104|     22|         return answer;
  105|     22|      }
  106|       |
  107|  14.2k|      int64_t exp_number = 0; // explicit exponential part
  108|       |
  109|       |      // An exponent marker must be followed by at least one digit, after an optional sign. Unlike
  110|       |      // std::from_chars, which ends the number before a digitless marker, "1e", "1e+" and "1.0E-" are
  111|       |      // rejected: ending early would read "1.0e" as 1 wherever trailing content goes unchecked.
  112|       |      if constexpr (null_terminated) {
  113|       |         if ((UC('e') == *p) || (UC('E') == *p)) {
  114|       |            ++p;
  115|       |            bool neg_exp = false;
  116|       |            if (UC('-') == *p) {
  117|       |               neg_exp = true;
  118|       |               ++p;
  119|       |            }
  120|       |            else if (UC('+') == *p) { // '+' on exponent is allowed by C++17 20.19.3.(7.1)
  121|       |               ++p;
  122|       |            }
  123|       |            if ((digit = glz::fast_float::digit_value(*p)) > 9) [[unlikely]] {
  124|       |               return answer;
  125|       |            }
  126|       |            else {
  127|       |               do {
  128|       |                  if (exp_number < 0x10000000) {
  129|       |                     exp_number = 10 * exp_number + digit;
  130|       |                  }
  131|       |                  ++p;
  132|       |               } while ((digit = glz::fast_float::digit_value(*p)) <= 9);
  133|       |               if (neg_exp) {
  134|       |                  exp_number = -exp_number;
  135|       |               }
  136|       |               exponent += exp_number;
  137|       |            }
  138|       |         }
  139|       |      }
  140|  14.2k|      else {
  141|  14.2k|         if ((p != pend) && ((UC('e') == *p) || (UC('E') == *p))) {
  ------------------
  |  Branch (141:14): [True: 12.5k, False: 1.63k]
  |  Branch (141:30): [True: 2.18k, False: 10.3k]
  |  Branch (141:49): [True: 3.33k, False: 7.05k]
  ------------------
  142|  5.52k|            ++p;
  143|  5.52k|            bool neg_exp = false;
  144|  5.52k|            if ((p != pend) && (UC('-') == *p)) {
  ------------------
  |  Branch (144:17): [True: 5.50k, False: 16]
  |  Branch (144:32): [True: 2.47k, False: 3.02k]
  ------------------
  145|  2.47k|               neg_exp = true;
  146|  2.47k|               ++p;
  147|  2.47k|            }
  148|  3.04k|            else if ((p != pend) && (UC('+') == *p)) { // '+' on exponent is allowed by C++17 20.19.3.(7.1)
  ------------------
  |  Branch (148:22): [True: 3.02k, False: 16]
  |  Branch (148:37): [True: 194, False: 2.83k]
  ------------------
  149|    194|               ++p;
  150|    194|            }
  151|  5.52k|            if ((p == pend) || (digit = glz::fast_float::digit_value(*p)) > 9) [[unlikely]] {
  ------------------
  |  Branch (151:17): [True: 29, False: 5.49k]
  |  Branch (151:32): [True: 16, False: 5.47k]
  ------------------
  152|     45|               return answer;
  153|     45|            }
  154|  5.47k|            else {
  155|  15.4k|               do {
  156|  15.4k|                  if (exp_number < 0x10000000) {
  ------------------
  |  Branch (156:23): [True: 15.1k, False: 296]
  ------------------
  157|  15.1k|                     exp_number = 10 * exp_number + digit;
  158|  15.1k|                  }
  159|  15.4k|                  ++p;
  160|  15.4k|               } while ((p != pend) && (digit = glz::fast_float::digit_value(*p)) <= 9);
  ------------------
  |  Branch (160:25): [True: 14.1k, False: 1.23k]
  |  Branch (160:40): [True: 9.95k, False: 4.23k]
  ------------------
  161|  5.47k|               if (neg_exp) {
  ------------------
  |  Branch (161:20): [True: 2.47k, False: 3.00k]
  ------------------
  162|  2.47k|                  exp_number = -exp_number;
  163|  2.47k|               }
  164|  5.47k|               exponent += exp_number;
  165|  5.47k|            }
  166|  5.52k|         }
  167|  14.2k|      }
  168|       |
  169|  14.1k|      answer.lastmatch = p;
  170|  14.2k|      answer.valid = true;
  171|       |
  172|       |      // If we frequently had to deal with long strings of digits,
  173|       |      // we could extend our code by using a 128-bit integer instead
  174|       |      // of a 64-bit integer. However, this is uncommon.
  175|       |      //
  176|       |      // We can deal with up to 19 digits.
  177|  14.2k|      if (digit_count > 19) { // this is uncommon
  ------------------
  |  Branch (177:11): [True: 7.91k, False: 6.29k]
  ------------------
  178|       |         // It is possible that the integer had an overflow.
  179|       |         // We have to handle the case where we have 0.0000somenumber.
  180|       |         // We need to be mindful of the case where we only have zeroes...
  181|       |         // E.g., 0.000000000...000.
  182|  7.91k|         UC const* start = start_digits;
  183|       |         if constexpr (null_terminated) {
  184|       |            while ((*start == UC('0') || *start == decimal_point)) {
  185|       |               if (*start == UC('0')) {
  186|       |                  --digit_count;
  187|       |               }
  188|       |               ++start;
  189|       |            }
  190|       |         }
  191|  7.91k|         else {
  192|  2.01M|            while ((start != pend) && (*start == UC('0') || *start == decimal_point)) {
  ------------------
  |  Branch (192:20): [True: 2.01M, False: 32]
  |  Branch (192:40): [True: 2.01M, False: 9.01k]
  |  Branch (192:61): [True: 1.12k, False: 7.88k]
  ------------------
  193|  2.01M|               if (*start == UC('0')) {
  ------------------
  |  Branch (193:20): [True: 2.01M, False: 1.12k]
  ------------------
  194|  2.01M|                  --digit_count;
  195|  2.01M|               }
  196|  2.01M|               ++start;
  197|  2.01M|            }
  198|  7.91k|         }
  199|       |
  200|  7.91k|         if (digit_count > 19) {
  ------------------
  |  Branch (200:14): [True: 7.64k, False: 268]
  ------------------
  201|  7.64k|            answer.too_many_digits = true;
  202|       |            // Let us start again, this time, avoiding overflows.
  203|       |            // We don't need to check if is_integer, since we use the
  204|       |            // pre-tokenized spans from above.
  205|  7.64k|            i = 0;
  206|  7.64k|            p = answer.integer.ptr;
  207|  7.64k|            UC const* int_end = p + answer.integer.len();
  208|  7.64k|            const uint64_t minimal_nineteen_digit_integer{1000000000000000000};
  209|   124k|            while ((i < minimal_nineteen_digit_integer) && (p != int_end)) {
  ------------------
  |  Branch (209:20): [True: 119k, False: 4.82k]
  |  Branch (209:60): [True: 116k, False: 2.82k]
  ------------------
  210|   116k|               i = i * 10 + uint64_t(*p - UC('0'));
  211|   116k|               ++p;
  212|   116k|            }
  213|  7.64k|            if (i >= minimal_nineteen_digit_integer) { // We have a big integers
  ------------------
  |  Branch (213:17): [True: 4.82k, False: 2.82k]
  ------------------
  214|  4.82k|               exponent = end_of_integer_part - p + exp_number;
  215|  4.82k|            }
  216|  2.82k|            else { // We have a value with a fractional component.
  217|  2.82k|               p = answer.fraction.ptr;
  218|  2.82k|               UC const* frac_end = p + answer.fraction.len();
  219|  36.4k|               while ((i < minimal_nineteen_digit_integer) && (p != frac_end)) {
  ------------------
  |  Branch (219:23): [True: 33.6k, False: 2.82k]
  |  Branch (219:63): [True: 33.6k, False: 0]
  ------------------
  220|  33.6k|                  i = i * 10 + uint64_t(*p - UC('0'));
  221|  33.6k|                  ++p;
  222|  33.6k|               }
  223|  2.82k|               exponent = answer.fraction.ptr - p + exp_number;
  224|  2.82k|            }
  225|       |            // We have now corrected both exponent and i, to a truncated value
  226|  7.64k|         }
  227|  7.91k|      }
  228|  14.2k|      answer.exponent = exponent;
  229|  14.2k|      answer.mantissa = i;
  230|  14.2k|      return answer;
  231|  14.2k|   }
_ZZN3glz19parse_number_stringILb0EcEENS_10fast_float22parsed_number_string_tIT0_EEPKS3_S6_ENKUlvE_clEv:
   71|  14.2k|      const bool has_decimal_point = [&] {
   72|       |         if constexpr (null_terminated) {
   73|       |            return (*p == decimal_point);
   74|       |         }
   75|  14.2k|         else {
   76|  14.2k|            return (p != pend) && (*p == decimal_point);
  ------------------
  |  Branch (76:20): [True: 13.5k, False: 634]
  |  Branch (76:35): [True: 5.70k, False: 7.89k]
  ------------------
   77|  14.2k|         }
   78|  14.2k|      }();
_ZN3glz10from_charsILb1EdcEENS_10fast_float19from_chars_result_tIT1_EEPKS3_S6_RT0_:
  235|  14.5k|   {
  236|  14.5k|      using namespace glz::fast_float;
  237|  14.5k|      static_assert(is_supported_float_type<T>(), "only some floating-point types are supported");
  238|  14.5k|      static_assert(is_supported_char_type<UC>(), "only char, wchar_t, char16_t and char32_t are supported");
  239|       |
  240|  14.5k|      parsed_number_string_t<UC> pns = glz::parse_number_string<null_terminated, UC>(first, last);
  241|  14.5k|      if (!pns.valid) [[unlikely]] {
  ------------------
  |  Branch (241:11): [True: 149, False: 14.4k]
  ------------------
  242|    149|         return {.ptr = first, .ec = std::errc::invalid_argument};
  243|    149|      }
  244|       |
  245|  14.4k|      return from_chars_advanced(pns, value);
  246|  14.5k|   }
_ZN3glz19parse_number_stringILb1EcEENS_10fast_float22parsed_number_string_tIT0_EEPKS3_S6_:
   18|  14.5k|   {
   19|  14.5k|      using namespace glz::fast_float;
   20|  14.5k|      static constexpr UC decimal_point = '.';
   21|       |
   22|  14.5k|      parsed_number_string_t<UC> answer;
   23|  14.5k|      answer.valid = false;
   24|  14.5k|      answer.too_many_digits = false;
   25|  14.5k|      answer.negative = (*p == UC('-'));
   26|  14.5k|      if (*p == UC('-')) { // C++17 20.19.3.(7.1) explicitly forbids '+' sign here
  ------------------
  |  Branch (26:11): [True: 666, False: 13.8k]
  ------------------
   27|    666|         ++p;
   28|       |
   29|       |         if constexpr (not null_terminated) {
   30|       |            if (p == pend) [[unlikely]] {
   31|       |               return answer;
   32|       |            }
   33|       |         }
   34|       |
   35|    666|         if (!glz::fast_float::is_integer(*p)) [[unlikely]] { // a sign must be followed by an integer
  ------------------
  |  Branch (35:14): [True: 18, False: 648]
  ------------------
   36|     18|            return answer;
   37|     18|         }
   38|    666|      }
   39|  14.5k|      UC const* const start_digits = p;
   40|       |
   41|  14.5k|      uint64_t i = 0; // an unsigned int avoids signed overflows (which are bad)
   42|       |
   43|  14.5k|      uint64_t digit;
   44|  14.5k|      if constexpr (null_terminated) {
   45|  3.48M|         while ((digit = glz::fast_float::digit_value(*p)) <= 9) {
  ------------------
  |  Branch (45:17): [True: 3.47M, False: 14.5k]
  ------------------
   46|       |            // a multiplication by 10 is cheaper than an arbitrary integer
   47|       |            // multiplication
   48|  3.47M|            i = 10 * i + digit; // might overflow, we will handle the overflow later
   49|  3.47M|            ++p;
   50|  3.47M|         }
   51|       |      }
   52|       |      else {
   53|       |         while ((p != pend) && (digit = glz::fast_float::digit_value(*p)) <= 9) {
   54|       |            // a multiplication by 10 is cheaper than an arbitrary integer
   55|       |            // multiplication
   56|       |            i = 10 * i + digit; // might overflow, we will handle the overflow later
   57|       |            ++p;
   58|       |         }
   59|       |      }
   60|       |
   61|  14.5k|      UC const* const end_of_integer_part = p;
   62|  14.5k|      int64_t digit_count = int64_t(end_of_integer_part - start_digits);
   63|  14.5k|      answer.integer = glz::fast_float::span<const UC>(start_digits, size_t(digit_count));
   64|       |
   65|       |      // at least 1 digit in integer part, without leading zeros
   66|  14.5k|      if (digit_count == 0 || (start_digits[0] == UC('0') && digit_count > 1)) {
  ------------------
  |  Branch (66:11): [True: 41, False: 14.4k]
  |  Branch (66:32): [True: 2.31k, False: 12.1k]
  |  Branch (66:62): [True: 23, False: 2.29k]
  ------------------
   67|     64|         return answer;
   68|     64|      }
   69|       |
   70|  14.4k|      int64_t exponent = 0;
   71|  14.4k|      const bool has_decimal_point = [&] {
   72|  14.4k|         if constexpr (null_terminated) {
   73|  14.4k|            return (*p == decimal_point);
   74|  14.4k|         }
   75|  14.4k|         else {
   76|  14.4k|            return (p != pend) && (*p == decimal_point);
   77|  14.4k|         }
   78|  14.4k|      }();
   79|  14.4k|      if (has_decimal_point) {
  ------------------
  |  Branch (79:11): [True: 5.81k, False: 8.65k]
  ------------------
   80|  5.81k|         ++p;
   81|  5.81k|         UC const* before = p;
   82|       |         // can occur at most twice without overflowing, but let it occur more, since
   83|       |         // for integers with many digits, digit parsing is the primary bottleneck.
   84|  5.81k|         loop_parse_if_eight_digits(p, pend, i);
   85|       |
   86|  5.81k|         if constexpr (null_terminated) {
   87|  22.2k|            while ((digit = glz::fast_float::digit_value(*p)) <= 9) {
  ------------------
  |  Branch (87:20): [True: 16.4k, False: 5.81k]
  ------------------
   88|  16.4k|               ++p;
   89|  16.4k|               i = i * 10 + digit; // in rare cases, this will overflow, but that's ok
   90|  16.4k|            }
   91|       |         }
   92|       |         else {
   93|       |            while ((p != pend) && (digit = glz::fast_float::digit_value(*p)) <= 9) {
   94|       |               ++p;
   95|       |               i = i * 10 + digit; // in rare cases, this will overflow, but that's ok
   96|       |            }
   97|       |         }
   98|  5.81k|         exponent = before - p;
   99|  5.81k|         answer.fraction = glz::fast_float::span<const UC>(before, size_t(p - before));
  100|  5.81k|         digit_count -= exponent;
  101|  5.81k|      }
  102|       |      // at least 1 digit in fractional part
  103|  14.4k|      if (has_decimal_point && exponent == 0) {
  ------------------
  |  Branch (103:11): [True: 5.81k, False: 8.65k]
  |  Branch (103:32): [True: 22, False: 5.79k]
  ------------------
  104|     22|         return answer;
  105|     22|      }
  106|       |
  107|  14.4k|      int64_t exp_number = 0; // explicit exponential part
  108|       |
  109|       |      // An exponent marker must be followed by at least one digit, after an optional sign. Unlike
  110|       |      // std::from_chars, which ends the number before a digitless marker, "1e", "1e+" and "1.0E-" are
  111|       |      // rejected: ending early would read "1.0e" as 1 wherever trailing content goes unchecked.
  112|  14.4k|      if constexpr (null_terminated) {
  113|  14.4k|         if ((UC('e') == *p) || (UC('E') == *p)) {
  ------------------
  |  Branch (113:14): [True: 2.20k, False: 12.2k]
  |  Branch (113:33): [True: 3.42k, False: 8.82k]
  ------------------
  114|  5.62k|            ++p;
  115|  5.62k|            bool neg_exp = false;
  116|  5.62k|            if (UC('-') == *p) {
  ------------------
  |  Branch (116:17): [True: 2.52k, False: 3.09k]
  ------------------
  117|  2.52k|               neg_exp = true;
  118|  2.52k|               ++p;
  119|  2.52k|            }
  120|  3.09k|            else if (UC('+') == *p) { // '+' on exponent is allowed by C++17 20.19.3.(7.1)
  ------------------
  |  Branch (120:22): [True: 194, False: 2.90k]
  ------------------
  121|    194|               ++p;
  122|    194|            }
  123|  5.62k|            if ((digit = glz::fast_float::digit_value(*p)) > 9) [[unlikely]] {
  ------------------
  |  Branch (123:17): [True: 45, False: 5.58k]
  ------------------
  124|     45|               return answer;
  125|     45|            }
  126|  5.58k|            else {
  127|  15.7k|               do {
  128|  15.7k|                  if (exp_number < 0x10000000) {
  ------------------
  |  Branch (128:23): [True: 15.4k, False: 296]
  ------------------
  129|  15.4k|                     exp_number = 10 * exp_number + digit;
  130|  15.4k|                  }
  131|  15.7k|                  ++p;
  132|  15.7k|               } while ((digit = glz::fast_float::digit_value(*p)) <= 9);
  ------------------
  |  Branch (132:25): [True: 10.1k, False: 5.58k]
  ------------------
  133|  5.58k|               if (neg_exp) {
  ------------------
  |  Branch (133:20): [True: 2.52k, False: 3.05k]
  ------------------
  134|  2.52k|                  exp_number = -exp_number;
  135|  2.52k|               }
  136|  5.58k|               exponent += exp_number;
  137|  5.58k|            }
  138|  5.62k|         }
  139|       |      }
  140|       |      else {
  141|       |         if ((p != pend) && ((UC('e') == *p) || (UC('E') == *p))) {
  142|       |            ++p;
  143|       |            bool neg_exp = false;
  144|       |            if ((p != pend) && (UC('-') == *p)) {
  145|       |               neg_exp = true;
  146|       |               ++p;
  147|       |            }
  148|       |            else if ((p != pend) && (UC('+') == *p)) { // '+' on exponent is allowed by C++17 20.19.3.(7.1)
  149|       |               ++p;
  150|       |            }
  151|       |            if ((p == pend) || (digit = glz::fast_float::digit_value(*p)) > 9) [[unlikely]] {
  152|       |               return answer;
  153|       |            }
  154|       |            else {
  155|       |               do {
  156|       |                  if (exp_number < 0x10000000) {
  157|       |                     exp_number = 10 * exp_number + digit;
  158|       |                  }
  159|       |                  ++p;
  160|       |               } while ((p != pend) && (digit = glz::fast_float::digit_value(*p)) <= 9);
  161|       |               if (neg_exp) {
  162|       |                  exp_number = -exp_number;
  163|       |               }
  164|       |               exponent += exp_number;
  165|       |            }
  166|       |         }
  167|       |      }
  168|       |
  169|  14.4k|      answer.lastmatch = p;
  170|  14.4k|      answer.valid = true;
  171|       |
  172|       |      // If we frequently had to deal with long strings of digits,
  173|       |      // we could extend our code by using a 128-bit integer instead
  174|       |      // of a 64-bit integer. However, this is uncommon.
  175|       |      //
  176|       |      // We can deal with up to 19 digits.
  177|  14.4k|      if (digit_count > 19) { // this is uncommon
  ------------------
  |  Branch (177:11): [True: 8.09k, False: 6.34k]
  ------------------
  178|       |         // It is possible that the integer had an overflow.
  179|       |         // We have to handle the case where we have 0.0000somenumber.
  180|       |         // We need to be mindful of the case where we only have zeroes...
  181|       |         // E.g., 0.000000000...000.
  182|  8.09k|         UC const* start = start_digits;
  183|  8.09k|         if constexpr (null_terminated) {
  184|  2.02M|            while ((*start == UC('0') || *start == decimal_point)) {
  ------------------
  |  Branch (184:21): [True: 2.01M, False: 9.24k]
  |  Branch (184:42): [True: 1.14k, False: 8.09k]
  ------------------
  185|  2.01M|               if (*start == UC('0')) {
  ------------------
  |  Branch (185:20): [True: 2.01M, False: 1.14k]
  ------------------
  186|  2.01M|                  --digit_count;
  187|  2.01M|               }
  188|  2.01M|               ++start;
  189|  2.01M|            }
  190|       |         }
  191|       |         else {
  192|       |            while ((start != pend) && (*start == UC('0') || *start == decimal_point)) {
  193|       |               if (*start == UC('0')) {
  194|       |                  --digit_count;
  195|       |               }
  196|       |               ++start;
  197|       |            }
  198|       |         }
  199|       |
  200|  8.09k|         if (digit_count > 19) {
  ------------------
  |  Branch (200:14): [True: 7.82k, False: 272]
  ------------------
  201|  7.82k|            answer.too_many_digits = true;
  202|       |            // Let us start again, this time, avoiding overflows.
  203|       |            // We don't need to check if is_integer, since we use the
  204|       |            // pre-tokenized spans from above.
  205|  7.82k|            i = 0;
  206|  7.82k|            p = answer.integer.ptr;
  207|  7.82k|            UC const* int_end = p + answer.integer.len();
  208|  7.82k|            const uint64_t minimal_nineteen_digit_integer{1000000000000000000};
  209|   127k|            while ((i < minimal_nineteen_digit_integer) && (p != int_end)) {
  ------------------
  |  Branch (209:20): [True: 122k, False: 4.94k]
  |  Branch (209:60): [True: 119k, False: 2.88k]
  ------------------
  210|   119k|               i = i * 10 + uint64_t(*p - UC('0'));
  211|   119k|               ++p;
  212|   119k|            }
  213|  7.82k|            if (i >= minimal_nineteen_digit_integer) { // We have a big integers
  ------------------
  |  Branch (213:17): [True: 4.94k, False: 2.88k]
  ------------------
  214|  4.94k|               exponent = end_of_integer_part - p + exp_number;
  215|  4.94k|            }
  216|  2.88k|            else { // We have a value with a fractional component.
  217|  2.88k|               p = answer.fraction.ptr;
  218|  2.88k|               UC const* frac_end = p + answer.fraction.len();
  219|  37.3k|               while ((i < minimal_nineteen_digit_integer) && (p != frac_end)) {
  ------------------
  |  Branch (219:23): [True: 34.4k, False: 2.88k]
  |  Branch (219:63): [True: 34.4k, False: 0]
  ------------------
  220|  34.4k|                  i = i * 10 + uint64_t(*p - UC('0'));
  221|  34.4k|                  ++p;
  222|  34.4k|               }
  223|  2.88k|               exponent = answer.fraction.ptr - p + exp_number;
  224|  2.88k|            }
  225|       |            // We have now corrected both exponent and i, to a truncated value
  226|  7.82k|         }
  227|  8.09k|      }
  228|  14.4k|      answer.exponent = exponent;
  229|  14.4k|      answer.mantissa = i;
  230|  14.4k|      return answer;
  231|  14.4k|   }
_ZZN3glz19parse_number_stringILb1EcEENS_10fast_float22parsed_number_string_tIT0_EEPKS3_S6_ENKUlvE_clEv:
   71|  14.4k|      const bool has_decimal_point = [&] {
   72|  14.4k|         if constexpr (null_terminated) {
   73|  14.4k|            return (*p == decimal_point);
   74|       |         }
   75|       |         else {
   76|       |            return (p != pend) && (*p == decimal_point);
   77|       |         }
   78|  14.4k|      }();

_ZN3glz7skip_wsIXtlNS_7ws_optsEEETkNS_10is_contextERNS_7contextERPKcS5_EEbOT0_OT1_T2_:
  663|   192k|   {
  664|   192k|      using namespace glz::detail;
  665|       |
  666|   192k|      if constexpr (not Opts.minified) {
  667|       |         if constexpr (Opts.null_terminated) {
  668|       |            if constexpr (Opts.comments) {
  669|       |               while (whitespace_comment_table[uint8_t(*it)]) {
  670|       |                  if (*it == '/') [[unlikely]] {
  671|       |                     skip_comment(ctx, it, end);
  672|       |                     if (bool(ctx.error)) [[unlikely]] {
  673|       |                        return true;
  674|       |                     }
  675|       |                  }
  676|       |                  else [[likely]] {
  677|       |                     ++it;
  678|       |                  }
  679|       |               }
  680|       |            }
  681|       |            else {
  682|       |               while (whitespace_table[uint8_t(*it)]) {
  683|       |                  ++it;
  684|       |               }
  685|       |            }
  686|       |         }
  687|   192k|         else {
  688|       |            if constexpr (Opts.comments) {
  689|       |               while (it < end && whitespace_comment_table[uint8_t(*it)]) {
  690|       |                  if (*it == '/') [[unlikely]] {
  691|       |                     skip_comment(ctx, it, end);
  692|       |                     if (bool(ctx.error)) [[unlikely]] {
  693|       |                        return true;
  694|       |                     }
  695|       |                  }
  696|       |                  else [[likely]] {
  697|       |                     ++it;
  698|       |                  }
  699|       |               }
  700|       |               if (it == end) [[unlikely]] {
  701|       |                  ctx.error = error_code::end_reached;
  702|       |                  return true;
  703|       |               }
  704|       |            }
  705|   192k|            else {
  706|  11.8M|               while (it < end && whitespace_table[uint8_t(*it)]) {
  ------------------
  |  Branch (706:23): [True: 11.8M, False: 673]
  |  Branch (706:35): [True: 11.6M, False: 191k]
  ------------------
  707|  11.6M|                  ++it;
  708|  11.6M|               }
  709|   192k|               if (it == end) [[unlikely]] {
  ------------------
  |  Branch (709:20): [True: 673, False: 191k]
  ------------------
  710|    673|                  ctx.error = error_code::end_reached;
  711|    673|                  return true;
  712|    673|               }
  713|   192k|            }
  714|   192k|         }
  715|       |      }
  716|       |      else if constexpr (not Opts.null_terminated) {
  717|       |         // Minified input has no whitespace to skip, but a non-null-terminated buffer can still
  718|       |         // be exhausted at this point. The non-minified branch above performs the same check; a
  719|       |         // null-terminated buffer relies on the trailing sentinel and keeps this a pure no-op.
  720|       |         if (it == end) [[unlikely]] {
  721|       |            ctx.error = error_code::end_reached;
  722|       |            return true;
  723|       |         }
  724|       |      }
  725|       |
  726|   191k|      return false;
  727|   192k|   }
_ZN3glz17match_invalid_endILc123EXtlNS_22match_invalid_end_optsEEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  7.56k|   {
  471|  7.56k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 15, False: 7.54k]
  ------------------
  472|       |         if constexpr (C == '"') {
  473|       |            ctx.error = error_code::expected_quote;
  474|       |         }
  475|       |         else if constexpr (C == ',') {
  476|       |            ctx.error = error_code::expected_comma;
  477|       |         }
  478|       |         else if constexpr (C == ':') {
  479|       |            ctx.error = error_code::expected_colon;
  480|       |         }
  481|       |         else if constexpr (C == '[' || C == ']') {
  482|       |            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|     15|         else if constexpr (C == '{' || C == '}') {
  485|     15|            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|     15|         return true;
  491|     15|      }
  492|  7.54k|      else [[likely]] {
  493|  7.54k|         ++it;
  494|  7.54k|      }
  495|  7.54k|      if constexpr (not Opts.null_terminated) {
  496|  7.54k|         if (it == end) [[unlikely]] {
  ------------------
  |  Branch (496:14): [True: 1, False: 7.54k]
  ------------------
  497|      1|            ctx.error = error_code::unexpected_end;
  498|      1|            return true;
  499|      1|         }
  500|  7.54k|      }
  501|  7.54k|      return false;
  502|  7.56k|   }
_ZN3glz17match_invalid_endILc44EXtlNS_22match_invalid_end_optsEEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  31.8k|   {
  471|  31.8k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 387, False: 31.4k]
  ------------------
  472|       |         if constexpr (C == '"') {
  473|       |            ctx.error = error_code::expected_quote;
  474|       |         }
  475|    387|         else if constexpr (C == ',') {
  476|    387|            ctx.error = error_code::expected_comma;
  477|       |         }
  478|       |         else if constexpr (C == ':') {
  479|       |            ctx.error = error_code::expected_colon;
  480|       |         }
  481|       |         else if constexpr (C == '[' || C == ']') {
  482|       |            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|       |         else if constexpr (C == '{' || C == '}') {
  485|       |            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|    387|         return true;
  491|    387|      }
  492|  31.4k|      else [[likely]] {
  493|  31.4k|         ++it;
  494|  31.4k|      }
  495|  31.4k|      if constexpr (not Opts.null_terminated) {
  496|  31.4k|         if (it == end) [[unlikely]] {
  ------------------
  |  Branch (496:14): [True: 35, False: 31.4k]
  ------------------
  497|     35|            ctx.error = error_code::unexpected_end;
  498|     35|            return true;
  499|     35|         }
  500|  31.4k|      }
  501|  31.4k|      return false;
  502|  31.8k|   }
_ZN3glz16skip_matching_wsIcRPKcEEvPKT_OT0_m:
  730|  14.8k|   {
  731|  14.8k|      if (length > 7) {
  ------------------
  |  Branch (731:11): [True: 3.96k, False: 10.8k]
  ------------------
  732|  3.96k|         uint64_t v[2];
  733|  5.54k|         while (length > 8) {
  ------------------
  |  Branch (733:17): [True: 2.85k, False: 2.69k]
  ------------------
  734|  2.85k|            std::memcpy(v, ws, 8);
  735|  2.85k|            std::memcpy(v + 1, it, 8);
  736|  2.85k|            if (v[0] != v[1]) {
  ------------------
  |  Branch (736:17): [True: 1.27k, False: 1.58k]
  ------------------
  737|  1.27k|               return;
  738|  1.27k|            }
  739|  1.58k|            length -= 8;
  740|  1.58k|            ws += 8;
  741|  1.58k|            it += 8;
  742|  1.58k|         }
  743|       |
  744|  2.69k|         const auto shift = 8 - length;
  745|  2.69k|         ws -= shift;
  746|  2.69k|         it -= shift;
  747|       |
  748|  2.69k|         std::memcpy(v, ws, 8);
  749|  2.69k|         std::memcpy(v + 1, it, 8);
  750|  2.69k|         if (v[0] != v[1]) {
  ------------------
  |  Branch (750:14): [True: 1.89k, False: 800]
  ------------------
  751|  1.89k|            return;
  752|  1.89k|         }
  753|    800|         it += 8;
  754|    800|         return;
  755|  2.69k|      }
  756|  10.8k|      {
  757|  10.8k|         constexpr uint64_t n{sizeof(uint32_t)};
  758|  10.8k|         if (length >= n) {
  ------------------
  |  Branch (758:14): [True: 1.73k, False: 9.10k]
  ------------------
  759|  1.73k|            uint32_t v[2];
  760|  1.73k|            std::memcpy(v, ws, n);
  761|  1.73k|            std::memcpy(v + 1, it, n);
  762|  1.73k|            if (v[0] != v[1]) {
  ------------------
  |  Branch (762:17): [True: 960, False: 776]
  ------------------
  763|    960|               return;
  764|    960|            }
  765|    776|            length -= n;
  766|    776|            ws += n;
  767|    776|            it += n;
  768|    776|         }
  769|  10.8k|      }
  770|  9.88k|      {
  771|  9.88k|         constexpr uint64_t n{sizeof(uint16_t)};
  772|  9.88k|         if (length >= n) {
  ------------------
  |  Branch (772:14): [True: 5.47k, False: 4.40k]
  ------------------
  773|  5.47k|            uint16_t v[2];
  774|  5.47k|            std::memcpy(v, ws, n);
  775|  5.47k|            std::memcpy(v + 1, it, n);
  776|  5.47k|            if (v[0] != v[1]) {
  ------------------
  |  Branch (776:17): [True: 4.49k, False: 980]
  ------------------
  777|  4.49k|               return;
  778|  4.49k|            }
  779|       |            // length -= n;
  780|       |            // ws += n;
  781|    980|            it += n;
  782|    980|         }
  783|  9.88k|      }
  784|       |      // We have to call a whitespace check after this function
  785|       |      // in case the whitespace is mismatching.
  786|       |      // So, we forgo this check as to not duplicate.
  787|       |      /*if (length && *ws == *it) {
  788|       |         ++it;
  789|       |      }*/
  790|  9.88k|   }
_ZN3glz17match_invalid_endILc58EXtlNS_22match_invalid_end_optsEEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  38.3k|   {
  471|  38.3k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 50, False: 38.2k]
  ------------------
  472|       |         if constexpr (C == '"') {
  473|       |            ctx.error = error_code::expected_quote;
  474|       |         }
  475|       |         else if constexpr (C == ',') {
  476|       |            ctx.error = error_code::expected_comma;
  477|       |         }
  478|     50|         else if constexpr (C == ':') {
  479|     50|            ctx.error = error_code::expected_colon;
  480|       |         }
  481|       |         else if constexpr (C == '[' || C == ']') {
  482|       |            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|       |         else if constexpr (C == '{' || C == '}') {
  485|       |            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|     50|         return true;
  491|     50|      }
  492|  38.2k|      else [[likely]] {
  493|  38.2k|         ++it;
  494|  38.2k|      }
  495|  38.2k|      if constexpr (not Opts.null_terminated) {
  496|  38.2k|         if (it == end) [[unlikely]] {
  ------------------
  |  Branch (496:14): [True: 25, False: 38.2k]
  ------------------
  497|     25|            ctx.error = error_code::unexpected_end;
  498|     25|            return true;
  499|     25|         }
  500|  38.2k|      }
  501|  38.2k|      return false;
  502|  38.3k|   }
_ZN3glz17match_invalid_endILc34EXtlNS_22match_invalid_end_optsEEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  4.75k|   {
  471|  4.75k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 12, False: 4.74k]
  ------------------
  472|     12|         if constexpr (C == '"') {
  473|     12|            ctx.error = error_code::expected_quote;
  474|       |         }
  475|       |         else if constexpr (C == ',') {
  476|       |            ctx.error = error_code::expected_comma;
  477|       |         }
  478|       |         else if constexpr (C == ':') {
  479|       |            ctx.error = error_code::expected_colon;
  480|       |         }
  481|       |         else if constexpr (C == '[' || C == ']') {
  482|       |            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|       |         else if constexpr (C == '{' || C == '}') {
  485|       |            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|     12|         return true;
  491|     12|      }
  492|  4.74k|      else [[likely]] {
  493|  4.74k|         ++it;
  494|  4.74k|      }
  495|  4.74k|      if constexpr (not Opts.null_terminated) {
  496|  4.74k|         if (it == end) [[unlikely]] {
  ------------------
  |  Branch (496:14): [True: 5, False: 4.74k]
  ------------------
  497|      5|            ctx.error = error_code::unexpected_end;
  498|      5|            return true;
  499|      5|         }
  500|  4.74k|      }
  501|  4.74k|      return false;
  502|  4.75k|   }
_ZN3glz9chunk_minILm8EEElb:
   47|  9.50k|   {
   48|  9.50k|      static_assert(Width <= padding_bytes);
   49|  9.50k|      return padded ? 1 : std::ptrdiff_t(Width);
  ------------------
  |  Branch (49:14): [True: 0, False: 9.50k]
  ------------------
   50|  9.50k|   }
_ZN3glz18validate_utf8_spanITnDaXtlNS_4optsELj10ELb0ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEETkNS_10is_contextERNS_7contextEccEEbOT0_PKT1_PKT2_m:
  873|  4.60k|   {
  874|       |      if constexpr (not check_validate_utf8(Opts)) {
  875|       |         // Everything the caller computed for us is dead, which lets its scan loop drop the
  876|       |         // accumulator entirely.
  877|       |         (void)ctx, (void)start, (void)fin, (void)ascii_acc;
  878|       |         return false;
  879|       |      }
  880|  4.60k|      else {
  881|  4.60k|         if ((ascii_acc & repeat_byte8(0b10000000)) == 0) {
  ------------------
  |  Branch (881:14): [True: 3.89k, False: 706]
  ------------------
  882|  3.89k|            return false; // pure ASCII is trivially well formed UTF-8
  883|  3.89k|         }
  884|    706|         if (!validate_utf8(start, size_t(fin - start))) [[unlikely]] {
  ------------------
  |  Branch (884:14): [True: 158, False: 548]
  ------------------
  885|    158|            ctx.error = error_code::invalid_utf8;
  886|    158|            return true;
  887|    158|         }
  888|    548|         return false;
  889|    706|      }
  890|  4.60k|   }
_ZN3glz13validate_utf8IcEEbPKT_m:
  842|  1.42k|   {
  843|  1.42k|      const uint8_t* it = reinterpret_cast<const uint8_t*>(str);
  844|  1.42k|      const uint8_t* const end = it + size;
  845|       |#if defined(GLZ_UTF8_SIMD)
  846|       |      // 16 is a measured compromise, not a register-size coincidence. The scalar path skips ASCII 8
  847|       |      // bytes at a time, so on ASCII it stays ahead of the vector path's fixed setup cost until the
  848|       |      // input is long enough for the 64 byte ASCII step to engage; on non-ASCII the vector path
  849|       |      // wins from roughly 8 bytes. Raising the threshold buys a few percent on short ASCII and
  850|       |      // costs up to 2.3x on mid length non-ASCII strings, so it stays low.
  851|       |      if (size >= 16) {
  852|       |         return detail::utf8_simd::validate(it, end);
  853|       |      }
  854|       |#endif
  855|  1.42k|      return validate_utf8_scalar(it, end);
  856|  1.42k|   }
_ZN3glz20validate_utf8_scalarEPKhS1_:
  793|  1.42k|   {
  794|  3.59M|      while (it < end) {
  ------------------
  |  Branch (794:14): [True: 3.59M, False: 1.10k]
  ------------------
  795|       |         // Optimistic SWAR check for ASCII
  796|  3.59M|         if (it + 8 <= end) {
  ------------------
  |  Branch (796:14): [True: 3.59M, False: 3.29k]
  ------------------
  797|  3.59M|            uint64_t chunk;
  798|  3.59M|            std::memcpy(&chunk, it, 8);
  799|  3.59M|            if ((chunk & glz::repeat_byte8(0x80)) == 0) {
  ------------------
  |  Branch (799:17): [True: 3.57M, False: 12.9k]
  ------------------
  800|  3.57M|               it += 8;
  801|  3.57M|               continue;
  802|  3.57M|            }
  803|  3.59M|         }
  804|       |
  805|       |         // Byte-by-byte validation (standard conformant)
  806|  16.2k|         uint8_t byte = *it;
  807|       |
  808|  16.2k|         if (byte < 0x80) {
  ------------------
  |  Branch (808:14): [True: 10.4k, False: 5.86k]
  ------------------
  809|  10.4k|            it++;
  810|  10.4k|         }
  811|  5.86k|         else if ((byte & 0xE0) == 0xC0) {
  ------------------
  |  Branch (811:19): [True: 1.60k, False: 4.25k]
  ------------------
  812|       |            // 2-byte sequence
  813|  1.60k|            if (it + 2 > end || (it[1] & 0xC0) != 0x80) return false;
  ------------------
  |  Branch (813:17): [True: 10, False: 1.59k]
  |  Branch (813:33): [True: 26, False: 1.56k]
  ------------------
  814|  1.56k|            if (byte < 0xC2) return false; // Overlong
  ------------------
  |  Branch (814:17): [True: 16, False: 1.55k]
  ------------------
  815|  1.55k|            it += 2;
  816|  1.55k|         }
  817|  4.25k|         else if ((byte & 0xF0) == 0xE0) {
  ------------------
  |  Branch (817:19): [True: 2.53k, False: 1.72k]
  ------------------
  818|       |            // 3-byte sequence
  819|  2.53k|            if (it + 3 > end || (it[1] & 0xC0) != 0x80 || (it[2] & 0xC0) != 0x80) return false;
  ------------------
  |  Branch (819:17): [True: 10, False: 2.52k]
  |  Branch (819:33): [True: 20, False: 2.50k]
  |  Branch (819:59): [True: 20, False: 2.48k]
  ------------------
  820|  2.48k|            if (byte == 0xE0 && it[1] < 0xA0) return false; // Overlong
  ------------------
  |  Branch (820:17): [True: 814, False: 1.67k]
  |  Branch (820:33): [True: 26, False: 788]
  ------------------
  821|  2.45k|            if (byte == 0xED && it[1] >= 0xA0) return false; // Surrogate
  ------------------
  |  Branch (821:17): [True: 1.26k, False: 1.19k]
  |  Branch (821:33): [True: 18, False: 1.24k]
  ------------------
  822|  2.44k|            it += 3;
  823|  2.44k|         }
  824|  1.72k|         else if ((byte & 0xF8) == 0xF0) {
  ------------------
  |  Branch (824:19): [True: 1.65k, False: 72]
  ------------------
  825|       |            // 4-byte sequence
  826|  1.65k|            if (it + 4 > end || (it[1] & 0xC0) != 0x80 || (it[2] & 0xC0) != 0x80 || (it[3] & 0xC0) != 0x80)
  ------------------
  |  Branch (826:17): [True: 4, False: 1.64k]
  |  Branch (826:33): [True: 14, False: 1.63k]
  |  Branch (826:59): [True: 12, False: 1.62k]
  |  Branch (826:85): [True: 14, False: 1.60k]
  ------------------
  827|     44|               return false;
  828|  1.60k|            if (byte == 0xF0 && it[1] < 0x90) return false; // Overlong
  ------------------
  |  Branch (828:17): [True: 778, False: 831]
  |  Branch (828:33): [True: 18, False: 760]
  ------------------
  829|  1.59k|            if (byte == 0xF4 && it[1] >= 0x90) return false; // > U+10FFFF
  ------------------
  |  Branch (829:17): [True: 430, False: 1.16k]
  |  Branch (829:33): [True: 16, False: 414]
  ------------------
  830|  1.57k|            if (byte > 0xF4) return false; // > U+10FFFF
  ------------------
  |  Branch (830:17): [True: 20, False: 1.55k]
  ------------------
  831|  1.55k|            it += 4;
  832|  1.55k|         }
  833|     72|         else {
  834|     72|            return false;
  835|     72|         }
  836|  16.2k|      }
  837|       |
  838|  1.10k|      return true;
  839|  1.42k|   }
_ZN3glz25handle_unicode_code_pointIccEENS_14unicode_resultERPKT_RPT0_S4_:
  347|  5.64k|   {
  348|  5.64k|      using namespace unicode;
  349|       |
  350|  5.64k|      if (end - it <= 4) [[unlikely]] {
  ------------------
  |  Branch (350:11): [True: 52, False: 5.59k]
  ------------------
  351|     52|         return {0, escape_prefix_intact<false>(it, end)};
  352|     52|      }
  353|  5.59k|      const uint32_t high = hex_to_u32(it);
  354|  5.59k|      if (high == 0xFFFFFFFFu) [[unlikely]] {
  ------------------
  |  Branch (354:11): [True: 124, False: 5.47k]
  ------------------
  355|    124|         return {};
  356|    124|      }
  357|  5.47k|      it += 4; // skip the code point characters
  358|       |
  359|  5.47k|      uint32_t code_point;
  360|       |
  361|  5.47k|      if ((high & generic_surrogate_mask) == generic_surrogate_value) {
  ------------------
  |  Branch (361:11): [True: 906, False: 4.56k]
  ------------------
  362|       |         // surrogate pair code points
  363|    906|         if ((high & surrogate_mask) != high_surrogate_value) {
  ------------------
  |  Branch (363:14): [True: 6, False: 900]
  ------------------
  364|      6|            return {};
  365|      6|         }
  366|       |
  367|    900|         if (end - it <= 6) [[unlikely]] {
  ------------------
  |  Branch (367:14): [True: 100, False: 800]
  ------------------
  368|    100|            return {0, escape_prefix_intact<true>(it, end)};
  369|    100|         }
  370|       |         // The next two characters must be `\u`
  371|    800|         uint16_t u;
  372|    800|         std::memcpy(&u, it, 2);
  373|    800|         if (u != to_uint16_t(R"(\u)")) [[unlikely]] {
  ------------------
  |  Branch (373:14): [True: 184, False: 616]
  ------------------
  374|    184|            return {};
  375|    184|         }
  376|    616|         it += 2;
  377|       |         // verify that second unicode escape sequence is present
  378|    616|         const uint32_t low = hex_to_u32(it);
  379|    616|         if (low == 0xFFFFFFFFu) [[unlikely]] {
  ------------------
  |  Branch (379:14): [True: 22, False: 594]
  ------------------
  380|     22|            return {};
  381|     22|         }
  382|    594|         it += 4;
  383|       |
  384|    594|         if ((low & surrogate_mask) != low_surrogate_value) [[unlikely]] {
  ------------------
  |  Branch (384:14): [True: 26, False: 568]
  ------------------
  385|     26|            return {};
  386|     26|         }
  387|       |
  388|    568|         code_point = (high & surrogate_codepoint_mask) << surrogate_codepoint_bits;
  389|    568|         code_point |= (low & surrogate_codepoint_mask);
  390|    568|         code_point += surrogate_codepoint_offset;
  391|    568|      }
  392|  4.56k|      else {
  393|  4.56k|         code_point = high;
  394|  4.56k|      }
  395|  5.13k|      const uint32_t offset = code_point_to_utf8(code_point, dst);
  396|  5.13k|      dst += offset;
  397|  5.13k|      return {offset, false};
  398|  5.47k|   }
_ZN3glz20escape_prefix_intactILb0EccEEbPKT0_PKT1_:
  329|     52|   {
  330|     52|      auto n = size_t(end - it);
  331|       |      if constexpr (ExpectOpener) {
  332|       |         if (n > 0 && it[0] != '\\') return false;
  333|       |         if (n > 1 && it[1] != 'u') return false;
  334|       |         if (n < 2) return true;
  335|       |         it += 2;
  336|       |         n -= 2;
  337|       |      }
  338|    130|      for (size_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (338:26): [True: 118, False: 12]
  ------------------
  339|    118|         if (digit_hex_table[uint8_t(it[i])] == 255) return false;
  ------------------
  |  Branch (339:14): [True: 40, False: 78]
  ------------------
  340|    118|      }
  341|     12|      return true;
  342|     52|   }
_ZN3glz10hex_to_u32EPKc:
  224|  6.21k|   {
  225|  6.21k|      constexpr auto& t = digit_hex_table;
  226|  6.21k|      const uint8_t arr[4]{t[uint8_t(c[3])], t[uint8_t(c[2])], t[uint8_t(c[1])], t[uint8_t(c[0])]};
  227|  6.21k|      auto chunk = std::bit_cast<uint32_t>(arr);
  228|       |      // On big-endian, bit_cast produces bytes in opposite order than expected
  229|       |      // byteswap to get consistent little-endian representation
  230|       |      if constexpr (std::endian::native == std::endian::big) {
  231|       |         chunk = std::byteswap(chunk);
  232|       |      }
  233|       |      // check that all hex characters are valid
  234|  6.21k|      if (chunk & repeat_byte4(0b11110000u)) [[unlikely]] {
  ------------------
  |  Branch (234:11): [True: 146, False: 6.06k]
  ------------------
  235|    146|         return 0xFFFFFFFFu;
  236|    146|      }
  237|       |
  238|       |      // now pack into first four bytes of uint32_t
  239|  6.06k|      uint32_t packed{};
  240|  6.06k|      packed |= (chunk & 0x0000000F);
  241|  6.06k|      packed |= (chunk & 0x00000F00) >> 4;
  242|  6.06k|      packed |= (chunk & 0x000F0000) >> 8;
  243|  6.06k|      packed |= (chunk & 0x0F000000) >> 12;
  244|  6.06k|      return packed;
  245|  6.21k|   }
_ZN3glz20escape_prefix_intactILb1EccEEbPKT0_PKT1_:
  329|    100|   {
  330|    100|      auto n = size_t(end - it);
  331|    100|      if constexpr (ExpectOpener) {
  332|    100|         if (n > 0 && it[0] != '\\') return false;
  ------------------
  |  Branch (332:14): [True: 100, False: 0]
  |  Branch (332:23): [True: 62, False: 38]
  ------------------
  333|     38|         if (n > 1 && it[1] != 'u') return false;
  ------------------
  |  Branch (333:14): [True: 36, False: 2]
  |  Branch (333:23): [True: 20, False: 16]
  ------------------
  334|     18|         if (n < 2) return true;
  ------------------
  |  Branch (334:14): [True: 2, False: 16]
  ------------------
  335|     16|         it += 2;
  336|     16|         n -= 2;
  337|     16|      }
  338|    120|      for (size_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (338:26): [True: 36, False: 84]
  ------------------
  339|     36|         if (digit_hex_table[uint8_t(it[i])] == 255) return false;
  ------------------
  |  Branch (339:14): [True: 16, False: 20]
  ------------------
  340|     36|      }
  341|     84|      return true;
  342|    100|   }
_ZN3glz18code_point_to_utf8IcEEjjPT_:
  249|  5.13k|   {
  250|  5.13k|      if (code_point <= 0x7F) {
  ------------------
  |  Branch (250:11): [True: 1.75k, False: 3.38k]
  ------------------
  251|  1.75k|         c[0] = Char(code_point);
  252|  1.75k|         return 1;
  253|  1.75k|      }
  254|  3.38k|      if (code_point <= 0x7FF) {
  ------------------
  |  Branch (254:11): [True: 1.19k, False: 2.19k]
  ------------------
  255|  1.19k|         c[0] = Char(0xC0 | ((code_point >> 6) & 0x1F));
  256|  1.19k|         c[1] = Char(0x80 | (code_point & 0x3F));
  257|  1.19k|         return 2;
  258|  1.19k|      }
  259|  2.19k|      if (code_point <= 0xFFFF) {
  ------------------
  |  Branch (259:11): [True: 1.62k, False: 568]
  ------------------
  260|  1.62k|         c[0] = Char(0xE0 | ((code_point >> 12) & 0x0F));
  261|  1.62k|         c[1] = Char(0x80 | ((code_point >> 6) & 0x3F));
  262|  1.62k|         c[2] = Char(0x80 | (code_point & 0x3F));
  263|  1.62k|         return 3;
  264|  1.62k|      }
  265|    568|      if (code_point <= 0x10FFFF) {
  ------------------
  |  Branch (265:11): [True: 568, False: 0]
  ------------------
  266|    568|         c[0] = Char(0xF0 | ((code_point >> 18) & 0x07));
  267|    568|         c[1] = Char(0x80 | ((code_point >> 12) & 0x3F));
  268|    568|         c[2] = Char(0x80 | ((code_point >> 6) & 0x3F));
  269|    568|         c[3] = Char(0x80 | (code_point & 0x3F));
  270|    568|         return 4;
  271|    568|      }
  272|      0|      return 0;
  273|    568|   }
_ZN3glz17match_invalid_endILc91EXtlNS_22match_invalid_end_optsEEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  8.96k|   {
  471|  8.96k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 13, False: 8.95k]
  ------------------
  472|       |         if constexpr (C == '"') {
  473|       |            ctx.error = error_code::expected_quote;
  474|       |         }
  475|       |         else if constexpr (C == ',') {
  476|       |            ctx.error = error_code::expected_comma;
  477|       |         }
  478|       |         else if constexpr (C == ':') {
  479|       |            ctx.error = error_code::expected_colon;
  480|       |         }
  481|     13|         else if constexpr (C == '[' || C == ']') {
  482|     13|            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|       |         else if constexpr (C == '{' || C == '}') {
  485|       |            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|     13|         return true;
  491|     13|      }
  492|  8.95k|      else [[likely]] {
  493|  8.95k|         ++it;
  494|  8.95k|      }
  495|  8.95k|      if constexpr (not Opts.null_terminated) {
  496|  8.95k|         if (it == end) [[unlikely]] {
  ------------------
  |  Branch (496:14): [True: 7, False: 8.94k]
  ------------------
  497|      7|            ctx.error = error_code::unexpected_end;
  498|      7|            return true;
  499|      7|         }
  500|  8.95k|      }
  501|  8.94k|      return false;
  502|  8.96k|   }
_ZN3glz7skip_wsIXtlNS_7ws_optsELb0ELb1EEETkNS_10is_contextERNS_7contextERPKcS5_EEbOT0_OT1_T2_:
  663|   196k|   {
  664|   196k|      using namespace glz::detail;
  665|       |
  666|   196k|      if constexpr (not Opts.minified) {
  667|   196k|         if constexpr (Opts.null_terminated) {
  668|       |            if constexpr (Opts.comments) {
  669|       |               while (whitespace_comment_table[uint8_t(*it)]) {
  670|       |                  if (*it == '/') [[unlikely]] {
  671|       |                     skip_comment(ctx, it, end);
  672|       |                     if (bool(ctx.error)) [[unlikely]] {
  673|       |                        return true;
  674|       |                     }
  675|       |                  }
  676|       |                  else [[likely]] {
  677|       |                     ++it;
  678|       |                  }
  679|       |               }
  680|       |            }
  681|   196k|            else {
  682|  11.8M|               while (whitespace_table[uint8_t(*it)]) {
  ------------------
  |  Branch (682:23): [True: 11.6M, False: 196k]
  ------------------
  683|  11.6M|                  ++it;
  684|  11.6M|               }
  685|   196k|            }
  686|       |         }
  687|       |         else {
  688|       |            if constexpr (Opts.comments) {
  689|       |               while (it < end && whitespace_comment_table[uint8_t(*it)]) {
  690|       |                  if (*it == '/') [[unlikely]] {
  691|       |                     skip_comment(ctx, it, end);
  692|       |                     if (bool(ctx.error)) [[unlikely]] {
  693|       |                        return true;
  694|       |                     }
  695|       |                  }
  696|       |                  else [[likely]] {
  697|       |                     ++it;
  698|       |                  }
  699|       |               }
  700|       |               if (it == end) [[unlikely]] {
  701|       |                  ctx.error = error_code::end_reached;
  702|       |                  return true;
  703|       |               }
  704|       |            }
  705|       |            else {
  706|       |               while (it < end && whitespace_table[uint8_t(*it)]) {
  707|       |                  ++it;
  708|       |               }
  709|       |               if (it == end) [[unlikely]] {
  710|       |                  ctx.error = error_code::end_reached;
  711|       |                  return true;
  712|       |               }
  713|       |            }
  714|       |         }
  715|       |      }
  716|       |      else if constexpr (not Opts.null_terminated) {
  717|       |         // Minified input has no whitespace to skip, but a non-null-terminated buffer can still
  718|       |         // be exhausted at this point. The non-minified branch above performs the same check; a
  719|       |         // null-terminated buffer relies on the trailing sentinel and keeps this a pure no-op.
  720|       |         if (it == end) [[unlikely]] {
  721|       |            ctx.error = error_code::end_reached;
  722|       |            return true;
  723|       |         }
  724|       |      }
  725|       |
  726|   196k|      return false;
  727|   196k|   }
_ZN3glz17match_invalid_endILc123EXtlNS_22match_invalid_end_optsELb1EEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  7.57k|   {
  471|  7.57k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 28, False: 7.54k]
  ------------------
  472|       |         if constexpr (C == '"') {
  473|       |            ctx.error = error_code::expected_quote;
  474|       |         }
  475|       |         else if constexpr (C == ',') {
  476|       |            ctx.error = error_code::expected_comma;
  477|       |         }
  478|       |         else if constexpr (C == ':') {
  479|       |            ctx.error = error_code::expected_colon;
  480|       |         }
  481|       |         else if constexpr (C == '[' || C == ']') {
  482|       |            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|     28|         else if constexpr (C == '{' || C == '}') {
  485|     28|            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|     28|         return true;
  491|     28|      }
  492|  7.54k|      else [[likely]] {
  493|  7.54k|         ++it;
  494|  7.54k|      }
  495|       |      if constexpr (not Opts.null_terminated) {
  496|       |         if (it == end) [[unlikely]] {
  497|       |            ctx.error = error_code::unexpected_end;
  498|       |            return true;
  499|       |         }
  500|       |      }
  501|  7.54k|      return false;
  502|  7.57k|   }
_ZN3glz17match_invalid_endILc44EXtlNS_22match_invalid_end_optsELb1EEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  35.7k|   {
  471|  35.7k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 3.95k, False: 31.7k]
  ------------------
  472|       |         if constexpr (C == '"') {
  473|       |            ctx.error = error_code::expected_quote;
  474|       |         }
  475|  3.95k|         else if constexpr (C == ',') {
  476|  3.95k|            ctx.error = error_code::expected_comma;
  477|       |         }
  478|       |         else if constexpr (C == ':') {
  479|       |            ctx.error = error_code::expected_colon;
  480|       |         }
  481|       |         else if constexpr (C == '[' || C == ']') {
  482|       |            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|       |         else if constexpr (C == '{' || C == '}') {
  485|       |            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|  3.95k|         return true;
  491|  3.95k|      }
  492|  31.7k|      else [[likely]] {
  493|  31.7k|         ++it;
  494|  31.7k|      }
  495|       |      if constexpr (not Opts.null_terminated) {
  496|       |         if (it == end) [[unlikely]] {
  497|       |            ctx.error = error_code::unexpected_end;
  498|       |            return true;
  499|       |         }
  500|       |      }
  501|  31.7k|      return false;
  502|  35.7k|   }
_ZN3glz17match_invalid_endILc58EXtlNS_22match_invalid_end_optsELb1EEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  38.6k|   {
  471|  38.6k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 82, False: 38.5k]
  ------------------
  472|       |         if constexpr (C == '"') {
  473|       |            ctx.error = error_code::expected_quote;
  474|       |         }
  475|       |         else if constexpr (C == ',') {
  476|       |            ctx.error = error_code::expected_comma;
  477|       |         }
  478|     82|         else if constexpr (C == ':') {
  479|     82|            ctx.error = error_code::expected_colon;
  480|       |         }
  481|       |         else if constexpr (C == '[' || C == ']') {
  482|       |            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|       |         else if constexpr (C == '{' || C == '}') {
  485|       |            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|     82|         return true;
  491|     82|      }
  492|  38.5k|      else [[likely]] {
  493|  38.5k|         ++it;
  494|  38.5k|      }
  495|       |      if constexpr (not Opts.null_terminated) {
  496|       |         if (it == end) [[unlikely]] {
  497|       |            ctx.error = error_code::unexpected_end;
  498|       |            return true;
  499|       |         }
  500|       |      }
  501|  38.5k|      return false;
  502|  38.6k|   }
_ZN3glz17match_invalid_endILc34EXtlNS_22match_invalid_end_optsELb1EEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  4.80k|   {
  471|  4.80k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 38, False: 4.76k]
  ------------------
  472|     38|         if constexpr (C == '"') {
  473|     38|            ctx.error = error_code::expected_quote;
  474|       |         }
  475|       |         else if constexpr (C == ',') {
  476|       |            ctx.error = error_code::expected_comma;
  477|       |         }
  478|       |         else if constexpr (C == ':') {
  479|       |            ctx.error = error_code::expected_colon;
  480|       |         }
  481|       |         else if constexpr (C == '[' || C == ']') {
  482|       |            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|       |         else if constexpr (C == '{' || C == '}') {
  485|       |            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|     38|         return true;
  491|     38|      }
  492|  4.76k|      else [[likely]] {
  493|  4.76k|         ++it;
  494|  4.76k|      }
  495|       |      if constexpr (not Opts.null_terminated) {
  496|       |         if (it == end) [[unlikely]] {
  497|       |            ctx.error = error_code::unexpected_end;
  498|       |            return true;
  499|       |         }
  500|       |      }
  501|  4.76k|      return false;
  502|  4.80k|   }
_ZN3glz18validate_utf8_spanITnDaXtlNS_4optsELj10ELb1ELb0ELb1ELb1ELb0ELb0ELb0ELb0ELj4EEETkNS_10is_contextERNS_7contextEccEEbOT0_PKT1_PKT2_m:
  873|  4.62k|   {
  874|       |      if constexpr (not check_validate_utf8(Opts)) {
  875|       |         // Everything the caller computed for us is dead, which lets its scan loop drop the
  876|       |         // accumulator entirely.
  877|       |         (void)ctx, (void)start, (void)fin, (void)ascii_acc;
  878|       |         return false;
  879|       |      }
  880|  4.62k|      else {
  881|  4.62k|         if ((ascii_acc & repeat_byte8(0b10000000)) == 0) {
  ------------------
  |  Branch (881:14): [True: 3.90k, False: 715]
  ------------------
  882|  3.90k|            return false; // pure ASCII is trivially well formed UTF-8
  883|  3.90k|         }
  884|    715|         if (!validate_utf8(start, size_t(fin - start))) [[unlikely]] {
  ------------------
  |  Branch (884:14): [True: 158, False: 557]
  ------------------
  885|    158|            ctx.error = error_code::invalid_utf8;
  886|    158|            return true;
  887|    158|         }
  888|    557|         return false;
  889|    715|      }
  890|  4.62k|   }
_ZN3glz17match_invalid_endILc91EXtlNS_22match_invalid_end_optsELb1EEETkNS_10is_contextENS_7contextERPKcS4_EEbRT1_OT2_T3_:
  470|  8.99k|   {
  471|  8.99k|      if (*it != C) [[unlikely]] {
  ------------------
  |  Branch (471:11): [True: 41, False: 8.95k]
  ------------------
  472|       |         if constexpr (C == '"') {
  473|       |            ctx.error = error_code::expected_quote;
  474|       |         }
  475|       |         else if constexpr (C == ',') {
  476|       |            ctx.error = error_code::expected_comma;
  477|       |         }
  478|       |         else if constexpr (C == ':') {
  479|       |            ctx.error = error_code::expected_colon;
  480|       |         }
  481|     41|         else if constexpr (C == '[' || C == ']') {
  482|     41|            ctx.error = error_code::expected_bracket;
  483|       |         }
  484|       |         else if constexpr (C == '{' || C == '}') {
  485|       |            ctx.error = error_code::expected_brace;
  486|       |         }
  487|       |         else {
  488|       |            ctx.error = error_code::syntax_error;
  489|       |         }
  490|     41|         return true;
  491|     41|      }
  492|  8.95k|      else [[likely]] {
  493|  8.95k|         ++it;
  494|  8.95k|      }
  495|       |      if constexpr (not Opts.null_terminated) {
  496|       |         if (it == end) [[unlikely]] {
  497|       |            ctx.error = error_code::unexpected_end;
  498|       |            return true;
  499|       |         }
  500|       |      }
  501|  8.95k|      return false;
  502|  8.99k|   }

