[Bug 750149] queuearray: allow storing of structs in addition to pointers (for GQueue optimisation)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Jul 4 08:40:58 PDT 2015


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.3

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
commit 41fdf21a60ca69bdc90bef367fbce41dcf4415ad
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sat May 30 14:27:05 2015 +0100

    queue: avoid slice allocs/frees for each item

    Microoptimisation: Let GstQueueArray store our
    item struct. That way we don't have to alloc/free
    temporary QueueItem slices for every item we want
    to put into the queue.

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

commit d0f85838ab789f8b0e0075c1818eca8d35d43133
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sat May 30 13:07:50 2015 +0100

    queuearray: allow storing of structs in addition to pointers

    This way we don't have to allocate/free temporary structs
    for storing things in the queue array.

    API: gst_queue_array_new_for_struct()
    API: gst_queue_array_push_tail_struct()
    API: gst_queue_array_peek_head_struct()
    API: gst_queue_array_pop_head_struct()
    API: gst_queue_array_drop_struct()

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

-- 
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