[Bug 732284] bufferlist: optimisation: pre-allocate buffer array in one go with the buffer list

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 24 03:07:40 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=732284
  GStreamer | gstreamer (core) | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.5.1

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-07-24 10:07:36 UTC ---
commit fbe2477fae40e546b31b8397d4ac79b5954c827b
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Thu Jun 26 14:09:25 2014 +0100

    bufferlist: pre-allocate buffer array in one go with the buffer list

    We can now create and free a buffer list with one slice alloc/free
    call in most cases, instead of one slice alloc/free for the list,
    one slice alloc/free for the GArray, and one malloc/free for the
    GArray array. In practice we know the max size of our buffer list
    from the start, so can avoid reallocs.

    https://bugzilla.gnome.org/show_bug.cgi?id=732284

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list