Replace buffer.slice in text search with buffer.toString(undefined, start, end).
This is much faster although it's not totally obvious why. But it's run for every line of every file in the workspace so it's very sensitive. See #15384.
Showing
想要评论请 注册 或 登录