style: drop redundant EOL comments flagged by ktlint in Hex.kt

New KDoc blocks on isHex/isHex64 already state the "~47ns" and
"~30% faster" perf notes, so the trailing EOL comments between the
KDoc and the function now trip ktlint's standard:no-consecutive-comments
rule ("an EOL comment may not be preceded by a KDoc"). Remove them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BawgXifvcPidMMqJ719Ka2
This commit is contained in:
Claude
2026-07-01 18:33:19 +00:00
parent 0689a7d244
commit f35d40cc00
@@ -60,7 +60,6 @@ object Hex {
* emoji in `p` tags) instead of throwing. ~47ns in debug on the Emulator;
* use [isHex64] when the length is known to be 64.
*/
// 47ns in debug on the Emulator
fun isHex(hex: String?): Boolean {
if (hex == null) return false
if (hex.length and 1 != 0) return false
@@ -93,7 +92,6 @@ object Hex {
* the length is fixed and the checks are unrolled. Assumes [hex] is at least
* 64 chars long; it does not verify the total length.
*/
// 30% faster than isHex
fun isHex64(hex: String): Boolean =
try {
hexToByte[hex[0].code] >= 0 &&