mirror of
https://github.com/matrix-construct/construct
synced 2024-07-01 08:18:20 +02:00
ircd::gpt::vocab: Improve debug fmtstr.
This commit is contained in:
parent
8f90e7c0cd
commit
2df266e3be
|
@ -179,10 +179,10 @@ ircd::gpt::vocab::debug(const mutable_buffer &out,
|
||||||
thread_local char strbuf[2][512];
|
thread_local char strbuf[2][512];
|
||||||
return string_view{fmt::sprintf
|
return string_view{fmt::sprintf
|
||||||
{
|
{
|
||||||
out, "%5u %s [%32s]",
|
out, "%5u [%32s] %s",
|
||||||
idx,
|
idx,
|
||||||
simd::print_mem(strbuf[0], token[idx]),
|
simd::print_chr(strbuf[0], token[idx]),
|
||||||
simd::print_chr(strbuf[1], token[idx]),
|
simd::print_mem(strbuf[1], token[idx]),
|
||||||
}};
|
}};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue