GNOME Bugzilla – Bug 689674
Use a default value for the pixbuf cache
Last modified: 2012-12-12 23:31:52 UTC
It would be nice to have a good default value for the pixbuf cache so that every app that uses it doesn't have to do it manually. For instance, in Documents we didn't even realize that we had to set it at first. It works much better when it is non-zero.
Created attachment 230716 [details] [review] Set a good default value for the pixbuf cache This makes it easier for consumers of EvView to have good performance out of the box.
Review of attachment 230716 [details] [review]: Good point, thanks! ::: libview/ev-view.c @@ +100,3 @@ #define SCROLL_TIME 150 +#define PIXBUF_CACHE_SIZE 52428800 /* 50MB */ Could you renamed it to DEFAULT_PIXBUF_CACHE_SIZE? to make it clear that's only the default values used by the view.
*** Bug 689505 has been marked as a duplicate of this bug. ***