Treatment of empty string Shiro Kawai (24 Feb 2020 20:20 UTC)
Re: Treatment of empty string John Cowan (24 Feb 2020 20:24 UTC)
Re: Treatment of empty string Shiro Kawai (24 Feb 2020 20:50 UTC)
Re: Treatment of empty string Per Bothner (24 Feb 2020 21:22 UTC)
Re: Treatment of empty string John Cowan (24 Feb 2020 21:38 UTC)
Re: Treatment of empty string Shiro Kawai (24 Feb 2020 22:00 UTC)
Re: Treatment of empty string Arthur A. Gleckler (05 Apr 2020 22:47 UTC)
Re: Treatment of empty string Per Bothner (05 Apr 2020 23:41 UTC)
Re: Treatment of empty string Shiro Kawai (05 Apr 2020 23:51 UTC)
Re: Treatment of empty string John Cowan (06 Apr 2020 19:54 UTC)
Re: Treatment of empty string Shiro Kawai (06 Apr 2020 20:11 UTC)
Re: Treatment of empty string Per Bothner (06 Apr 2020 21:01 UTC)
(missing)
Re: Treatment of empty string Per Bothner (06 Apr 2020 21:49 UTC)
Re: Treatment of empty string John Cowan (06 Apr 2020 23:47 UTC)

Re: Treatment of empty string Per Bothner 06 Apr 2020 21:01 UTC

On 4/6/20 1:11 PM, Shiro Kawai wrote:
> Yes, [additional location for string length] all ok.  (Another possible model is that a string object is merely a pointer to an immutable string body, but that's further away from "location-per-character" storage model.)

The latter just seems simpler and cleaner than a special string-length location that
magically creates or removes character locations.  It seems difficult to specify that
is any simply way - and I don't think that model provides any extra explanatory power.
--
	--Per Bothner
xxxxxx@bothner.com   http://per.bothner.com/