aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/cache.rs
Commit message (Collapse)AuthorAgeFilesLines
* Hoist the LRU cache into its own crate to share it with selectors.Bobby Holley2017-09-201-210/+0
|
* Make LRUCache use a linked list to reduce memmoves.Matt Brubeck2017-09-141-35/+163
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1398957
* Encapsulate the sharing cache backend better.Bobby Holley2017-09-111-0/+10
| | | | MozReview-Commit-ID: 2x9BIhmwH83
* Fix an awful bug in LRUCache::touch().Bobby Holley2017-09-111-2/+1
| | | | MozReview-Commit-ID: 3l7L0MfdOxh
* Adapt LRUCache to use ArrayDeque crate instead of VecDequeKenan Rhoton2017-06-031-16/+15
|
* Optimize LRUCache by using a VecDeque.Bobby Holley2017-04-131-15/+17
| | | | We also reverse the order, so that we don't need iter.rev().
* Logging fixes.Bobby Holley2017-04-121-0/+5
| | | | I had these lying around in the other bug.
* style: Iterate the LRU cache contents from back to front.Emilio Cobos Álvarez2017-03-111-6/+13
| | | | | We put the more recently used item last, so iterating then from left to right is pointless.
* style: Simplify style sharing code.Emilio Cobos Álvarez2017-03-091-34/+10
|
* style: Document and remove dead code from cache.rsEmilio Cobos Álvarez2016-12-311-58/+18
|
* Remove usage of deprecated `SipHasher`.Simon Sapin2016-10-101-9/+5
|
* Lazily compute common style affecting attribute info.Emilio Cobos Álvarez2016-08-171-2/+6
|
* Move util::cache to style.Ms2ger2016-07-081-0/+124