[vlc-devel] [PATCH] Added a performance check to marquee filter
dionoea at videolan.org
Fri Jan 9 15:35:31 CET 2009
On Fri, Jan 09, 2009, Rémi Denis-Courmont wrote:
> I am not convinced that this optimization is of any use. time() is just one
> system call and localtime() is just O(1) integer arithmetic.
Well it prevents computing the marq string more than once (everytime the
filter function is called). So basically you save 1 strftime call and 1
str_fmt_meta call per run (except on the first one).
More information about the vlc-devel