Woke at 4am with a fix in mind so I coded that. It worked. Now, maybe an exercise break before getting native functions implemented.
As I go into day 6 of my big coding project comprising of a single `ed` session, the activity monitor tells me that `ed` has now used a cumulative total of 1.46s of CPU time.
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/dabeaz/statuses/115803128089341571 on your instance and quote it. (Note that quoting is not supported in Mastodon.)