sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: rob@research.att.com
To: sam-fans@hawkwind.utcs.toronto.edu
Subject: changes not in sequence
Date: Tue, 25 May 1993 23:48:47 -0400	[thread overview]
Message-ID: <93May25.234919edt.2714@hawkwind.utcs.toronto.edu> (raw)

rhubarb rhubarb.  it's just a bug that i never saw my way through to fix.

what the message means is that you've generated a list of changes to
be made atomically that don't occur in increasing non-overlapping
addresses in the file.  this is hard to do unless you put addresses inside
commands, e.g.
	x/./ -d
this particular example is an error - it will delete the same line many times -
but there are more complex examples that should work but don't.

the bug should be easy to fix, but it's not.
in principle, you (that is, i) just sort the transcript list and execute it in order.
(if the changes occur out of order, the address arithmetic in the update
routine will screw up.)  the problem is that, for vital efficiency, nearby changes
are folded together so many small adjacent modifications can be done in
one disk i/o (say), which makes it impossible to keep them separate in order
to be able to sort them.  hence the message.  i always intended to fix the
problem; i never saw how.

i have a whole new system now that contains much more efficient code to do
all this stuff, obviating the need for the extra level of cache and hence making
it possible to sort the changes (as in fact i do in this new system).  the code
could be retrofitted but it's a huge job and i think my time and others' is
better spent on other things, such as getting this new system working.

apologies.

-rob


             reply	other threads:[~1993-05-26  3:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-26  3:48 rob [this message]
1993-05-26 20:18 ` Ozan S. Yigit
  -- strict thread matches above, loose matches on Subject: below --
1993-05-24 20:30 Ronnie Mainieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=93May25.234919edt.2714@hawkwind.utcs.toronto.edu \
    --to=rob@research.att.com \
    --cc=sam-fans@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).