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 |
|