Børge Austvold wrote:
> Gunnar Sletta wrote:
>> Børge Austvold wrote:
>>> Hi,
>>>
>>> Well how about this then, I've reimplemented both the Java and the 
>>> C++ version to be identical. They both use arrays and only brushes 
>>> are cached since it's not a good idea to new stuff during painting.  
>>> Now I get 20.7 fps in Java and 15.3 fps in c++ on my Ubuntu box 
>>> running on a Dell M90 laptop, thats about 35% faster in Java....
>>
>> You did configure your Qt C++ with -release, right?
>>
>> Gunnar
>>
> No forgot that, but when I build it with the release flag i got 15.7 fps 
> on the c++ version. (CONFIG += release) right ?

You need to reconfigure and rebuild Qt using

 > ./configure -release

and if you're going to be using that Qt together with Jambi I strongly 
suggest you to put "-no-mmx -no-sse -no-sse2 -no-3dnow" on the configure 
line as well, as java has a bug in 1.5 where it doesn't properly align 
the C stack before entering native code, causing mmx operations to crash.


_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to