[Oberon] Re (2): Explaining Texts.

Josef Templ josef.templ at gmail.com
Sat Jul 28 12:52:17 CEST 2018

if I remember correctly, you should not think of the text pieces as in
memory text blocks but as references to text stretches on files.
A piece is always on a file and has a start pos and a length. The length
can exceed the main memory. Only a part of the file will be kept in memory,
depending on the buffering strategy in module Files. This allows, in
principle, editing texts that are larger than the main memory. It also
allows for a lot of sharing. If you copy a text then the piece list will be
copied but the pieces will refer to the same file and position. The pieces
are treated read-only for that.
It also allows to open texts quickly because not all of the contents will
be read into main memory.

- Josef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20180728/94dea2f4/attachment.html>

More information about the Oberon mailing list