refactor: Simplify TSeries and Dema constructors, and streamline benchmark methods for improved readability

This commit is contained in:
Miha Kralj
2025-12-08 18:43:23 -05:00
parent 53a2dd2c05
commit 5f57cbbe74
9 changed files with 20 additions and 67 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ public sealed class Tema : ITValuePublisher
public TSeries Update(TSeries source)
{
if (source.Count == 0) return new TSeries(new List<long>(), new List<double>());
if (source.Count == 0) return new TSeries();
int len = source.Count;
var t = new List<long>(len);