public void ToLower() { DoDPOParser_v5 parser = new DoDPOParser_v5(); var dodLines_v5 = parser.Parse(lines, out var index); for (int s = 0; s < Samples; s++) { dodLines_v5.AllNotes.ToString().ToLower(); } }
public static void TestNotesToLowerPO_DoD() { samples = 10000; var parser = new DoDPOParser_v5(); var lines = parser.Parse(@"C:\Users\Y700-17\Desktop\DataOrientedDesign\DoDSamples\DoDSamples\Samples\POParser\Sample.po", out var index); Utils.Measure(() => { for (int s = 0; s < samples; s++) { ToLowerASCIIInPlace_SIMD(lines.AllNotes.ToString()); } }); }
public static void TestNotesPO_DoD_Split() { samples = 10000; var parser = new DoDPOParser_v5(); var lines = parser.Parse(@"C:\Users\Y700-17\Desktop\DataOrientedDesign\DoDSamples\DoDSamples\Samples\POParser\Sample.po", out var index); Utils.Measure(() => { for (int s = 0; s < samples; s++) { List <string> words = new List <string>(1000); words.AddRange(lines.AllNotes.ToString().Split(" ")); } }); }