Originally posted by DarkCloud
View Post
Announcement
Collapse
No announcement yet.
Wireshark 1.99.2 Works On Its Qt Interface
Collapse
X
-
-
Originally posted by DarkCloud View PostExcept when you want to create more objects like in a large table and want to sort them very fast. Also just try to load a 400 meg file into a table in QML Table and also in QTableView (Wiget) then get back to me
QAbstractItemModel has a sort interface, so I don't see what would make it slow.
Comment
-
Originally posted by bpetty View PostShould be pretty easy to create an open source version. QML is just javascript with a bunch of callback hooks running in V8.
Just get it to do AOT instead of JIT. I shouldn't speculate, because I haven't used QML nor have I "compiled" it... but I would not be surprised if that is what they are doing and calling it "compiled".
Remember the way to use QML is using it for the interface, where it is merely a descriptive language triggering optimized layout and animations, any real application calculations should be done in C++.
Comment
-
QML - just a pretty face ?
Originally posted by erendorn View PostThat should not be relevant, given that the QML view only loads the elements it displays, whose number is independent of the table size.
QAbstractItemModel has a sort interface, so I don't see what would make it slow.
See Following for an explaination - "Qml TableView Crazy Slow"
Granted one can start swaping data in and out as needed
Comment
-
Originally posted by DarkCloud View PostExcept when you want to create more objects like in a large table and want to sort them very fast. Also just try to load a 400 meg file into a table in QML Table and also in QTableView (Wiget) then get back to me
Comment
-
Originally posted by carewolf View PostThe main advantage is that compiled code is not source, and some closed source companies did not like that QML application shiped with source, they prefer to have it compiled.
Minify your code and you should be fine (and probably perform better too).
I think even JIT has the potential for better performance than AOT anyway (although I think that is mostly theoretical).
Comment
-
I think even JIT has the potential for better performance than AOT anyway (although I think that is mostly theoretical).
My point is more that by shipping source QML and having to compile it at runtime, you incur all the problems everyone has with any JIT or Interpreter - inherently, you have huge memory overhead from the compiler, and you have a tangible startup delay while the runtime actually JITs a majority of the application. For something like Plasma, both matter a lot - people care about the shell's memory usage, and they care about boot times, and JITing the QML if you can avoid it hurts both.
Comment
-
Originally posted by timtas View PostQuite sad to see another project move away from gtk to qt, as I traditionally always preferred gtk. But I guess the move towards Linux-only by gtk/gnome makes this inevitable for anybody caring about platform independence.
Comment
Comment