| Thread overview | |||||
|---|---|---|---|---|---|
|
February 25, 2009 Re: Inline Functions | ||||
|---|---|---|---|---|
| ||||
Hi, I made a few fixes to my demo, and it now appears to run on par with Java. It seems I made a very rookie mistake on my main demo loop. Check out Blaze demo #3: http://svn.dsource.org/projects/blaze/downloads/blazeDemos.zip Cycle through (with arrows) and compare it to the Java pyramid stress test: http://www.jbox2d.org/v2demos/ Thanks for all the suggestions..... Although I may still take a stab a profiling to get even better performance! :-) Mason | ||||
February 25, 2009 Re: Inline Functions | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Mason Green |
Mason Green wrote:
> Hi,
>
> I made a few fixes to my demo, and it now appears to run on par with Java. It seems I made a very rookie mistake on my main demo loop.
>
> Check out Blaze demo #3: http://svn.dsource.org/projects/blaze/downloads/blazeDemos.zip
>
> Cycle through (with arrows) and compare it to the Java pyramid stress test: http://www.jbox2d.org/v2demos/
>
> Thanks for all the suggestions..... Although I may still take a stab a profiling to get even better performance! :-)
>
> Mason
Maybe if you have spare time, you could write a blog post or article on performance gotchas you encounter while porting?
-- Daniel
| |||
February 25, 2009 Re: Inline Functions | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Mason Green | Mason Green: > I made a few fixes to my demo, and it now appears to run on par with Java. It seems I made a very rookie mistake on my main demo loop. > > Check out Blaze demo #3: http://svn.dsource.org/projects/blaze/downloads/blazeDemos.zip Why do you use lines with a thickness of 2? Antialiasing too may be good. Have you tried to compile it with LDC on Linux? > Thanks for all the suggestions..... Although I may still take a stab a profiling to get even better performance! :-) Good :-) Bye, bearophile | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply