Changeset 255

Show
Ignore:
Timestamp:
12/15/07 12:32:08 (1 year ago)
Author:
JarrettBillingsley
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/mdcl.d

    r201 r255  
    3131void main(char[][] args) 
    3232{ 
     33    // This seemingly pointless code forces the GC to reserve some extra memory 
     34    // from the start in order to improve performance upon subsequent allocations. 
     35    // This is until the Tango GC gets a .reserve function or the like. 
     36    auto chunk = new ubyte[1024 * 1024 * 4]; 
     37    delete chunk; 
     38     
    3339    (new CommandLine(Stdout, Cin.stream)).run(args); 
    3440} 
  • trunk/samples/simple.md

    r248 r255  
    11module simple; 
    22 
     3if(false) 
    34{ 
    45    import arc.draw.color : Color; 
     
    161162} 
    162163 
     164/+ 
    163165/* 
    164166local co = coroutine Co; 
     
    10031005    } 
    10041006} 
     1007+/ 
  • trunk/test.brf

    r235 r255  
    44-g 
    55-op 
     6-profile 
  • trunk/test.d

    r247 r255  
    66import tango.io.Stdout; 
    77 
    8 version = Arc; 
     8//version = Arc; 
    99 
    1010void main() 
     
    2020 
    2121        ctx.addImportPath(`samples`); 
    22         ctx.importModule("simple"); 
     22        ctx.importModule("speed"); 
    2323    } 
    2424    catch(MDException e)