🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by utzoodecvaxucbvaxARPAVAXC70edito... Mon, 20 Sep 1982 02:44
buffer structures
#276
Author: utzoodecvaxucbvaxARPAVAXC70edito...
Date: Mon, 20 Sep 1982 02:44
14 lines
1104 bytes
>From GZ@MIT-MC Mon Sep 20 02:42:30 1982
I don't see what the difficulty is with implementing virtual bounds
in the linked list of lines scheme.  If you mean the fact that the break
can occur in the middle of the line, well, you split the line at the given
point, and merge it back when lifting the bounds. Of course you unlink the
out-of-bounds parts and keep 'em somewhere else, so the problem of verifying
relative positions only comes up when you are changing bounds, not all the
time.  Implementing virtual bounds would be no worse than any region operation.

I do agree though that the problem of comparing positions is one of the
major disadvantages of the linked list approach, making all region hacking
more expensive.

Also, a correction: Gosling's emacs uses the buffer+gap scheme.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads