aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/cache.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move util::cache to style.Ms2ger2016-07-081-122/+0
|
* Remove HashCache.Ms2ger2016-07-081-50/+1
|
* Remove unnecessary clone in LRUCache::touchMatt Brubeck2016-05-131-4/+4
|
* Eliminate unneeded clones in find_or_createMatt Brubeck2016-05-131-16/+15
| | | | ...and use it to eliminate duplicate hash lookups and string copies in shape_text.
* Upgrade to new Hasher APIRuud van Asseldonk2016-02-031-4/+3
|
* Derive Debug on FontGroup and its componentsOlaf Buddenhagen2015-12-121-0/+1
|
* HashCache: Apply trait bounds on type itself, rather than only the implOlaf Buddenhagen2015-12-121-1/+4
| | | | | | | | | I don't think there is any reason to keep the container more generic than its (only) implementation -- the constraints are necessary for this container to work at all. Defining the constraints on the type itself also enables use of #[derive(Debug)].
* Fix issues found by rust-clippyCorey Farwell2015-10-121-1/+1
|
* Fix reported test-tidy errorsBrandon Fairchild2015-09-011-1/+1
| | | | | This fixes lines that were reported to have missing space after a comma.
* sort all usesJohann Tuffe2015-08-201-3/+3
|
* Fix existing syntactics nits.Josh Matthews2015-08-161-9/+9
|
* Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()`João Oliveira2015-08-151-1/+1
| | | | closes #7197
* Move away from the repeat().take().collect() pattern.Ms2ger2015-07-141-2/+1
| | | | | This was the preferred pattern between the deprecation of Vec::from_elem and the addition of the count argument to the vec![] macro.
* Move util crate unit tests into a new unit_tests crateSimon Sapin2015-04-071-49/+0
|
* Use usize in test_lru_cache.Ms2ger2015-03-281-1/+1
|
* rm unnecessary old_impl_checkManish Goregaokar2015-03-191-2/+0
|
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-5/+6
|
* Remove uint/int inside `components/util` (partial #4745).Alexandru Cojocaru2015-02-281-8/+8
| | | | This leaves range.rs alone.
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-1/+1
|
* Fix build warnings.Ms2ger2015-02-031-2/+2
|
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-60/+39
|
* Stop using Vec::from_elem.Ms2ger2015-01-191-1/+2
| | | | It is obsolete on Rust master.
* Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-5/+3
|
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-5/+13
|
* layout: Rewrite text and inline fragment handling during flowPatrick Walton2014-10-201-0/+7
| | | | | | | construction to avoid cloning and moving flows so much. Besides amounting to a 5%-10% win on a page with a lot of text, this simplifies and refactors the text layout code.
* Remove unused implementation of MonoCacheEmanuel Rylke2014-10-161-52/+0
|
* Eliminate warningsKeegan McAllister2014-09-201-1/+1
|
* Cargoify servoJack Moffitt2014-09-081-0/+279