[gst-devel] Re: gstreamer-cvs digest, Vol 1 #1687 - 8 msgs
David Schleef
ds at schleef.org
Sat Apr 10 14:13:02 CEST 2004
On Sat, Apr 10, 2004 at 06:49:22AM +0100, Andy Wingo wrote:
> Yo,
>
> On Fri, 09 Apr 2004, gstreamer-cvs-request at lists.sourceforge.net wrote:
>
> > CVS Root: /home/cvs/gstreamer
> > Module: gstreamer
> > Changes by: company
> > Date: Fri Apr 09 2004 12:05:15 PDT
> >
> [...]
> > don't use memchunks for these objects, use malloc instead
>
> Why? I thought memchunks were faster and more realtime-safe.
There is evidence that memchunks are slower unless you have large
chunk sizes and lots of allocation/deallocation. Neither is true
in this case. (GstBuffer may qualify, but it's still memchunk
allocated anyway.)
GMemchunk uses malloc internally, so there's very little reason
for it to be more real-time-safe than malloc itself.
dave...
More information about the gstreamer-devel
mailing list