[gstreamer-bugs] [Bug 500143] Some small improvements (limiting realloc and CPU usage )

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Dec 10 04:15:38 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=500143

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #5 from Laurent Glayal  2007-12-10 12:15 UTC -------
Keeping for() is ok, trusting compiler, but g_string is costly as strings for
capabilities are often reallocated due to concatenation. 

g_string_new() does not (can't ?) anticipate any future use of the new string,
so having glib 'fixed' seems to me quite uncertain.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=500143.




More information about the Gstreamer-bugs mailing list