servo/components/layout
bors-servo a452652317 auto merge of #4938 : nnethercote/servo/dont-clone-bloom-filter, r=Ms2ger
When a cached bloom filter is found during traversal, there are two
cases, both of which currently do unnecessary allocations. This patch
avoids these allocations. In the process, it renders correct two
previously-incorrect comments, and moves one of those comments into a
better spot.

While scrolling moderately fast all the way through the "Guardians of
the Galaxy" Wikipedia page, this patch (a) avoids 1.2 million calls to
`clone()` and (b) replaces 111,000 `BloomFilter::new()` calls with
`clear()` calls.
2015-02-16 15:54:48 -07:00
..
css Fix some warnings in layout. 2015-02-12 18:58:38 +01:00
block.rs Support root element having percentage heights in layout. This allows using standard CSS techniques to place a footer at the bottom of the page. 2015-02-16 14:46:19 +10:00
Cargo.toml Companion single Color patch. 2015-02-13 14:49:28 -08:00
construct.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
context.rs Use boxed::into_raw in create_or_get_local_context. 2015-02-12 22:58:08 +01:00
display_list_builder.rs Fix some warnings in layout. 2015-02-12 18:58:38 +01:00
floats.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
flow.rs Fix some warnings in layout. 2015-02-12 18:58:38 +01:00
flow_list.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
flow_ref.rs Opt-in rather than opt-out to unsafe blocks in layout. 2015-02-08 20:03:27 +01:00
fragment.rs Fix some warnings in layout. 2015-02-12 18:58:38 +01:00
incremental.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
inline.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
layout_debug.rs Fix some warnings in layout. 2015-02-12 18:58:38 +01:00
layout_task.rs Fixes background-color calculation for iframes. Fixes #1248 2015-02-16 08:16:18 +10:00
lib.rs Companion single Color patch. 2015-02-13 14:49:28 -08:00
list_item.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
model.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
parallel.rs Opt-in rather than opt-out to unsafe blocks in layout. 2015-02-08 20:03:27 +01:00
sequential.rs self import 2015-01-28 13:46:00 +05:30
table.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
table_caption.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
table_cell.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
table_colgroup.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
table_row.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
table_rowgroup.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
table_wrapper.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
text.rs Make dlist::split use new DList::split_off. 2015-02-12 15:39:08 -08:00
traversal.rs Update a comment about STYLE_BLOOM. 2015-02-16 14:02:07 -08:00
util.rs Companion single Color patch. 2015-02-13 14:49:28 -08:00
wrapper.rs Import msg as msg rather than servo_msg. 2015-02-10 11:40:36 +01:00