Jarrett Billingsley wrote:
On Tue, Jun 2, 2009 at 12:16 AM, Russell Lewis
webmas...@villagersonline.com wrote:
P.S. Does anybody know why dmd complains cannot evaluate at compile time
when I set those regex objects to static invariant so I'm not rebuilding
them with every pass?
Because it
Looks interesting, but unfortunately it's still useless to me since it
doesn't seem to support arrays of varying depth, nor boolean arrays I
believe.
ps. Isn't this throw statement unreachable? (throw new
Exception(Identifier not found)
erm.. yes.. should have been commented out.
pps.
Jarrett Billingsley wrote:
On Tue, Jun 2, 2009 at 11:47 AM, Russell Lewis
webmas...@villagersonline.com wrote:
Of course! But then, the code is harder to read. I'll bite the bullet and
move it above the loop, but it's ugly.
And yeah, I know about CTFI and the issues there...I just thought
I've just started to play around with D, and I'm hoping someone can clarify
this. I wrote a very simple program that just allocates lots of objects, in
order to benchmark the garbage collector in D. For comparison, I wrote the
programs in C++, Java and D:
C++: http://gist.github.com/122708
Diwaker Gupta wrote:
I've just started to play around with D, and I'm hoping someone can clarify
this. I wrote a very simple program that just allocates lots of objects, in
order to benchmark the garbage collector in D. For comparison, I wrote the
programs in C++, Java and D:
C++: