<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Buffer on Prasenjeet Dutta</title><link>https://pdutta.net/tags/buffer/</link><description>Recent content in Buffer on Prasenjeet Dutta</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Prasenjeet Dutta</copyright><lastBuildDate>Sat, 28 Nov 2026 20:07:00 +0000</lastBuildDate><atom:link href="https://pdutta.net/tags/buffer/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a tiny text editor in Go, part 3: choosing a text buffer</title><link>https://pdutta.net/posts/ted-part-3-piece-table/</link><pubDate>Sat, 28 Nov 2026 20:07:00 +0000</pubDate><guid>https://pdutta.net/posts/ted-part-3-piece-table/</guid><description>&lt;p&gt;&lt;a href="https://pdutta.net/posts/ted-part-1-the-loop/" &gt;Part 1&lt;/a&gt; built the core of &lt;code&gt;ted&lt;/code&gt;.&#10;&lt;a href="https://pdutta.net/posts/ted-part-2-simplest-undo/" &gt;Part 2&lt;/a&gt; implemented undo by copying every line before every edit.&#10;It was a useful first approach but didn&amp;rsquo;t scale well. This post explores alternatives&#10;and then implements a piece table.&lt;/p&gt;</description></item></channel></rss>