[gstreamer-bugs] [Bug 610246] [optimization] Speed up _get_range()
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Feb 17 03:33:43 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=610246
GStreamer | gstreamer (core) | git
--- Comment #1 from Edward Hervey <bilboed at gmail.com> 2010-02-17 11:33:41 UTC ---
Created an attachment (id=154017)
View: https://bugzilla.gnome.org/attachment.cgi?id=154017
Review: https://bugzilla.gnome.org/review?bug=610246&attachment=154017
basesrc: Don't use expensive cast checks in get_range.
_get_range() is a pad function set by ourselves, therefore we're certain that
the parent is a GstBaseSrc.
Speeds up _get_range by 38%, and the total call by 30%. (valgrind instruction
calls measurements).
--
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