www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5665] New: DmdScript Bug, Program.compile is very slow

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5665

           Summary: DmdScript Bug, Program.compile is very slow
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: changlon gmail.com



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 .

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 28 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5665




dmdscript.value.value.caluHash(d_string) is very slow with big string .

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 28 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5665


Dmitry Olshansky <dmitry.olsh gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh gmail.com



08:48:34 PDT ---
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/

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 06 2011