Results 1 to 7 of 7

Thread: glib vs. no-glib

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: glib vs. no-glib

    Quote Originally Posted by wysota View Post
    An article on QDevBlog can shed a little light on the subject.
    Yeah, I read that blog. Unfortunately, it doesn't cover performance. I've googled a bit, and haven't found anything. Since, it hasn't been brought up and people aren't really posting about performance increase/decrease, I'm assuming for now that it is a negligible change in performance. I find this strange, however, because one would think that using a new implementation of something as low level as the eventloop (which accounts for a large percentage of execution time) would definitely change performance one way or another.... The only performance factor I can come up with is the dynamic linker loading the additional libglib.{so,dylib,dll} (if it hasn't been loaded anyways) at program startup - this is of course negligible especially since glib is a relatively small library.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: glib vs. no-glib

    I think the performance change is not significant as both approaches surely try to optimise the thing. Glib is probably a bit slower as it has more features, but has more capabilities and probably proves to be better when multiple apps/libs use it. I don't know how the event loop in Glib works, is it shared between different apps or does every app have a separate instance of the loop?

Similar Threads

  1. Glib event loop
    By Brandybuck in forum Qt Programming
    Replies: 2
    Last Post: 28th September 2006, 17:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.