[Bug 732284] New: bufferlist: optimisation: pre-allocate buffer array in one go with the buffer list
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Jun 26 06:56:56 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=732284
GStreamer | gstreamer (core) | git
Summary: bufferlist: optimisation: pre-allocate buffer array in
one go with the buffer list
Classification: Platform
Product: GStreamer
Version: git
OS/Version: All
Status: NEW
Keywords: perf
Severity: enhancement
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: t.i.m at zen.co.uk
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=279313)
View: https://bugzilla.gnome.org/attachment.cgi?id=279313
Review: https://bugzilla.gnome.org/review?bug=732284&attachment=279313
bufferlist: pre-allocate buffer array in one go with the buffer list
A buffer list currently takes at least three allocs and then three frees,
assuming there are no re-allocs to expand. We can allocate the buffers array in
one go with the list to save these additional allocs/frees in almost all common
use cases, which can easily add up to a couple of hundred malloc/frees per
second saved.
Putting this here until 1.4 is out.
--
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