atom/superstring

Rewrite TextBuffer::updateSpatialIndex in C++

Opened this issue · 0 comments

TextBuffer::updateSpatialIndex costs about ~100ms per call because it's pulling objects across the C++/JavaScript boundary. It's only supposed to run during idle callbacks, but they add up. Rewriting it in C++-land should give us a performance boost.