refactor: optimize event args handling for performance improvements

This commit is contained in:
Miha Kralj
2025-12-28 17:21:53 -08:00
parent a64cc1c224
commit ad6eebf812
47 changed files with 59 additions and 51 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ public sealed class Atr : AbstractBase
// but we can rely on manual updates or the user subscribing.
}
private void Handle(object? sender, TValueEventArgs e) => Update(e.Value, e.IsNew);
private void Handle(object? sender, in TValueEventArgs e) => Update(e.Value, e.IsNew);
/// <summary>
/// True if the ATR has warmed up and is providing valid results.