Optimization regarding "Change casing" thx ivandrofly :)

from #2328
This commit is contained in:
Nikolaj Olsson 2017-04-14 17:48:55 +02:00
parent 21a81f48f9
commit 1c2ab5b4be

View File

@ -10,7 +10,7 @@ namespace Nikse.SubtitleEdit.Forms
{
public sealed partial class ChangeCasingNames : Form
{
private readonly List<string> _usedNames = new List<string>();
private readonly HashSet<string> _usedNames = new HashSet<string>();
private int _noOfLinesChanged;
private Subtitle _subtitle;
private const string ExpectedEndChars = " ,.!?:;')<-\"\r\n";