[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

uncache_image weirdness

From: Miles Bader
Subject: uncache_image weirdness
Date: Thu, 24 May 2007 20:36:07 -0400

In the new function you wrote, "uncache_image", I don't understand why you
call lookup_image (the return value isn't even used).  Wouldn't it work to
just search the table and free any matching spec, _without_ calling
lookup_image?  In the case of an image that isn't actually in the cache, it
seems silly to load the image just to immediately free it...



`Cars give people wonderful freedom and increase their opportunities.
 But they also destroy the environment, to an extent so drastic that
 they kill all social life' (from _A Pattern Language_)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]