[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Namestring&pathstring returning shared structure
- To: Rem@IMSSS.Arpa
- Subject: Re: Namestring&pathstring returning shared structure
- From: masinter.PARC@Xerox.COM
- Date: Sat, 21 Jun 1986 01:52:00 -0000
- Cc: COMMON-LISP@SU-AI.Arpa
- In-reply-to: Rem%IMSSS:ARPA's message of Friday, June 20, 1986 1:41 pm
- Reply-to: masinter.PARC@Xerox.COM
- Sender: "Larry_Masinter.PARC"@Xerox.COM
From as early as 1972, Interlisp in all implementations performed "copy
on write for substrings of pnames". This required neither BIBOP or page
tables or tag bits.
This is one "is an error" condition that is fairly painful: it isn't
determinable by even the most careful amount of flow analysis, much less
a simple syntactic check.
To change "it is an error to destructively modify the pname of a
symbol", it is necessary to either introduce copy-on-write or else
change it to "signals an error". If the former is controversial, would
you accept the latter?