DMDScript - DMDScript
- Martijn (20/20) Jan 19 2005 As a first quick test see the outcome below. This is done on a Athlon
As a first quick test see the outcome below. This is done on a Athlon 1.3GHz, 256Mb, WinXP SP2. Of course I had to change the 'print' statements to 'WScript.Echo' statements. C:\opt\dmdscript>ds sieve.ds Digital Mars DMDScript 1.03 www.digitalmars.com Compiled by Digital Mars DMD D compiler Copyright (c) 1999-2005 by Digital Mars written by Walter Bright 1 source files 10 iterations 1899 primes elapsed time = 260 C:\opt\dmdscript>cscript sieve.js Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. 10 iterations 1899 primes elapsed time = 721 C:\opt\dmdscript>
Jan 19 2005