[Bug 747959] buffer: minimize memory copy in _memory_add()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Apr 26 21:16:08 PDT 2015


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

--- Comment #11 from Prashant Gotarne <ps.gotarne at samsung.com> ---
I have no specific use case in mind for above patch. I just thought that
performance can be improved in buffer management here by avoiding the memory
copy in case of overflow. Its better to use the variable length array for
memory blocks instead of fix sized array as provided in buffer list.
Even though the memory is force merged in the case of getting mapped info for
write/read mode, it can be avoided by iterating every memory block of buffer
while reading.

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