FlowerScirpt teaser
Jarrett Billingsley
kb3ctd2 at yahoo.com
Wed Sep 26 06:13:28 PDT 2007
"bobef" <bobef at abv_nospam.bg> wrote in message
news:fdd020$plv$1 at digitalmars.com...
> I do compile time optimizations that "sees" that there are several concats
> (or any other binary operator) in a row so instead of creating several new
> string objects it creates only one. Furthermore the cat operator counts
> the length of the resulting string (or array) and does only one
> allocation, so I haven't profiled it (yet) but in these loop there are
> like 2 allocations times 1000...
This is, as I explained on the threads on the MiniD forum, exactly what
MiniD already does. (And yes, it's also quite fast.)
More information about the Digitalmars-d-announce
mailing list