Get the latest tech news

Visual Studio Code: Text Buffer Reimplementation (2018)


Text Buffer Reimplementation in the Visual Studio Code/Monaco editor

During an in-depth exploration, we found that a C++ implementation of the text buffer could lead to significant memory savings, but we didn't see the performance enhancements we were hoping for. Even without low level engine tricks, it is still possible to improve speed by one or more orders of magnitude by using better suited data structures and faster algorithms. So, rather than spending half a year on something we didn't know would pay off, we decided to keep the text buffer's runtime in JavaScript, and only change the data structure and associated algorithms.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of visual studio code

visual studio code

Related news:

News photo

Kotlin-Lsp: Kotlin Language Server and Plugin for Visual Studio Code

News photo

Show HN: Mermaid Chart VS Code Plugin: Mermaid.js Diagrams in Visual Studio Code

News photo

How to debug Python code in Visual Studio Code