I don't know where to report dmdscript bug, so I just put here . http://gool.googlecode.com/files/test_js.rar This zip file include ds_cpp.exe( c++ dmdscript), ds_dmd1.exe (http://www.digitalmars.com/dscript/), ds_dmd2.exe(http://www.dsource.org/projects/dmdscript-2), big_fn.js . big_fn.js is just define a very big string var , and print it length . ds_dmd1 and ds_dmd2 use 8000ms to compile this example , but ds_cpp only use 0ms to compile this example . I try use dmdscript build a dynamic web template enging, I hope some body can find the problem and fix it .
dmdscript.value.value.caluHash(d_string) is very slow with big string .
Thanks for pointing this out, I was maintaining D2 port in my spare time, and will sure have a look at this. As for DMDscript bugzilla here it is: http://bugzilla.digitalmars.com/issues/
Everyone: can this bug be closed as it does not seem to relate to D itself?
OMG that was a long time ago. In any case this is not a bug with D, but can be reported at github. I enabled issues for my fork, this is the least I could do: https://github.com/blackwhale/DMDScript/issues but I haven't even compiled the thing on recent DMD in the last couple of years. Linked DigitalMars bugzilla reports HTTP code 500 for me, so not much luck there either.