[Bug 747959] buffer: minimize memory copy in _memory_add()
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Apr 17 09:11:20 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747959
Olivier CrĂȘte <olivier.crete at ocrete.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |olivier.crete at ocrete.ca
--- Comment #7 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
I'm not convinced having an array of hundreds of GstMemory is a good idea. The
cost of creating and destroying all of those memories may exceed the benefit of
the zero-copy. I think this is why Wim limited it to relatively small value in
the first place. Possibly, you may want to benchmark your patch against just
allocation a large buffer and doing memcpy() into it?
--
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