Re: [TCLCORE] Cloverfield references (was Re: Variable access)
by Larry McVoy other posts by this author
May 21 2008 8:51AM messages near this date
Re: [TCLCORE] Cloverfield references (was Re: Variable access)
|
Re: [TCLCORE] [Tcl9-cloverfield] Cloverfield references (was Re: Variable access)
> My goal with Cloverfield is to keep the existing Tcl semantics
> (copy-on-write, pass-by-value) while adding references. This implies
> that the string rep of a structure holding references may change over
> time. This would be grossly inefficient if the whole string rep had to
> be recreated over and over again, especially for large structures, so we
> need an efficient string representation that allows for selective
> invalidation of substrings.
Is this really true? It seems to me it is only true for things wanting
to get at the string rep. And yes, you want to be able to puts($obj)
but if all the code you are calling is compiled and knows how to get
at the internals isn't that a have-your-cake-and-eat-it-too?
--
---
Larry McVoy lm at bitmover.com http://www.bitkeeper.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tcl-Core mailing list
Tcl-Core@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-core
Thread:
fbonnet
fredericbonnet
Neil Madden
fbonnet
Neil Madden
fbonnet
Lars Hellstrom
fbonnet
Neil Madden
fredericbonnet
David Welton
fbonnet
David Welton
Larry McVoy
Alexandre Ferrieux
Andreas Leitgeb
fbonnet
Neil Madden
Donal K. Fellows
Alexandre Ferrieux
Larry McVoy
Neil Madden
Gustaf Neumann
Neil Madden
Larry McVoy
Neil Madden
Alexandre Ferrieux
fbonnet
Neil Madden
Alexandre Ferrieux
Donal K. Fellows
Larry McVoy
Alexandre Ferrieux
Donal K. Fellows
Alexandre Ferrieux
|