提交 6ba3934e 编写于 作者: T Ty Overby 提交者: GitHub

Merge pull request #20515 from Therzok/sliding-window

[SlidingTextWindow] Add another common case for GetText optimization
......@@ -668,6 +668,10 @@ public string GetText(int position, int length, bool intern)
{
return " ";
}
if (_characterWindow[offset] == '\n')
{
return "\n";
}
break;
case 2:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册