mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
d48d47e683
* memcmp is expensive and was being abused, reduce calling it by checking the first byte. * iterating one byte at at time over 64 kbites introduces a certain overhead, therefore we now do it in chunks of 1024 bytes And I do mean over 300 times. The average instruction call per mxf_type_find was previously 785685 and it's now down to 2458 :) |
||
---|---|---|
.. | ||
gsttypefindfunctions.c | ||
Makefile.am | ||
typefindfunctions.vcproj |