[gstreamer-bugs] [Bug 599546] Faster read/write macros

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 27 00:42:38 PDT 2009


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

--- Comment #9 from Edward Hervey <bilboed at gmail.com> 2009-10-27 07:42:32 UTC ---
It also seems that latest gcc (since 4.4 maybe ?) will automatically error out
on aliasing issues. That's the reason of those two extra commits.

If gcc 4.4 now properly errors out... can't we just fix all modules and be done
with it ?

--

Just ran a comparision of the usage of gstpluginloader.c when recreating an
empty registry (rm ~/.gstreamer-0.10/reg* && valgrind --tool=callgrind
gst-inspect-0.10)

Before : 98 267 instructions called
After  : 88 740 instructions called

so that's 10% shaved off... for free. And the pluginloader doesn't do a
*massive* usage of READ/WRITE unlike some parsers/(de)muxers/typefinders

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