[Refactor] Use static lambdas in LINQ queries for improved performance

This commit is contained in:
2025-11-24 03:00:06 +00:00
parent 5fe7f574d6
commit 04c45e69fa
126 changed files with 971 additions and 929 deletions

View File

@@ -239,7 +239,7 @@ public sealed class HexViewLine
{
get
{
var hex = string.Join(" ", Bytes.Select(b => $"{b:X2}"));
var hex = string.Join(" ", Bytes.Select(static b => $"{b:X2}"));
// Pad to 16 bytes worth of hex (16 * 3 - 1 = 47 chars)
return hex.PadRight(47);