mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Performance issue solved (#1096)
This commit is contained in:
parent
83982347f6
commit
4258cbfb85
@ -58,7 +58,7 @@ public sealed class TableRowCollection : IReadOnlyList<TableRow>
|
||||
{
|
||||
var row = CreateRow(columns);
|
||||
_list.Add(row);
|
||||
return _list.IndexOf(row);
|
||||
return _list.Count - 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user