Re: [Qt-jambi-interest] class template && multiple inheritance

2008-12-11 Thread nakk...@libero.it
Hi Eskil, thank you very much for your suggestions, that's a good starting point to manage this issue. Anyway i would ask you how to handle this simpler subcase ( i refer to the code i posted first): suppose that the class ContacsManager derived from the singletontemplate class is instantiated i

Re: [Qt-jambi-interest] Why is Jambi faster than QT ?

2008-12-11 Thread Gunnar Sletta
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.

Re: [Qt-jambi-interest] Why is Jambi faster than QT ?

2008-12-11 Thread Børge Austvold
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

Re: [Qt-jambi-interest] class template && multiple inheritance

2008-12-11 Thread Eskil Abrahamsen Blomfeldt
[EMAIL PROTECTED] wrote: > Thanks for the answer Eskil, > but i wish templates will be supported soon > Templates as a general concept is impossible to support in the bindings, since it's a static mechanism which relies on partially defining a class and instantiating it heterogeneously.

Re: [Qt-jambi-interest] Why is Jambi faster than QT ?

2008-12-11 Thread Gunnar Sletta
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 U

[Qt-jambi-interest] class template && multiple inheritance

2008-12-11 Thread nakk...@libero.it
Thanks for the answer Eskil, but i wish templates will be supported soon Giorgio >Messaggio originale >Da: [EMAIL PROTECTED] >Data: 10/12/2008 14.57 >A: "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> >Cc: >Ogg: Re: [Qt-jambi-interest] class template && multiple inheritance > >[EMAIL PROT