http://bugs.winehq.org/show_bug.cgi?id=9277
--- Comment #18 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-09-11 15:42:37 --- Created an attachment (id=8029) --> (http://bugs.winehq.org/attachment.cgi?id=8029) patch
Could someone check if this patch helps? It changes the cache from GUID-based to PIDL-based. As a PIDL changes even if the file mtime changes I don't try to keep all the objects in the cache but only 32 most recently used ones.
The problem with the patch was that Photoshop CS calls this function very often and even an ILCombine/ILFree seems to make a difference in speed. That's why there is a unplesant 'if' at the beginning. I'll see if this can be written somehow better.