You're replying to a comment by leonardo.

leonardo Permalink
October 30, 2009, 00:47

You allocate too much often. Try this D code, runs in 1.8 seconds on my slow Ubuntu box:
http://codepad.org/emV3G6mB
You can compile it with a daily build of LDC:
http://www.dsource.org/projects/ldc/wiki/BuildInstructionsUbuntu
Using:
ldc -O3 -inline -release bb.d

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.