Request: Implement constant folding for .dup

Stewart Gordon smjg_1998 at yahoo.com
Tue Feb 20 07:55:54 PST 2007


Don Clugston Wrote:
> Since COW is used so much in D, especially with strings, allowing 
> "abc".dup to be constant-folded would greatly increase the amount 
> of existing code which could be used at compile-time.

What would the semantics be exactly?

Stewart.



More information about the Digitalmars-d mailing list