Matt Brubeck
|
286888009f
|
Make LRUCache use a linked list to reduce memmoves.
https://bugzilla.mozilla.org/show_bug.cgi?id=1398957
|
2017-09-14 11:33:02 -07:00 |
|
Bobby Holley
|
74b4f95d71
|
Encapsulate the sharing cache backend better.
MozReview-Commit-ID: 2x9BIhmwH83
|
2017-09-11 22:39:34 -07:00 |
|
Bobby Holley
|
c409c2089c
|
Fix an awful bug in LRUCache::touch().
MozReview-Commit-ID: 3l7L0MfdOxh
|
2017-09-11 22:39:33 -07:00 |
|
Kenan Rhoton
|
8aeb512670
|
Adapt LRUCache to use ArrayDeque crate instead of VecDeque
|
2017-06-03 20:59:01 +02:00 |
|
Bobby Holley
|
a32596131a
|
Optimize LRUCache by using a VecDeque.
We also reverse the order, so that we don't need iter.rev().
|
2017-04-13 21:52:39 +08:00 |
|
Bobby Holley
|
cceaf7c619
|
Logging fixes.
I had these lying around in the other bug.
|
2017-04-12 10:35:46 +08:00 |
|
Emilio Cobos Álvarez
|
d3e7f1f0f4
|
style: Iterate the LRU cache contents from back to front.
We put the more recently used item last, so iterating then from left to right is
pointless.
|
2017-03-11 11:31:10 +01:00 |
|
Emilio Cobos Álvarez
|
727be58b4a
|
style: Simplify style sharing code.
|
2017-03-09 19:31:03 +01:00 |
|
Emilio Cobos Álvarez
|
b5ba53655f
|
style: Document and remove dead code from cache.rs
|
2016-12-31 04:53:37 +01:00 |
|
Simon Sapin
|
33c7915032
|
Remove usage of deprecated SipHasher .
|
2016-10-10 18:35:07 +02:00 |
|
Emilio Cobos Álvarez
|
a46f0c3b24
|
Lazily compute common style affecting attribute info.
|
2016-08-17 14:17:44 -07:00 |
|
Ms2ger
|
8dd711d3db
|
Move util::cache to style.
|
2016-07-08 16:44:47 +02:00 |
|