mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 05:48:06 +00:00
refactor: optimize event args handling for performance improvements
This commit is contained in:
@@ -85,7 +85,7 @@ public sealed class Tema : AbstractBase
|
||||
_handler = Handle;
|
||||
}
|
||||
|
||||
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>
|
||||
/// Initializes the indicator state using the provided history.
|
||||
|
||||
Reference in New Issue
Block a user