Re: [Development] Request to delete libibusplatforminputcontextplugin.so from qtbase

2015-07-16 Thread Takao Fujiwara
On 07/16/15 22:44, Eike Hein-san wrote: > > > On 07/16/2015 03:02 PM, Helio Chissini de Castro wrote: >> Hello Takao >> >> You're talking over Qt 4 only or Qt 5 is affected as well ? >> This is a full replacement of the plugin ? > > The Qt 4 plugin was never in the Qt source tree (afaik). > > The Q

Re: [Development] Container benchmark was HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

2015-07-16 Thread Thiago Macieira
On Thursday 16 July 2015 23:09:55 Gunnar Roth wrote: > > QHash is slower than std::unordered because std::hash is inline > > and qHash(double) is out-of-line. > > May I ask why? > Is this valid for all qHash()? Commit c0791ac76ec7cfdc3945efa67a6f72ee3623413c Add qHash() overloads for float

Re: [Development] Container benchmark was HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

2015-07-16 Thread Thiago Macieira
On Friday 17 July 2015 00:02:52 Gunnar Roth wrote: > Well my tests show that vector is only good with up to 100 elements, at > least from 1000 and above it is a lot worse than QHash. What security > concern do you mean when hash collide for a hash based container. That's probably when you fall of

Re: [Development] Container benchmark was HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

2015-07-16 Thread Gunnar Roth
Hi Julian > Am 16.07.2015 um 23:43 schrieb Julien Blanc : > > Le jeudi 16 juillet 2015 à 23:09 +0200, Gunnar Roth a écrit : > >> >> The vector classes are now very bad in this case. QHash is considerable >> better than any other. >> >> So I deduce from this test that for a container with up t

Re: [Development] Container benchmark was HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

2015-07-16 Thread Julien Blanc
Le jeudi 16 juillet 2015 à 23:09 +0200, Gunnar Roth a écrit : > > The vector classes are now very bad in this case. QHash > is considerable better than any other. > > So I deduce from this test that for a container with up to 100 > elements , std::vector is the best choice , if you want fastes

Re: [Development] Container benchmark was HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

2015-07-16 Thread Gunnar Roth
Hi Marc. > That's because your benchmark runs entirely in L1. > > If you want to test containers of 10, 100, 1000 and 1 elements each, then > make > - one run over 1×N containers of 1 elements each, > - one run over 10×N containers of 1000 elements each, > - one run over 100×N containers

Re: [Development] Request to delete libibusplatforminputcontextplugin.so from qtbase

2015-07-16 Thread Eike Hein
On 07/16/2015 03:02 PM, Helio Chissini de Castro wrote: > Hello Takao > > You're talking over Qt 4 only or Qt 5 is affected as well ? > This is a full replacement of the plugin ? The Qt 4 plugin was never in the Qt source tree (afaik). The Qt 5 plugin is, and this is upstream asking for it to

Re: [Development] Request to delete libibusplatforminputcontextplugin.so from qtbase

2015-07-16 Thread Helio Chissini de Castro
Hello Takao You're talking over Qt 4 only or Qt 5 is affected as well ? This is a full replacement of the plugin ? Regards, Helio On Thu, Jul 16, 2015 at 4:29 AM, Takao Fujiwara wrote: > I maintain IBus project. > https://github.com/ibus/ibus/wiki > > Now I wish to delete qtbase/src/plugins/pl

Re: [Development] Imageformats v2

2015-07-16 Thread Иван Комиссаров
Bumping thread. API changed again:) Current version supports all i need to and can be extended without breaking BC (which is important when API will be stabilized). UML diagram: https://raw.githubusercontent.com/ABBAPOH/imagedocument/master/uml/Class%20Diagram.png Typical usage: http://pastebin.co

[Development] Request to delete libibusplatforminputcontextplugin.so from qtbase

2015-07-16 Thread Takao Fujiwara
I maintain IBus project. https://github.com/ibus/ibus/wiki Now I wish to delete qtbase/src/plugins/platforminputcontexts/ibus and the I will import that module to ibus-qt package, which had been used in qt4. https://github.com/ibus/ibus-qt Thanks, Fujiwara ___