• Ell's avatar
    buffer: avoid unnecesarily locking global cache mutex when inserting tile · eac67d7b
    Ell authored
    In gegl_tile_handler_cache_insert(), only call
    gegl_tile_handler_cache_trim() if the cache actually needs to be
    trimmed, i.e., if the total cache size exceeds the maximum.  The
    latter function always acquires the global cache mutex, which is
    wasteful if there is nothing to actually trim.
    eac67d7b
Name
Last commit
Last update
bin Loading commit data...
build/buildbot Loading commit data...
docs Loading commit data...
examples Loading commit data...
gcut Loading commit data...
gegl Loading commit data...
libs Loading commit data...
m4 Loading commit data...
opencl Loading commit data...
operations Loading commit data...
perf Loading commit data...
po Loading commit data...
seamless-clone Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.kateconfig Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gegl-uninstalled.pc.in Loading commit data...
gegl.doap Loading commit data...
gegl.pc.in Loading commit data...