[gstreamer-bugs] [Bug 610246] [optimization] Speed up _get_range()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 17 03:33:50 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=610246
  GStreamer | gstreamer (core) | git

--- Comment #2 from Edward Hervey <bilboed at gmail.com> 2010-02-17 11:33:45 UTC ---
Created an attachment (id=154018)
 View: https://bugzilla.gnome.org/attachment.cgi?id=154018
 Review: https://bugzilla.gnome.org/review?bug=610246&attachment=154018

filesrc: Don't use expensive cast checks in _create

_create() is a pad function set by ourselves, therefore we're sure basesrc
is a GstFileSrc.

Speeds up _create() by 17% and the total call by 8% (instruction calls
measurements
done with valgrind).

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