79219636

Date: 2024-11-24 08:21:07
Score: 0.5
Natty:
Report link

Nothing beats the performance of this naive implementation:

export const toHex = (array: Uint8Array) => {
  let result = "";
  for (const value of array) {
    result += value.toString(16).padStart(2, "0");
  }
  return result;
};

KISS!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user2025261