simpledisplay.d now works on as 64 bit on X

bearophile bearophileHUGS at lycos.com
Sun Jun 9 13:22:23 PDT 2013


Adam D. Ruppe:

> I got as high as 45 fps using that trick plus the dmd -inline 
> -release -O -noboundscheck flags. (The original code without 
> flags and without final gave me only 30 fps).

Compiled with dmd, on my slower PC I see about 37 fps on the 
original code. Using ldc2 on the same code I see 53 fps. Using 
the pointers with ldc2 I see 68 fps.

And with a bit more cache-friendly data structure:
alias World = Cell[worldSide][];
I see 74 fps with ldc2 with pointers.

On Windows Vista the the window close X button on the top right 
doesn't work, and I have to use the close from the window menu on 
the top left.

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list