d2 compiler

bearophile bearophileHUGS at lycos.com
Sun Jul 4 07:56:33 PDT 2010


Mafi:
> When try to compile my code doesn't stop to take more RAM.

Maybe it's those appensds. If you have many large strings it's much better both in D and other languages to collect them in an array of strings, and then join them all at the end.
Try to strip your program to bare-bones if you want to find the source of your problems.

Note "$"[0] is probably written '$'.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list