as / a

A graphical text editor
BSD 3-Clause "New" or "Revised" License
345 stars 25 forks source link

a: buffer: no block storage #86

Open as opened 6 years ago

as commented 6 years ago

It seems using a byte slice as the underlying storage mechanism for the text worked a bit too well, to the point of where I completely forgot there was no block storage.

Insert/Delete performance begins to degrade at around 128MB on my laptop. At least an in memory block storage should be used for buffers over 4MB-16MB. I believe the traditional Sam editor used something in the realm of 2-4K on disk.