Comment

Comment by malthejorgensen

My impression is that most editors already use this or similar optimized data structures for representing the text internally.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton