summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qpixmapcache
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Make the bench a bit faster.Alexis Menard2009-06-041-2/+2
| | | | Reviewed-by:TrustMe
* Add an extension to QPixmapCache to get rid of strings.Alexis Menard2009-05-182-0/+232
This commit add a new API to add/find/remove pixmaps into QPixmapCache. This new extension is based on a key that the cache give you during the insertion. This key is internally a int which makes all operations in the cache much more faster that the string approach. Auto-tests has been extended as well and a benchmark has been added to compare both approach. I also depecrate the find method for the string API to have a method pointer based and not reference based like the Qt policy says. Reviewed-by: bnilsen Reviewed-by: andreas Followed-deeply-by: trond