TE
TechEcho
AccueilTop 24hRécentsMeilleursQuestionsPrésentationsEmplois
GitHubTwitter
Accueil

TechEcho

Une plateforme d'actualités technologiques construite avec Next.js, fournissant des nouvelles et discussions technologiques mondiales.

GitHubTwitter

Accueil

AccueilRécentsMeilleursQuestionsPrésentationsEmplois

Ressources

HackerNews APIHackerNews OriginalNext.js

© 2025 TechEcho. Tous droits réservés.

Visual Studio Code: Text Buffer Reimplementation (2018)

54 pointspar stefankuehnelil y a 5 jours

5 comments

lenkiteil y a 1 jour
The piece table is an amazing editor data structure. Reasonably simple to grasp conceptually, memory efficient for large files, good cache-locality, allow easy undo&#x2F;redo, original file can be read-only, etc.<p>Newer editors seem to prefer Rope though.
animal531il y a environ 18 heures
Sadly I think plain old Visual Studio isn&#x27;t getting much love these days.<p>At least Rider exist, so if they fall too far behind that will just keep growing in market share.
smartmicil y a 1 jour
Is there an overview of which editor uses which data structures? I am particularly interested in GNU Emacs, vi(m), Sublime and other popular text editors among Hackers.
joeblubaughil y a 1 jour
I’m surprised they got away with an ordered Array as long as they did. It’s almost prima facia poorly performing.
timewizardil y a 1 jour
So.. Rope?<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rope_(data_structure)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rope_(data_structure)</a>
评论 #44079837 未加载