summaryrefslogtreecommitdiffstats
path: root/checkasm/checkasm.c
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2024-04-25 18:05:20 -0700
committerrcombs <rcombs@rcombs.me>2024-06-10 11:22:22 -0700
commit305f787af755be25c0d5f46fd949377e245cf0be (patch)
treeeeefec61f10e1e0ebbdf8248e1cf4c8049a954e1 /checkasm/checkasm.c
parentc2150ce7e64e9799d6ed2eed13312a649b0ba163 (diff)
downloadlibass-master.tar.bz2
libass-master.tar.xz
ass_cache: don't increment refcount on cache hitsHEADmaster
Items retrieved from cache are always kept until at least the end of the frame, so there's no need to explicitly ref them when they're only used intra-frame. Instead, explicitly ref items when we'll be keeping them around for longer (e.g. as part of another cache item's key). Note that ass_shaper already depended on cache items never being released mid-frame prior to this change. This will save massively on atomic contention later.
Diffstat (limited to 'checkasm/checkasm.c')
0 files changed, 0 insertions, 0 deletions