Skip to content

Commit

Permalink
Tui perf fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuinox committed Sep 30, 2024
1 parent 13c5337 commit b751355
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Draco.Compiler.Fuzzer/TuiTracer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ internal sealed class TuiTracer : Window, ITracer<SyntaxTree>
{
private sealed class InputQueueItem(SyntaxTree input, int index)
{
private readonly string asString = $"Input {index}";
public SyntaxTree Input { get; } = input;
public int Index { get; } = index;

public override string ToString() => $"Input {this.Index}";
public override string ToString() => this.asString;
}

private sealed class FaultItem(SyntaxTree input, FaultResult fault)
Expand Down

0 comments on commit b751355

Please sign in to comment.