servo/components/layout
Nicholas Nethercote edf00a50fc Avoid bloom filter churn.
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-15 21:23:35 -08:00
..
css Fix some warnings in layout. 2015-02-12 18:58:38 +01:00
block.rs Fix some warnings in layout. 2015-02-12 18:58:38 +01: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 Import net as net rather than servo_net. 2015-02-10 12:55:24 +01: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 Avoid bloom filter churn. 2015-02-15 21:23:35 -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