Bug 5665 – DmdScript Bug, Program.compile is very slow
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-02-28T01:49:00Z
Last change time
2015-06-09T05:11:45Z
Assigned to
nobody
Creator
changlon
Comments
Comment #0 by changlon — 2011-02-28T01:49:43Z
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 .
Comment #1 by changlon — 2011-02-28T03:18:40Z
dmdscript.value.value.caluHash(d_string) is very slow with big string .
Comment #2 by dmitry.olsh — 2011-09-06T08:48:34Z
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/
Comment #3 by lt.infiltrator — 2014-03-19T20:44:00Z
Everyone: can this bug be closed as it does not seem to relate to D itself?
Comment #4 by dmitry.olsh — 2014-03-20T04:46:24Z
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.