[Bug 747959] buffer: minimize memory copy in _memory_add()
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Apr 17 09:20:48 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747959
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |t.i.m at zen.co.uk
--- Comment #8 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Well, you're right of course, only that if you get to that point you have
already incurred the cost of creating that memory and you will have to incur
the cost of destroying it either way (now or later), so if what you're saying
is "we should ideally never end up in such a situation" then I agree.
I also think we would still want some hard-limit at which point we force-merge.
Whether it makes more sense to merge all into one or not also depends on the
use later (if it's going to be mapped as a whole forcing a merge anyway, as 99%
of code does, then that's more efficient overall). Clearly only bad options ;)
--
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