FlowerScirpt teaser
Jarrett Billingsley
kb3ctd2 at yahoo.com
Tue Sep 25 15:08:31 PDT 2007
"bobef" <bobef at abv_nospam.bg> wrote in message
news:fdbs6o$r06$1 at digitalmars.com...
> I found miniD but it was painfully slow.
Now, that's not entirely fair because I _did_ reply to your threads and
offer suggestions (such as compiling with -release, which, BTW, about halves
the execution time for the example you gave), but as far as I can tell you
never even looked at them again. I've also been working on speeding up the
interpreter, mostly because of your (and others') complaints.
> $SERVER={"gosho":"pesho"};$COOKIE={"gosho":"pesho"};
> for($c=0;$c<=1000;$c++)
> {
> $a=("gosho"~"["~$SERVER["gosho"]~"]"~"="~$SERVER["gosho"]~"<br />");
> $b=("gosho"~"["~$COOKIE["gosho"]~"]"~"="~$COOKIE["gosho"]~"<br />");
> }
I'd like to know how FlowerScript handles strings. Are they mutable? And
if not, how do you get around the problem of allocating (at a bare minimum)
2000 strings in this loop?
More information about the Digitalmars-d-announce
mailing list