[Panel-devel] [PATCH] QPixmapCache size (bug 151109)

Siraj Razick sirajr at gmail.com
Wed Oct 24 17:47:39 CEST 2007


Hi. Sean,
> >
> > What do you think of that?
> I think that could work as long as we are careful to flush unneeded items from
> the cache so that it doesn't grow indefinitely.

Qt DOSE this automatically  :-) , deletes the unwanted that is, so why
should we require a manual flush ? .
when the limit is full the insert will return false. so if needed we
could expand the size of the cache further . but still keeping the
size at a reasonable max so that
we will not have the system threshing. So 2 max limits.  1 the current
maximum of our cache ,  and the maximum value we will let the cache to
grow. this is my suggestion ;)


 Although, some thought should
> be given to how the cache handles such use cases. That is, will it lead to
> thrashing of the cache and/or memory fragmentation?
This could happen when u  keep


I don't know the answer
> to this at present as I have no idea on the implementation of QPixmapCache.
>
> I'll spend some time getting more familiar with the structure of plasma and
> see what I can come up with.
>
> Cheers,
>
> Sean
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>


More information about the Panel-devel mailing list